<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/usr.bin/openssl/prime.c, branch OPENBSD_6_8_BASE</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_6_8_BASE</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_6_8_BASE'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2019-07-14T03:30:46+00:00</updated>
<entry>
<title>Mark the initialized struct options arrays as both static and const.</title>
<updated>2019-07-14T03:30:46+00:00</updated>
<author>
<name>guenther</name>
<email></email>
</author>
<published>2019-07-14T03:30:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=ce9daaa0080f6ec467441aa485eb3f11ad6fb74a'/>
<id>urn:sha1:ce9daaa0080f6ec467441aa485eb3f11ad6fb74a</id>
<content type='text'>
This moves them from .data to .data.rel.ro

ok deraadt@ inoguchi@
</content>
</entry>
<entry>
<title>Fix BN_is_prime_* calls in openssl(1), the API returns -1 on error.</title>
<updated>2019-01-20T01:59:06+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2019-01-20T01:59:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=4c5de1765a52eb87cbc00cbc6355040071d6cf5b'/>
<id>urn:sha1:4c5de1765a52eb87cbc00cbc6355040071d6cf5b</id>
<content type='text'>
Found thanks to BoringSSL's commit 53409ee3d7595ed37da472bc73b010cd2c8a5ffd
by David Benjamin.

ok djm, jsing
</content>
</entry>
<entry>
<title>Indent labels with a single space so that diff prototypes are more useful.</title>
<updated>2018-02-07T05:47:55+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2018-02-07T05:47:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=6d829832b5c1cafa0527a7c2595749b17b0b8efe'/>
<id>urn:sha1:6d829832b5c1cafa0527a7c2595749b17b0b8efe</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Exit if a pledge call fails in non-interactive mode.</title>
<updated>2015-10-17T15:00:11+00:00</updated>
<author>
<name>doug</name>
<email></email>
</author>
<published>2015-10-17T15:00:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=db101f70294bca3ebe9eaa1f16aaae8cd872d2e4'/>
<id>urn:sha1:db101f70294bca3ebe9eaa1f16aaae8cd872d2e4</id>
<content type='text'>
ok semarie@
</content>
</entry>
<entry>
<title>Initial support for pledges in openssl(1) commands.</title>
<updated>2015-10-10T22:28:51+00:00</updated>
<author>
<name>doug</name>
<email></email>
</author>
<published>2015-10-10T22:28:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=503cf2bd70538bb9cc734a5fd58230b90be4d1d8'/>
<id>urn:sha1:503cf2bd70538bb9cc734a5fd58230b90be4d1d8</id>
<content type='text'>
openssl(1) has two mechanisms for operating: either a single execution
of one command (looking at argv[0] or argv[1]) or as an interactive
session than may execute any number of commands.

We already have a top level pledge that should cover all commands
and that's what interactive mode must continue using.  However, we can
tighten up the pledges when only executing one command.

This is an initial stab at support and may contain regressions.  Most
commands only need "stdio rpath wpath cpath".  The pledges could be
further restricted by evaluating the situation after parsing options.

deraadt@ and beck@ are roughly fine with this approach.
</content>
</entry>
<entry>
<title>Fix the openssl(1) prime command: When checking a decimal number for</title>
<updated>2015-09-12T15:04:06+00:00</updated>
<author>
<name>lteo</name>
<email></email>
</author>
<published>2015-09-12T15:04:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=b6b9746992a205b72af1ef1e0f427cbe3eb1a096'/>
<id>urn:sha1:b6b9746992a205b72af1ef1e0f427cbe3eb1a096</id>
<content type='text'>
primality, do not unnecessarily convert the original decimal number to
hex in the output.

Hex numbers explicitly specified with -hex remain unchanged.

ok beck@ deraadt@ jsing@ miod@
</content>
</entry>
<entry>
<title>Remove all duplicate prototypes for *_main functions (these are already</title>
<updated>2015-08-22T16:36:05+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2015-08-22T16:36:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=b52f06ae6cb673d9e72cbe3cc65f7c091bc9bab8'/>
<id>urn:sha1:b52f06ae6cb673d9e72cbe3cc65f7c091bc9bab8</id>
<content type='text'>
provided by progs.h). Also, move the FUNCTION type (and flags) into
openssl.c since that is the only place of use. Lastly, remove pointless
'extern' from the prototypes and use char **argv instead of char *argv[]
(the former is used elsewhere).

ok deraadt@ doug@
</content>
</entry>
<entry>
<title>Enable building with -DOPENSSL_NO_DEPRECATED.</title>
<updated>2015-02-11T03:19:37+00:00</updated>
<author>
<name>doug</name>
<email></email>
</author>
<published>2015-02-11T03:19:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=e816a1ec1d4411707051912b945e8eab7a5a94e8'/>
<id>urn:sha1:e816a1ec1d4411707051912b945e8eab7a5a94e8</id>
<content type='text'>
If you didn't enable deprecated code, there were missing err.h and
bn.h includes.  This commit allows building with or without deprecated
code.

This was not derived from an OpenSSL commit.  However, they recently
enabled OPENSSL_NO_DEPRECATED in git and fixed these header problems
in a different way.

Verified with clang that this only changes line numbers in the generated
asm.

ok miod@
</content>
</entry>
<entry>
<title>Implement more thorough error checks:</title>
<updated>2015-01-13T03:42:36+00:00</updated>
<author>
<name>lteo</name>
<email></email>
</author>
<published>2015-01-13T03:42:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=795d83c9c4201d149823ca18860fac61d5dc8b57'/>
<id>urn:sha1:795d83c9c4201d149823ca18860fac61d5dc8b57</id>
<content type='text'>
- Check the return value of every relevant function call.

- If BIO_new() returns NULL instead of a valid BIO, do not attempt to
  blindly use the NULL value as a BIO throughout the rest of the code.

- Ensure that bio_out is freed by BIO_free_all() at the end of all
  error paths.

ok doug@
</content>
</entry>
<entry>
<title>Provide a mechanism for option parsing to return the number of arguments</title>
<updated>2014-12-28T15:48:52+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2014-12-28T15:48:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=76b7ca2dcad10fae07456979e5191efa7f517018'/>
<id>urn:sha1:76b7ca2dcad10fae07456979e5191efa7f517018</id>
<content type='text'>
that it has consumed. This allows for the handling of multiple unnamed
arguments, including lists of filenames.
</content>
</entry>
</feed>
