<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openssl/apps/dhparam.c, branch OpenSSL_1_1_1e</title>
<subtitle>TLS/SSL and crypto library.</subtitle>
<id>http://git.bktus.com/gpgfrontend/openssl/atom?h=OpenSSL_1_1_1e</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/openssl/atom?h=OpenSSL_1_1_1e'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/'/>
<updated>2018-07-29T21:34:32Z</updated>
<entry>
<title>apps/dsaparam.c generates code that is intended to be pasted or included</title>
<updated>2018-07-29T21:34:32Z</updated>
<author>
<name>Beat Bolli</name>
<email>dev@drbeat.li</email>
</author>
<published>2018-07-29T21:34:32Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=201b305a2409d9eb13b5e4bfbd4967e04e155a60'/>
<id>urn:sha1:201b305a2409d9eb13b5e4bfbd4967e04e155a60</id>
<content type='text'>
into an existing source file: the function is static, and the code
doesn't include dsa.h.  Match the generated C source style of dsaparam.

Adjust apps/dhparam.c to match, and rename the BIGNUMs to their more
usual single-letter names.  Add an error return in the generated C source.

both: simplify the callback function

Signed-off-by: Beat Bolli &lt;dev@drbeat.li&gt;

Reviewed-by: Rich Salz &lt;rsalz@openssl.org&gt;
Reviewed-by: Paul Dale &lt;paul.dale@oracle.com&gt;
(Merged from https://github.com/openssl/openssl/pull/6797)
</content>
</entry>
<entry>
<title>Fix late opening of output file</title>
<updated>2018-04-23T08:51:36Z</updated>
<author>
<name>Richard Levitte</name>
<email>levitte@openssl.org</email>
</author>
<published>2018-04-23T08:26:05Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=10b37541dc7f27b0ca74102970691ce4636cc0bd'/>
<id>urn:sha1:10b37541dc7f27b0ca74102970691ce4636cc0bd</id>
<content type='text'>
For 'openssl dhparams', the output file was opened after calculations
were made, which is a waste of cycles and time if the output file
turns out not to be writable.

Fixes #3404

Reviewed-by: Matt Caswell &lt;matt@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/6051)
</content>
</entry>
<entry>
<title>Update copyright year</title>
<updated>2018-02-13T13:59:25Z</updated>
<author>
<name>Matt Caswell</name>
<email>matt@openssl.org</email>
</author>
<published>2018-02-13T12:51:29Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=6738bf1417289a14758590fca5a26b62c9b2c0be'/>
<id>urn:sha1:6738bf1417289a14758590fca5a26b62c9b2c0be</id>
<content type='text'>
Reviewed-by: Richard Levitte &lt;levitte@openssl.org&gt;
</content>
</entry>
<entry>
<title>apps: Don't include progs.h in apps.h</title>
<updated>2018-01-31T22:45:12Z</updated>
<author>
<name>Richard Levitte</name>
<email>levitte@openssl.org</email>
</author>
<published>2018-01-31T10:13:10Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=dab2cd68e7cc304c9b1a4e7cee18a98711771a53'/>
<id>urn:sha1:dab2cd68e7cc304c9b1a4e7cee18a98711771a53</id>
<content type='text'>
Everything in apps includes apps.h, because that one declares apps
internal library routines.  However, progs.h doesn't declare library
routines, but rather the main commands and their options, and there's
no reason why the library modules should include it.

So, remove the inclusion of progs.h from apps.h and add that inclusion
in all command source files.

Reviewed-by: Rich Salz &lt;rsalz@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/5222)
</content>
</entry>
<entry>
<title>Consistent formatting for sizeof(foo)</title>
<updated>2017-12-08T00:11:49Z</updated>
<author>
<name>Rich Salz</name>
<email>rsalz@openssl.org</email>
</author>
<published>2017-12-07T18:39:34Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=cbe2964821bb063f61ed2544cfce196ec1c0d62b'/>
<id>urn:sha1:cbe2964821bb063f61ed2544cfce196ec1c0d62b</id>
<content type='text'>
Reviewed-by: Richard Levitte &lt;levitte@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/4872)
</content>
</entry>
<entry>
<title>Remove parentheses of return.</title>
<updated>2017-10-18T15:05:06Z</updated>
<author>
<name>KaoruToda</name>
<email>kunnpuu@gmail.com</email>
</author>
<published>2017-10-17T14:04:09Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=26a7d938c9bf932a55cb5e4e02abb48fe395c5cd'/>
<id>urn:sha1:26a7d938c9bf932a55cb5e4e02abb48fe395c5cd</id>
<content type='text'>
Since return is inconsistent, I removed unnecessary parentheses and
unified them.

Reviewed-by: Rich Salz &lt;rsalz@openssl.org&gt;
Reviewed-by: Matt Caswell &lt;matt@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/4541)
</content>
</entry>
<entry>
<title>Standardize apps use of -rand, etc.</title>
<updated>2017-07-16T23:20:45Z</updated>
<author>
<name>Rich Salz</name>
<email>rsalz@openssl.org</email>
</author>
<published>2017-07-05T14:58:48Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=3ee1eac27a2e3120fbdc60e12db091c082b8de21'/>
<id>urn:sha1:3ee1eac27a2e3120fbdc60e12db091c082b8de21</id>
<content type='text'>
Standardized the -rand flag and added a new one:
    -rand file...
            Always reads the specified files
    -writerand file
            Always writes to the file on exit

For apps that use a config file, the RANDFILE config parameter reads
the file at startup (to seed the RNG) and write to it on exit if
the -writerand flag isn't used.

Ensured that every app that took -rand also took -writerand, and
made sure all of that agreed with all the documentation.

Fix error reporting in write_file and -rand

Reviewed-by: Paul Dale &lt;paul.dale@oracle.com&gt;
(Merged from https://github.com/openssl/openssl/pull/3862)
</content>
</entry>
<entry>
<title>Clean up a bundle of codingstyle stuff in apps directory</title>
<updated>2017-06-12T20:11:05Z</updated>
<author>
<name>Paul Yang</name>
<email>paulyang.inf@gmail.com</email>
</author>
<published>2017-06-12T17:24:02Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=2234212c3dde887e0b7fa08277d035cd132e2cce'/>
<id>urn:sha1:2234212c3dde887e0b7fa08277d035cd132e2cce</id>
<content type='text'>
Mostly braces and NULL pointer check and also copyright year bump

Signed-off-by: Paul Yang &lt;paulyang.inf@gmail.com&gt;

Reviewed-by: Kurt Roeckx &lt;kurt@openssl.org&gt;
Reviewed-by: Rich Salz &lt;rsalz@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/3657)</content>
</entry>
<entry>
<title>Ensure dhparams can handle X9.42 params in DER</title>
<updated>2017-04-03T19:04:06Z</updated>
<author>
<name>Matt Caswell</name>
<email>matt@openssl.org</email>
</author>
<published>2017-04-03T11:42:58Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=18d20b5eb66fda0ada2e65c2b19aeae75827bdf8'/>
<id>urn:sha1:18d20b5eb66fda0ada2e65c2b19aeae75827bdf8</id>
<content type='text'>
dhparams correctly handles X9.42 params in PEM format. However it failed
to correctly processes them when reading/writing DER format.

Fixes #3102

Reviewed-by: Rich Salz &lt;rsalz@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/3111)</content>
</entry>
<entry>
<title>If an engine comes up explicitely, it must also come down explicitely</title>
<updated>2016-10-19T15:44:08Z</updated>
<author>
<name>Richard Levitte</name>
<email>levitte@openssl.org</email>
</author>
<published>2016-09-28T21:39:18Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=dd1abd4462e4e4fa84b8f8de2ec70375f9b0e191'/>
<id>urn:sha1:dd1abd4462e4e4fa84b8f8de2ec70375f9b0e191</id>
<content type='text'>
In apps/apps.c, one can set up an engine with setup_engine().
However, we freed the structural reference immediately, which means
that for engines that don't already have a structural reference
somewhere else (because it's a built in engine), we end up returning
an invalid reference.

Instead, the function release_engine() is added, and called at the end
of the routines that call setup_engine().

Reviewed-by: Rich Salz &lt;rsalz@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/1643)</content>
</entry>
</feed>
