History log of /openbsd-current/lib/libcrypto/pkcs12/p12_add.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.25 02-Mar-2024 tb

Remove more PBE stuff from the public API

This is still needed internally for CMS and its predecessors. This
removal will enable disentangling some of its innards.

ok jsing


# 1.24 02-Mar-2024 tb

Remove a lot of PKCS12 garbage from the public API

PKCS12 is a hot mess. Please participate in the survey at the end of
https://www.cs.auckland.ac.nz/~pgut001/pubs/pfx.html to increase its
credibility and unanimity.

ok jsing


# 1.23 25-Jan-2024 tb

Fix various NULL dereferences in PKCS #12

The PKCS #7 ContentInfo has a mandatory contentType, but the content itself
is OPTIONAL. Various unpacking API assumed presence of the content type is
enough to access members of the content, resulting in crashes.

Reported by Bahaa Naamneh on libressl-security, many thanks

ok jsing


Revision tags: OPENBSD_7_3_BASE OPENBSD_7_4_BASE
# 1.22 16-Feb-2023 tb

libressl *_namespace.h: adjust *_ALIAS() to require a semicolon

LCRYPTO_ALIAS() and LSSL_ALIAS() contained a trailing semicolon.
This does not conform to style(9), breaks editors and ctags and
(most importantly) my workflow. Fix this by neutering them with
asm("") so that -Wpedantic doesn't complain. There's precedent
in libc's namespace.h

fix suggested by & ok jsing


# 1.21 12-Nov-2022 beck

Hide symbols in libcrypto/pkcs12

ok jsing@


Revision tags: OPENBSD_7_2_BASE
# 1.20 11-Sep-2022 tb

Make structs in pkcs12.h opaque

ok jsing


# 1.19 20-Aug-2022 tb

Add an empty pkcs12_local.h and include it where it will soon be needed.


# 1.18 03-Aug-2022 tb

Prepare to provide PKCS12 accessors

In order to be able to make pkcs12/ opaque, we need an entire family of
accessors. These are in a particularly nasty tangle since this was done
in about a dozen steps while sprinkling const, renaming functions, etc.
The public API also adds backward compat macros for functions that were
in the tree for half a day and then renamed. Of course some of them got
picked up by some ports.

Some of the gruesome hacks in here will go away with the next bump, but
that doesn't mean that the pkcs12 directory will be prettier afterward.

ok jsing


Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE
# 1.17 13-May-2018 tb

Add const to the argument of PKCS12_pack_authsafes(3).

tested in a bulk by sthen
ok beck, jsing


# 1.16 13-May-2018 tb

Add const qualifier to the PKCS12_SAFEBAG argument of
PKCS12_decrypt_skey(3).

tested in a bulk by sthen
ok beck, jsing


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE
# 1.15 29-Jan-2017 beck

Send the function codes from the error functions to the bit bucket,
as was done earlier in libssl. Thanks inoguchi@ for noticing
libssl had more reacharounds into this.
ok jsing@ inoguchi@


# 1.14 30-Dec-2016 jsing

Expand ASN1_ITEM_rptr macros - no change in generated assembly.


# 1.13 30-Sep-2015 jsing

Replace M_ASN1_OCTET_STRING_(free|new) with ASN1_OCTET_STRING_(free|new).


# 1.12 14-Feb-2015 miod

Try and fix a bunch of memory leaks upon error;
ok tedu@ about 7 months ago and I was sitting upon this diff for no reason


# 1.11 11-Jul-2014 jsing

Only import cryptlib.h in the four source files that actually need it.
Remove the openssl public includes from cryptlib.h and add a small number
of includes into the source files that actually need them. While here,
also sort/group/tidy the includes.

ok beck@ miod@


# 1.10 08-Jul-2014 jsing

KNF.


# 1.9 12-Jun-2014 deraadt

tags as requested by miod and tedu


# 1.8 01-Oct-2010 djm

resolve conflicts, fix local changes


# 1.7 09-Jan-2009 djm

resolve conflicts


# 1.6 06-Sep-2008 djm

resolve conflicts


# 1.5 27-Jun-2006 djm

resolve conflicts


# 1.4 15-May-2002 beck

OpenSSL 0.9.7 stable 2002 05 08 merge


# 1.3 15-Dec-2000 beck

openssl-engine-0.9.6 merge


# 1.2 19-Mar-2000 beck

OpenSSL 0.9.5 merge

*warning* this bumps shared lib minors for libssl and libcrypto from 2.1 to 2.2
if you are using the ssl26 packages for ssh and other things to work you will
need to get new ones (see ~beck/libsslsnap/<arch>) on cvs or ~beck/src-patent.tar.gz on cvs


# 1.1 29-Sep-1999 beck

branches: 1.1.1;
new files for OpenSSL 0.9.4


# 1.23 25-Jan-2024 tb

Fix various NULL dereferences in PKCS #12

The PKCS #7 ContentInfo has a mandatory contentType, but the content itself
is OPTIONAL. Various unpacking API assumed presence of the content type is
enough to access members of the content, resulting in crashes.

Reported by Bahaa Naamneh on libressl-security, many thanks

ok jsing


Revision tags: OPENBSD_7_3_BASE OPENBSD_7_4_BASE
# 1.22 16-Feb-2023 tb

libressl *_namespace.h: adjust *_ALIAS() to require a semicolon

LCRYPTO_ALIAS() and LSSL_ALIAS() contained a trailing semicolon.
This does not conform to style(9), breaks editors and ctags and
(most importantly) my workflow. Fix this by neutering them with
asm("") so that -Wpedantic doesn't complain. There's precedent
in libc's namespace.h

fix suggested by & ok jsing


# 1.21 12-Nov-2022 beck

Hide symbols in libcrypto/pkcs12

ok jsing@


Revision tags: OPENBSD_7_2_BASE
# 1.20 11-Sep-2022 tb

Make structs in pkcs12.h opaque

ok jsing


# 1.19 20-Aug-2022 tb

Add an empty pkcs12_local.h and include it where it will soon be needed.


# 1.18 03-Aug-2022 tb

Prepare to provide PKCS12 accessors

In order to be able to make pkcs12/ opaque, we need an entire family of
accessors. These are in a particularly nasty tangle since this was done
in about a dozen steps while sprinkling const, renaming functions, etc.
The public API also adds backward compat macros for functions that were
in the tree for half a day and then renamed. Of course some of them got
picked up by some ports.

Some of the gruesome hacks in here will go away with the next bump, but
that doesn't mean that the pkcs12 directory will be prettier afterward.

ok jsing


Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE
# 1.17 13-May-2018 tb

Add const to the argument of PKCS12_pack_authsafes(3).

tested in a bulk by sthen
ok beck, jsing


# 1.16 13-May-2018 tb

Add const qualifier to the PKCS12_SAFEBAG argument of
PKCS12_decrypt_skey(3).

tested in a bulk by sthen
ok beck, jsing


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE
# 1.15 29-Jan-2017 beck

Send the function codes from the error functions to the bit bucket,
as was done earlier in libssl. Thanks inoguchi@ for noticing
libssl had more reacharounds into this.
ok jsing@ inoguchi@


# 1.14 30-Dec-2016 jsing

Expand ASN1_ITEM_rptr macros - no change in generated assembly.


# 1.13 30-Sep-2015 jsing

Replace M_ASN1_OCTET_STRING_(free|new) with ASN1_OCTET_STRING_(free|new).


# 1.12 14-Feb-2015 miod

Try and fix a bunch of memory leaks upon error;
ok tedu@ about 7 months ago and I was sitting upon this diff for no reason


# 1.11 11-Jul-2014 jsing

Only import cryptlib.h in the four source files that actually need it.
Remove the openssl public includes from cryptlib.h and add a small number
of includes into the source files that actually need them. While here,
also sort/group/tidy the includes.

ok beck@ miod@


# 1.10 08-Jul-2014 jsing

KNF.


# 1.9 12-Jun-2014 deraadt

tags as requested by miod and tedu


# 1.8 01-Oct-2010 djm

resolve conflicts, fix local changes


# 1.7 09-Jan-2009 djm

resolve conflicts


# 1.6 06-Sep-2008 djm

resolve conflicts


# 1.5 27-Jun-2006 djm

resolve conflicts


# 1.4 15-May-2002 beck

OpenSSL 0.9.7 stable 2002 05 08 merge


# 1.3 15-Dec-2000 beck

openssl-engine-0.9.6 merge


# 1.2 19-Mar-2000 beck

OpenSSL 0.9.5 merge

*warning* this bumps shared lib minors for libssl and libcrypto from 2.1 to 2.2
if you are using the ssl26 packages for ssh and other things to work you will
need to get new ones (see ~beck/libsslsnap/<arch>) on cvs or ~beck/src-patent.tar.gz on cvs


# 1.1 29-Sep-1999 beck

branches: 1.1.1;
new files for OpenSSL 0.9.4


# 1.22 16-Feb-2023 tb

libressl *_namespace.h: adjust *_ALIAS() to require a semicolon

LCRYPTO_ALIAS() and LSSL_ALIAS() contained a trailing semicolon.
This does not conform to style(9), breaks editors and ctags and
(most importantly) my workflow. Fix this by neutering them with
asm("") so that -Wpedantic doesn't complain. There's precedent
in libc's namespace.h

fix suggested by & ok jsing


# 1.21 12-Nov-2022 beck

Hide symbols in libcrypto/pkcs12

ok jsing@


Revision tags: OPENBSD_7_2_BASE
# 1.20 11-Sep-2022 tb

Make structs in pkcs12.h opaque

ok jsing


# 1.19 20-Aug-2022 tb

Add an empty pkcs12_local.h and include it where it will soon be needed.


# 1.18 03-Aug-2022 tb

Prepare to provide PKCS12 accessors

In order to be able to make pkcs12/ opaque, we need an entire family of
accessors. These are in a particularly nasty tangle since this was done
in about a dozen steps while sprinkling const, renaming functions, etc.
The public API also adds backward compat macros for functions that were
in the tree for half a day and then renamed. Of course some of them got
picked up by some ports.

Some of the gruesome hacks in here will go away with the next bump, but
that doesn't mean that the pkcs12 directory will be prettier afterward.

ok jsing


Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE
# 1.17 13-May-2018 tb

Add const to the argument of PKCS12_pack_authsafes(3).

tested in a bulk by sthen
ok beck, jsing


# 1.16 13-May-2018 tb

Add const qualifier to the PKCS12_SAFEBAG argument of
PKCS12_decrypt_skey(3).

tested in a bulk by sthen
ok beck, jsing


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE
# 1.15 29-Jan-2017 beck

Send the function codes from the error functions to the bit bucket,
as was done earlier in libssl. Thanks inoguchi@ for noticing
libssl had more reacharounds into this.
ok jsing@ inoguchi@


# 1.14 30-Dec-2016 jsing

Expand ASN1_ITEM_rptr macros - no change in generated assembly.


# 1.13 30-Sep-2015 jsing

Replace M_ASN1_OCTET_STRING_(free|new) with ASN1_OCTET_STRING_(free|new).


# 1.12 14-Feb-2015 miod

Try and fix a bunch of memory leaks upon error;
ok tedu@ about 7 months ago and I was sitting upon this diff for no reason


# 1.11 11-Jul-2014 jsing

Only import cryptlib.h in the four source files that actually need it.
Remove the openssl public includes from cryptlib.h and add a small number
of includes into the source files that actually need them. While here,
also sort/group/tidy the includes.

ok beck@ miod@


# 1.10 08-Jul-2014 jsing

KNF.


# 1.9 12-Jun-2014 deraadt

tags as requested by miod and tedu


# 1.8 01-Oct-2010 djm

resolve conflicts, fix local changes


# 1.7 09-Jan-2009 djm

resolve conflicts


# 1.6 06-Sep-2008 djm

resolve conflicts


# 1.5 27-Jun-2006 djm

resolve conflicts


# 1.4 15-May-2002 beck

OpenSSL 0.9.7 stable 2002 05 08 merge


# 1.3 15-Dec-2000 beck

openssl-engine-0.9.6 merge


# 1.2 19-Mar-2000 beck

OpenSSL 0.9.5 merge

*warning* this bumps shared lib minors for libssl and libcrypto from 2.1 to 2.2
if you are using the ssl26 packages for ssh and other things to work you will
need to get new ones (see ~beck/libsslsnap/<arch>) on cvs or ~beck/src-patent.tar.gz on cvs


# 1.1 29-Sep-1999 beck

branches: 1.1.1;
new files for OpenSSL 0.9.4


# 1.21 12-Nov-2022 beck

Hide symbols in libcrypto/pkcs12

ok jsing@


Revision tags: OPENBSD_7_2_BASE
# 1.20 11-Sep-2022 tb

Make structs in pkcs12.h opaque

ok jsing


# 1.19 20-Aug-2022 tb

Add an empty pkcs12_local.h and include it where it will soon be needed.


# 1.18 03-Aug-2022 tb

Prepare to provide PKCS12 accessors

In order to be able to make pkcs12/ opaque, we need an entire family of
accessors. These are in a particularly nasty tangle since this was done
in about a dozen steps while sprinkling const, renaming functions, etc.
The public API also adds backward compat macros for functions that were
in the tree for half a day and then renamed. Of course some of them got
picked up by some ports.

Some of the gruesome hacks in here will go away with the next bump, but
that doesn't mean that the pkcs12 directory will be prettier afterward.

ok jsing


Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE
# 1.17 13-May-2018 tb

Add const to the argument of PKCS12_pack_authsafes(3).

tested in a bulk by sthen
ok beck, jsing


# 1.16 13-May-2018 tb

Add const qualifier to the PKCS12_SAFEBAG argument of
PKCS12_decrypt_skey(3).

tested in a bulk by sthen
ok beck, jsing


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE
# 1.15 29-Jan-2017 beck

Send the function codes from the error functions to the bit bucket,
as was done earlier in libssl. Thanks inoguchi@ for noticing
libssl had more reacharounds into this.
ok jsing@ inoguchi@


# 1.14 30-Dec-2016 jsing

Expand ASN1_ITEM_rptr macros - no change in generated assembly.


# 1.13 30-Sep-2015 jsing

Replace M_ASN1_OCTET_STRING_(free|new) with ASN1_OCTET_STRING_(free|new).


# 1.12 14-Feb-2015 miod

Try and fix a bunch of memory leaks upon error;
ok tedu@ about 7 months ago and I was sitting upon this diff for no reason


# 1.11 11-Jul-2014 jsing

Only import cryptlib.h in the four source files that actually need it.
Remove the openssl public includes from cryptlib.h and add a small number
of includes into the source files that actually need them. While here,
also sort/group/tidy the includes.

ok beck@ miod@


# 1.10 08-Jul-2014 jsing

KNF.


# 1.9 12-Jun-2014 deraadt

tags as requested by miod and tedu


# 1.8 01-Oct-2010 djm

resolve conflicts, fix local changes


# 1.7 09-Jan-2009 djm

resolve conflicts


# 1.6 06-Sep-2008 djm

resolve conflicts


# 1.5 27-Jun-2006 djm

resolve conflicts


# 1.4 15-May-2002 beck

OpenSSL 0.9.7 stable 2002 05 08 merge


# 1.3 15-Dec-2000 beck

openssl-engine-0.9.6 merge


# 1.2 19-Mar-2000 beck

OpenSSL 0.9.5 merge

*warning* this bumps shared lib minors for libssl and libcrypto from 2.1 to 2.2
if you are using the ssl26 packages for ssh and other things to work you will
need to get new ones (see ~beck/libsslsnap/<arch>) on cvs or ~beck/src-patent.tar.gz on cvs


# 1.1 29-Sep-1999 beck

branches: 1.1.1;
new files for OpenSSL 0.9.4


# 1.20 11-Sep-2022 tb

Make structs in pkcs12.h opaque

ok jsing


# 1.19 20-Aug-2022 tb

Add an empty pkcs12_local.h and include it where it will soon be needed.


# 1.18 03-Aug-2022 tb

Prepare to provide PKCS12 accessors

In order to be able to make pkcs12/ opaque, we need an entire family of
accessors. These are in a particularly nasty tangle since this was done
in about a dozen steps while sprinkling const, renaming functions, etc.
The public API also adds backward compat macros for functions that were
in the tree for half a day and then renamed. Of course some of them got
picked up by some ports.

Some of the gruesome hacks in here will go away with the next bump, but
that doesn't mean that the pkcs12 directory will be prettier afterward.

ok jsing


Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE
# 1.17 13-May-2018 tb

Add const to the argument of PKCS12_pack_authsafes(3).

tested in a bulk by sthen
ok beck, jsing


# 1.16 13-May-2018 tb

Add const qualifier to the PKCS12_SAFEBAG argument of
PKCS12_decrypt_skey(3).

tested in a bulk by sthen
ok beck, jsing


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE
# 1.15 29-Jan-2017 beck

Send the function codes from the error functions to the bit bucket,
as was done earlier in libssl. Thanks inoguchi@ for noticing
libssl had more reacharounds into this.
ok jsing@ inoguchi@


# 1.14 30-Dec-2016 jsing

Expand ASN1_ITEM_rptr macros - no change in generated assembly.


# 1.13 30-Sep-2015 jsing

Replace M_ASN1_OCTET_STRING_(free|new) with ASN1_OCTET_STRING_(free|new).


# 1.12 14-Feb-2015 miod

Try and fix a bunch of memory leaks upon error;
ok tedu@ about 7 months ago and I was sitting upon this diff for no reason


# 1.11 11-Jul-2014 jsing

Only import cryptlib.h in the four source files that actually need it.
Remove the openssl public includes from cryptlib.h and add a small number
of includes into the source files that actually need them. While here,
also sort/group/tidy the includes.

ok beck@ miod@


# 1.10 08-Jul-2014 jsing

KNF.


# 1.9 12-Jun-2014 deraadt

tags as requested by miod and tedu


# 1.8 01-Oct-2010 djm

resolve conflicts, fix local changes


# 1.7 09-Jan-2009 djm

resolve conflicts


# 1.6 06-Sep-2008 djm

resolve conflicts


# 1.5 27-Jun-2006 djm

resolve conflicts


# 1.4 15-May-2002 beck

OpenSSL 0.9.7 stable 2002 05 08 merge


# 1.3 15-Dec-2000 beck

openssl-engine-0.9.6 merge


# 1.2 19-Mar-2000 beck

OpenSSL 0.9.5 merge

*warning* this bumps shared lib minors for libssl and libcrypto from 2.1 to 2.2
if you are using the ssl26 packages for ssh and other things to work you will
need to get new ones (see ~beck/libsslsnap/<arch>) on cvs or ~beck/src-patent.tar.gz on cvs


# 1.1 29-Sep-1999 beck

branches: 1.1.1;
new files for OpenSSL 0.9.4


# 1.19 20-Aug-2022 tb

Add an empty pkcs12_local.h and include it where it will soon be needed.


# 1.18 03-Aug-2022 tb

Prepare to provide PKCS12 accessors

In order to be able to make pkcs12/ opaque, we need an entire family of
accessors. These are in a particularly nasty tangle since this was done
in about a dozen steps while sprinkling const, renaming functions, etc.
The public API also adds backward compat macros for functions that were
in the tree for half a day and then renamed. Of course some of them got
picked up by some ports.

Some of the gruesome hacks in here will go away with the next bump, but
that doesn't mean that the pkcs12 directory will be prettier afterward.

ok jsing


Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE
# 1.17 13-May-2018 tb

Add const to the argument of PKCS12_pack_authsafes(3).

tested in a bulk by sthen
ok beck, jsing


# 1.16 13-May-2018 tb

Add const qualifier to the PKCS12_SAFEBAG argument of
PKCS12_decrypt_skey(3).

tested in a bulk by sthen
ok beck, jsing


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE
# 1.15 29-Jan-2017 beck

Send the function codes from the error functions to the bit bucket,
as was done earlier in libssl. Thanks inoguchi@ for noticing
libssl had more reacharounds into this.
ok jsing@ inoguchi@


# 1.14 30-Dec-2016 jsing

Expand ASN1_ITEM_rptr macros - no change in generated assembly.


# 1.13 30-Sep-2015 jsing

Replace M_ASN1_OCTET_STRING_(free|new) with ASN1_OCTET_STRING_(free|new).


# 1.12 14-Feb-2015 miod

Try and fix a bunch of memory leaks upon error;
ok tedu@ about 7 months ago and I was sitting upon this diff for no reason


# 1.11 11-Jul-2014 jsing

Only import cryptlib.h in the four source files that actually need it.
Remove the openssl public includes from cryptlib.h and add a small number
of includes into the source files that actually need them. While here,
also sort/group/tidy the includes.

ok beck@ miod@


# 1.10 08-Jul-2014 jsing

KNF.


# 1.9 12-Jun-2014 deraadt

tags as requested by miod and tedu


# 1.8 01-Oct-2010 djm

resolve conflicts, fix local changes


# 1.7 09-Jan-2009 djm

resolve conflicts


# 1.6 06-Sep-2008 djm

resolve conflicts


# 1.5 27-Jun-2006 djm

resolve conflicts


# 1.4 15-May-2002 beck

OpenSSL 0.9.7 stable 2002 05 08 merge


# 1.3 15-Dec-2000 beck

openssl-engine-0.9.6 merge


# 1.2 19-Mar-2000 beck

OpenSSL 0.9.5 merge

*warning* this bumps shared lib minors for libssl and libcrypto from 2.1 to 2.2
if you are using the ssl26 packages for ssh and other things to work you will
need to get new ones (see ~beck/libsslsnap/<arch>) on cvs or ~beck/src-patent.tar.gz on cvs


# 1.1 29-Sep-1999 beck

branches: 1.1.1;
new files for OpenSSL 0.9.4


# 1.18 03-Aug-2022 tb

Prepare to provide PKCS12 accessors

In order to be able to make pkcs12/ opaque, we need an entire family of
accessors. These are in a particularly nasty tangle since this was done
in about a dozen steps while sprinkling const, renaming functions, etc.
The public API also adds backward compat macros for functions that were
in the tree for half a day and then renamed. Of course some of them got
picked up by some ports.

Some of the gruesome hacks in here will go away with the next bump, but
that doesn't mean that the pkcs12 directory will be prettier afterward.

ok jsing


Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE
# 1.17 13-May-2018 tb

Add const to the argument of PKCS12_pack_authsafes(3).

tested in a bulk by sthen
ok beck, jsing


# 1.16 13-May-2018 tb

Add const qualifier to the PKCS12_SAFEBAG argument of
PKCS12_decrypt_skey(3).

tested in a bulk by sthen
ok beck, jsing


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE
# 1.15 29-Jan-2017 beck

Send the function codes from the error functions to the bit bucket,
as was done earlier in libssl. Thanks inoguchi@ for noticing
libssl had more reacharounds into this.
ok jsing@ inoguchi@


# 1.14 30-Dec-2016 jsing

Expand ASN1_ITEM_rptr macros - no change in generated assembly.


# 1.13 30-Sep-2015 jsing

Replace M_ASN1_OCTET_STRING_(free|new) with ASN1_OCTET_STRING_(free|new).


# 1.12 14-Feb-2015 miod

Try and fix a bunch of memory leaks upon error;
ok tedu@ about 7 months ago and I was sitting upon this diff for no reason


# 1.11 11-Jul-2014 jsing

Only import cryptlib.h in the four source files that actually need it.
Remove the openssl public includes from cryptlib.h and add a small number
of includes into the source files that actually need them. While here,
also sort/group/tidy the includes.

ok beck@ miod@


# 1.10 08-Jul-2014 jsing

KNF.


# 1.9 12-Jun-2014 deraadt

tags as requested by miod and tedu


# 1.8 01-Oct-2010 djm

resolve conflicts, fix local changes


# 1.7 09-Jan-2009 djm

resolve conflicts


# 1.6 06-Sep-2008 djm

resolve conflicts


# 1.5 27-Jun-2006 djm

resolve conflicts


# 1.4 15-May-2002 beck

OpenSSL 0.9.7 stable 2002 05 08 merge


# 1.3 15-Dec-2000 beck

openssl-engine-0.9.6 merge


# 1.2 19-Mar-2000 beck

OpenSSL 0.9.5 merge

*warning* this bumps shared lib minors for libssl and libcrypto from 2.1 to 2.2
if you are using the ssl26 packages for ssh and other things to work you will
need to get new ones (see ~beck/libsslsnap/<arch>) on cvs or ~beck/src-patent.tar.gz on cvs


# 1.1 29-Sep-1999 beck

branches: 1.1.1;
new files for OpenSSL 0.9.4


# 1.17 13-May-2018 tb

Add const to the argument of PKCS12_pack_authsafes(3).

tested in a bulk by sthen
ok beck, jsing


# 1.16 13-May-2018 tb

Add const qualifier to the PKCS12_SAFEBAG argument of
PKCS12_decrypt_skey(3).

tested in a bulk by sthen
ok beck, jsing


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE
# 1.15 29-Jan-2017 beck

Send the function codes from the error functions to the bit bucket,
as was done earlier in libssl. Thanks inoguchi@ for noticing
libssl had more reacharounds into this.
ok jsing@ inoguchi@


# 1.14 30-Dec-2016 jsing

Expand ASN1_ITEM_rptr macros - no change in generated assembly.


# 1.13 30-Sep-2015 jsing

Replace M_ASN1_OCTET_STRING_(free|new) with ASN1_OCTET_STRING_(free|new).


# 1.12 14-Feb-2015 miod

Try and fix a bunch of memory leaks upon error;
ok tedu@ about 7 months ago and I was sitting upon this diff for no reason


# 1.11 11-Jul-2014 jsing

Only import cryptlib.h in the four source files that actually need it.
Remove the openssl public includes from cryptlib.h and add a small number
of includes into the source files that actually need them. While here,
also sort/group/tidy the includes.

ok beck@ miod@


# 1.10 08-Jul-2014 jsing

KNF.


# 1.9 12-Jun-2014 deraadt

tags as requested by miod and tedu


# 1.8 01-Oct-2010 djm

resolve conflicts, fix local changes


# 1.7 09-Jan-2009 djm

resolve conflicts


# 1.6 06-Sep-2008 djm

resolve conflicts


# 1.5 27-Jun-2006 djm

resolve conflicts


# 1.4 15-May-2002 beck

OpenSSL 0.9.7 stable 2002 05 08 merge


# 1.3 15-Dec-2000 beck

openssl-engine-0.9.6 merge


# 1.2 19-Mar-2000 beck

OpenSSL 0.9.5 merge

*warning* this bumps shared lib minors for libssl and libcrypto from 2.1 to 2.2
if you are using the ssl26 packages for ssh and other things to work you will
need to get new ones (see ~beck/libsslsnap/<arch>) on cvs or ~beck/src-patent.tar.gz on cvs


# 1.1 29-Sep-1999 beck

branches: 1.1.1;
new files for OpenSSL 0.9.4


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.15 29-Jan-2017 beck

Send the function codes from the error functions to the bit bucket,
as was done earlier in libssl. Thanks inoguchi@ for noticing
libssl had more reacharounds into this.
ok jsing@ inoguchi@


# 1.14 30-Dec-2016 jsing

Expand ASN1_ITEM_rptr macros - no change in generated assembly.


# 1.13 30-Sep-2015 jsing

Replace M_ASN1_OCTET_STRING_(free|new) with ASN1_OCTET_STRING_(free|new).


# 1.12 14-Feb-2015 miod

Try and fix a bunch of memory leaks upon error;
ok tedu@ about 7 months ago and I was sitting upon this diff for no reason


# 1.11 11-Jul-2014 jsing

Only import cryptlib.h in the four source files that actually need it.
Remove the openssl public includes from cryptlib.h and add a small number
of includes into the source files that actually need them. While here,
also sort/group/tidy the includes.

ok beck@ miod@


# 1.10 08-Jul-2014 jsing

KNF.


# 1.9 12-Jun-2014 deraadt

tags as requested by miod and tedu


# 1.8 01-Oct-2010 djm

resolve conflicts, fix local changes


# 1.7 09-Jan-2009 djm

resolve conflicts


# 1.6 06-Sep-2008 djm

resolve conflicts


# 1.5 27-Jun-2006 djm

resolve conflicts


# 1.4 15-May-2002 beck

OpenSSL 0.9.7 stable 2002 05 08 merge


# 1.3 15-Dec-2000 beck

openssl-engine-0.9.6 merge


# 1.2 19-Mar-2000 beck

OpenSSL 0.9.5 merge

*warning* this bumps shared lib minors for libssl and libcrypto from 2.1 to 2.2
if you are using the ssl26 packages for ssh and other things to work you will
need to get new ones (see ~beck/libsslsnap/<arch>) on cvs or ~beck/src-patent.tar.gz on cvs


# 1.1 29-Sep-1999 beck

branches: 1.1.1;
new files for OpenSSL 0.9.4