<feed xmlns='http://www.w3.org/2005/Atom'>
<title>otp.git/lib/crypto/c_src, branch OTP_R16B03</title>
<subtitle>Mirror of Erlang/OTP repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/'/>
<entry>
<title>Fix some uninitialized pointers in crypto</title>
<updated>2013-11-21T20:36:19+00:00</updated>
<author>
<name>Anthony Ramine</name>
<email>n.oxyde@gmail.com</email>
</author>
<published>2013-11-21T20:34:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=5fec8527e925f4a6da02d560a9afbbf39912747c'/>
<id>5fec8527e925f4a6da02d560a9afbbf39912747c</id>
<content type='text'>
crypto.c:2748:9: warning: variable 'bn_prime' is used uninitialized whenever '||' condition is true [-Wsometimes-uninitialized]
    if (!get_bn_from_bin(env, argv[0], &amp;bn_verifier)
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
crypto.c:2758:6: note: uninitialized use occurs here
        if (bn_prime) BN_free(bn_prime);
            ^~~~~~~~
crypto.c:2748:9: note: remove the '||' if its condition is always false
    if (!get_bn_from_bin(env, argv[0], &amp;bn_verifier)
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
crypto.c:2748:9: warning: variable 'bn_prime' is used uninitialized whenever '||' condition is true [-Wsometimes-uninitialized]
    if (!get_bn_from_bin(env, argv[0], &amp;bn_verifier)
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
crypto.c:2758:6: note: uninitialized use occurs here
        if (bn_prime) BN_free(bn_prime);
            ^~~~~~~~
crypto.c:2748:9: note: remove the '||' if its condition is always false
    if (!get_bn_from_bin(env, argv[0], &amp;bn_verifier)
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
</pre>
</div>
</content>
</entry>
<entry>
<title>crypto: Supress some false positives from valgrind</title>
<updated>2013-06-12T16:02:43+00:00</updated>
<author>
<name>Sverker Eriksson</name>
<email>sverker@erlang.org</email>
</author>
<published>2013-06-12T08:46:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=797721617d11cfab32dbde9eea68c7a7353c8efe'/>
<id>797721617d11cfab32dbde9eea68c7a7353c8efe</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>crypto: Refactor remove resource for EC_KEY</title>
<updated>2013-06-12T14:23:43+00:00</updated>
<author>
<name>Sverker Eriksson</name>
<email>sverker@erlang.org</email>
</author>
<published>2013-06-12T13:59:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=ec59a1357bbbaf8698b9073a190215b703ccc538'/>
<id>ec59a1357bbbaf8698b9073a190215b703ccc538</id>
<content type='text'>
The resource was not needed as it was never kept between external
crypto calls.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The resource was not needed as it was never kept between external
crypto calls.
</pre>
</div>
</content>
</entry>
<entry>
<title>crypto: Fix some compiler warnings</title>
<updated>2013-06-12T14:03:19+00:00</updated>
<author>
<name>Sverker Eriksson</name>
<email>sverker@erlang.org</email>
</author>
<published>2013-06-12T13:54:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=80e417da3b48af2140652baf169db27e2feefd98'/>
<id>80e417da3b48af2140652baf169db27e2feefd98</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>crypto: Fix bug with takover of EC resource type</title>
<updated>2013-06-11T14:29:25+00:00</updated>
<author>
<name>Sverker Eriksson</name>
<email>sverker@erlang.org</email>
</author>
<published>2013-06-11T14:28:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=6b1147bd90960772257e12ab6fa66ec9aaacc48a'/>
<id>6b1147bd90960772257e12ab6fa66ec9aaacc48a</id>
<content type='text'>
enif_open_resource_type() must be called even during repeated loading
of same library. Otherwise the resource type will be deallocated
when the old module instance is purged.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
enif_open_resource_type() must be called even during repeated loading
of same library. Otherwise the resource type will be deallocated
when the old module instance is purged.
</pre>
</div>
</content>
</entry>
<entry>
<title>Teach crypto.c not to call enif_compute_timeslice with 0</title>
<updated>2013-06-07T15:04:47+00:00</updated>
<author>
<name>Patrik Nyblom</name>
<email>pan@erlang.org</email>
</author>
<published>2013-06-07T15:04:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=c0c3cc2b516408b673db3202815d52c39d91451e'/>
<id>c0c3cc2b516408b673db3202815d52c39d91451e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add enif_consume_timeslice to appropriate crypto NIFs</title>
<updated>2013-06-05T13:06:55+00:00</updated>
<author>
<name>Patrik Nyblom</name>
<email>pan@erlang.org</email>
</author>
<published>2013-06-05T13:06:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=dcbb1d2d2e07da8f3343b47eba1aeb1dfed70c7d'/>
<id>dcbb1d2d2e07da8f3343b47eba1aeb1dfed70c7d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>crypto: Avoid big binaries in nifs</title>
<updated>2013-06-04T13:47:48+00:00</updated>
<author>
<name>Ingela Anderton Andin</name>
<email>ingela@erlang.org</email>
</author>
<published>2013-06-03T06:54:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=a86ba4a66d8003c978b91ecc97b273571ba8604c'/>
<id>a86ba4a66d8003c978b91ecc97b273571ba8604c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>crypto, public_key &amp; ssl: Make more functions accept integer keys</title>
<updated>2013-05-24T21:30:37+00:00</updated>
<author>
<name>Sverker Eriksson</name>
<email>sverker@erlang.org</email>
</author>
<published>2013-05-16T18:08:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=6518a54dbbbadb01f546e0e8c3dd3c3dfdf93e13'/>
<id>6518a54dbbbadb01f546e0e8c3dd3c3dfdf93e13</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>crypto: Remove debug printouts</title>
<updated>2013-05-08T08:39:22+00:00</updated>
<author>
<name>Sverker Eriksson</name>
<email>sverker@erlang.org</email>
</author>
<published>2013-05-03T13:05:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=cadab5a955d2db70d42d9e8e9c9658ad3a46d472'/>
<id>cadab5a955d2db70d42d9e8e9c9658ad3a46d472</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
