History log of /openbsd-src/lib/libcrypto/pkcs12/p12_add.c (Results 1 – 25 of 25)
Revision Date Author Comments
# fccc7e89 02-Mar-2024 tb <tb@openbsd.org>

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


# a49530d7 02-Mar-2024 tb <tb@openbsd.org>

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
credibili

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

show more ...


# 5fd44ab7 25-Jan-2024 tb <tb@openbsd.org>

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
enoug

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

show more ...


# cedac418 16-Feb-2023 tb <tb@openbsd.org>

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

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

show more ...


# df1109fe 12-Nov-2022 beck <beck@openbsd.org>

Hide symbols in libcrypto/pkcs12

ok jsing@


# 52161715 11-Sep-2022 tb <tb@openbsd.org>

Make structs in pkcs12.h opaque

ok jsing


# e4978644 20-Aug-2022 tb <tb@openbsd.org>

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


# b9c7d6b6 03-Aug-2022 tb <tb@openbsd.org>

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 s

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

show more ...


# 0b214bba 13-May-2018 tb <tb@openbsd.org>

Add const to the argument of PKCS12_pack_authsafes(3).

tested in a bulk by sthen
ok beck, jsing


# e54c1916 13-May-2018 tb <tb@openbsd.org>

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

tested in a bulk by sthen
ok beck, jsing


# 5067ae9f 29-Jan-2017 beck <beck@openbsd.org>

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@


# 5be0a3e6 30-Dec-2016 jsing <jsing@openbsd.org>

Expand ASN1_ITEM_rptr macros - no change in generated assembly.


# 96622a5f 30-Sep-2015 jsing <jsing@openbsd.org>

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


# 212d4d23 14-Feb-2015 miod <miod@openbsd.org>

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


# b6ab114e 11-Jul-2014 jsing <jsing@openbsd.org>

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 t

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@

show more ...


# d2af6916 08-Jul-2014 jsing <jsing@openbsd.org>

KNF.


# c3d6a26a 12-Jun-2014 deraadt <deraadt@openbsd.org>

tags as requested by miod and tedu


# 0a5d6ede 01-Oct-2010 djm <djm@openbsd.org>

resolve conflicts, fix local changes


# e6841c1d 09-Jan-2009 djm <djm@openbsd.org>

resolve conflicts


# 4fcf65c5 06-Sep-2008 djm <djm@openbsd.org>

resolve conflicts


# 6d388760 27-Jun-2006 djm <djm@openbsd.org>

resolve conflicts


# da347917 15-May-2002 beck <beck@openbsd.org>

OpenSSL 0.9.7 stable 2002 05 08 merge


# c109e398 15-Dec-2000 beck <beck@openbsd.org>

openssl-engine-0.9.6 merge


# ba5406e9 19-Mar-2000 beck <beck@openbsd.org>

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

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

show more ...


# 7695d5a3 29-Sep-1999 beck <beck@openbsd.org>

new files for OpenSSL 0.9.4