<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openssl/crypto/objects/obj_lib.c, branch openssl-3.3.5</title>
<subtitle>TLS/SSL and crypto library.</subtitle>
<id>http://git.bktus.com/gpgfrontend/openssl/atom?h=openssl-3.3.5</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/openssl/atom?h=openssl-3.3.5'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/'/>
<updated>2022-10-05T12:02:03Z</updated>
<entry>
<title>Stop raising ERR_R_MALLOC_FAILURE in most places</title>
<updated>2022-10-05T12:02:03Z</updated>
<author>
<name>Richard Levitte</name>
<email>levitte@openssl.org</email>
</author>
<published>2022-09-29T11:57:34Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=e077455e9e57ed4ee4676996b4a9aa11df6327a6'/>
<id>urn:sha1:e077455e9e57ed4ee4676996b4a9aa11df6327a6</id>
<content type='text'>
Since OPENSSL_malloc() and friends report ERR_R_MALLOC_FAILURE, and
at least handle the file name and line number they are called from,
there's no need to report ERR_R_MALLOC_FAILURE where they are called
directly, or when SSLfatal() and RLAYERfatal() is used, the reason
`ERR_R_MALLOC_FAILURE` is changed to `ERR_R_CRYPTO_LIB`.

There were a number of places where `ERR_R_MALLOC_FAILURE` was reported
even though it was a function from a different sub-system that was
called.  Those places are changed to report ERR_R_{lib}_LIB, where
{lib} is the name of that sub-system.
Some of them are tricky to get right, as we have a lot of functions
that belong in the ASN1 sub-system, and all the `sk_` calls or from
the CRYPTO sub-system.

Some extra adaptation was necessary where there were custom OPENSSL_malloc()
wrappers, and some bugs are fixed alongside these changes.

Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
Reviewed-by: Hugo Landau &lt;hlandau@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/19301)
</content>
</entry>
<entry>
<title>Update copyright year</title>
<updated>2020-11-26T14:18:57Z</updated>
<author>
<name>Matt Caswell</name>
<email>matt@openssl.org</email>
</author>
<published>2020-11-26T14:18:57Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=605856d72cbd4720ad9ccb20c8fd5afbee2ad1a4'/>
<id>urn:sha1:605856d72cbd4720ad9ccb20c8fd5afbee2ad1a4</id>
<content type='text'>
Reviewed-by: Tomas Mraz &lt;tmraz@fedoraproject.org&gt;
(Merged from https://github.com/openssl/openssl/pull/13533)
</content>
</entry>
<entry>
<title>Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call</title>
<updated>2020-11-13T08:35:02Z</updated>
<author>
<name>Richard Levitte</name>
<email>levitte@openssl.org</email>
</author>
<published>2020-11-04T11:23:19Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=9311d0c471ca2eaa259e8c1bbbeb7c46394c7ba2'/>
<id>urn:sha1:9311d0c471ca2eaa259e8c1bbbeb7c46394c7ba2</id>
<content type='text'>
This includes error reporting for libcrypto sub-libraries in surprising
places.

This was done using util/err-to-raise

Reviewed-by: Paul Dale &lt;paul.dale@oracle.com&gt;
(Merged from https://github.com/openssl/openssl/pull/13318)
</content>
</entry>
<entry>
<title>Reorganize private crypto header files</title>
<updated>2019-09-28T18:26:34Z</updated>
<author>
<name>Dr. Matthias St. Pierre</name>
<email>Matthias.St.Pierre@ncp-e.com</email>
</author>
<published>2019-09-27T22:45:33Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=25f2138b0ab54a65ba713c093ca3734d88f7cb51'/>
<id>urn:sha1:25f2138b0ab54a65ba713c093ca3734d88f7cb51</id>
<content type='text'>
Currently, there are two different directories which contain internal
header files of libcrypto which are meant to be shared internally:

While header files in 'include/internal' are intended to be shared
between libcrypto and libssl, the files in 'crypto/include/internal'
are intended to be shared inside libcrypto only.

To make things complicated, the include search path is set up in such
a way that the directive #include "internal/file.h" could refer to
a file in either of these two directoroes. This makes it necessary
in some cases to add a '_int.h' suffix to some files to resolve this
ambiguity:

  #include "internal/file.h"      # located in 'include/internal'
  #include "internal/file_int.h"  # located in 'crypto/include/internal'

This commit moves the private crypto headers from

  'crypto/include/internal'  to  'include/crypto'

As a result, the include directives become unambiguous

  #include "internal/file.h"       # located in 'include/internal'
  #include "crypto/file.h"         # located in 'include/crypto'

hence the superfluous '_int.h' suffixes can be stripped.

The files 'store_int.h' and 'store.h' need to be treated specially;
they are joined into a single file.

Reviewed-by: Richard Levitte &lt;levitte@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/9333)
</content>
</entry>
<entry>
<title>Following the license change, modify the boilerplates in crypto/objects/</title>
<updated>2018-12-06T14:07:30Z</updated>
<author>
<name>Richard Levitte</name>
<email>levitte@openssl.org</email>
</author>
<published>2018-12-06T12:46:38Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=3f870de74ed206631a762a648551adf9c41253a0'/>
<id>urn:sha1:3f870de74ed206631a762a648551adf9c41253a0</id>
<content type='text'>
[skip ci]

Reviewed-by: Matt Caswell &lt;matt@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/7804)
</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>Remove unnecessary #include &lt;openssl/lhash.h&gt; directives.</title>
<updated>2017-09-28T21:38:56Z</updated>
<author>
<name>Pauli</name>
<email>paul.dale@oracle.com</email>
</author>
<published>2017-09-28T21:27:04Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=f32b0abe26285c6ba2ff258512c08e8f2fbcbdc9'/>
<id>urn:sha1:f32b0abe26285c6ba2ff258512c08e8f2fbcbdc9</id>
<content type='text'>
Reviewed-by: Rich Salz &lt;rsalz@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/4431)
</content>
</entry>
<entry>
<title>OID code tidy up.</title>
<updated>2016-05-18T14:33:11Z</updated>
<author>
<name>Dr. Stephen Henson</name>
<email>steve@openssl.org</email>
</author>
<published>2016-05-18T13:32:16Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=52832e470f5fe8c222249ae5b539aeb3c74cdb25'/>
<id>urn:sha1:52832e470f5fe8c222249ae5b539aeb3c74cdb25</id>
<content type='text'>
Tidy up and simplify OBJ_dup() and OBJ_create().

Sanity check added OIDs: don't allow duplicates.

Reviewed-by: Richard Levitte &lt;levitte@openssl.org&gt;
</content>
</entry>
<entry>
<title>Copyright consolidation 04/10</title>
<updated>2016-05-17T18:24:46Z</updated>
<author>
<name>Rich Salz</name>
<email>rsalz@openssl.org</email>
</author>
<published>2016-05-17T18:24:46Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=6286757141a8c6e14d647ec733634ae0c83d9887'/>
<id>urn:sha1:6286757141a8c6e14d647ec733634ae0c83d9887</id>
<content type='text'>
Reviewed-by: Richard Levitte &lt;levitte@openssl.org&gt;
</content>
</entry>
<entry>
<title>Remove /* foo.c */ comments</title>
<updated>2016-01-26T21:40:43Z</updated>
<author>
<name>Rich Salz</name>
<email>rsalz@akamai.com</email>
</author>
<published>2015-12-18T17:57:23Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=349807608f31b20af01a342d0072bb92e0b036e2'/>
<id>urn:sha1:349807608f31b20af01a342d0072bb92e0b036e2</id>
<content type='text'>
This was done by the following
        find . -name '*.[ch]' | /tmp/pl
where /tmp/pl is the following three-line script:
        print unless $. == 1 &amp;&amp; m@/\* .*\.[ch] \*/@;
        close ARGV if eof; # Close file to reset $.

And then some hand-editing of other files.

Reviewed-by: Viktor Dukhovni &lt;viktor@openssl.org&gt;
</content>
</entry>
</feed>
