summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/pkcs12/p12_add.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use err_local.h rather than err.h in most placestb2025-05-101-2/+2
| | | | ok jsing
* Remove more PBE stuff from the public APItb2024-03-021-1/+2
| | | | | | | This is still needed internally for CMS and its predecessors. This removal will enable disentangling some of its innards. ok jsing
* Remove a lot of PKCS12 garbage from the public APItb2024-03-021-5/+1
| | | | | | | | 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
* Fix various NULL dereferences in PKCS #12tb2024-01-251-7/+19
| | | | | | | | | | 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
* libressl *_namespace.h: adjust *_ALIAS() to require a semicolontb2023-02-161-9/+9
| | | | | | | | | | 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
* Hide symbols in libcrypto/pkcs12beck2022-11-121-1/+9
| | | | ok jsing@
* Make structs in pkcs12.h opaquetb2022-09-111-53/+1
| | | | ok jsing
* Add an empty pkcs12_local.h and include it where it will soon be needed.tb2022-08-201-1/+3
|
* Prepare to provide PKCS12 accessorstb2022-08-031-1/+5
| | | | | | | | | | | | | | 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
* Add const to the argument of PKCS12_pack_authsafes(3).tb2018-05-131-2/+2
| | | | | tested in a bulk by sthen ok beck, jsing
* Add const qualifier to the PKCS12_SAFEBAG argument oftb2018-05-131-2/+2
| | | | | | | PKCS12_decrypt_skey(3). tested in a bulk by sthen ok beck, jsing
* Send the function codes from the error functions to the bit bucket,beck2017-01-291-24/+16
| | | | | | as was done earlier in libssl. Thanks inoguchi@ for noticing libssl had more reacharounds into this. ok jsing@ inoguchi@
* Expand ASN1_ITEM_rptr macros - no change in generated assembly.jsing2016-12-301-7/+7
|
* Replace M_ASN1_OCTET_STRING_(free|new) with ASN1_OCTET_STRING_(free|new).jsing2015-09-301-3/+3
|
* Try and fix a bunch of memory leaks upon error;miod2015-02-141-6/+17
| | | | ok tedu@ about 7 months ago and I was sitting upon this diff for no reason
* Only import cryptlib.h in the four source files that actually need it.jsing2014-07-111-2/+3
| | | | | | | | 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@
* KNF.jsing2014-07-081-49/+63
|
* tags as requested by miod and teduderaadt2014-06-121-1/+1
|
* resolve conflicts, fix local changesdjm2010-10-011-2/+18
|
* resolve conflictsdjm2009-01-091-1/+1
|
* resolve conflictsdjm2008-09-061-3/+3
|
* resolve conflictsdjm2006-06-271-1/+10
|
* OpenSSL 0.9.7 stable 2002 05 08 mergebeck2002-05-151-45/+42
|
* openssl-engine-0.9.6 mergebeck2000-12-151-4/+6
|
* OpenSSL 0.9.5 mergebeck2000-03-191-12/+14
| | | | | | *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
* new files for OpenSSL 0.9.4beck1999-09-291-0/+214