aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/pkcs12/p12_add.c
Commit message (Collapse)AuthorAgeFilesLines
* Convert PKCS12* functions to use const gettersMatt Caswell2016-08-191-2/+2
| | | | | Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Stephen Henson <steve@openssl.org>
* Copyright consolidation 09/10Rich Salz2016-05-171-54/+5
| | | | Reviewed-by: Richard Levitte <levitte@openssl.org>
* Reorganise functions.Dr. Stephen Henson2016-02-081-49/+0
| | | | | | | | Move all PKCS12_SAFEBAG functions into new file p12_sbag.c. Move MAC functions into p12_mutl.c Reviewed-by: Rich Salz <rsalz@openssl.org>
* Make PKCS12 structures opaqueDr. Stephen Henson2016-02-081-0/+1
| | | | Reviewed-by: Rich Salz <rsalz@openssl.org>
* Remove /* foo.c */ commentsRich Salz2016-01-261-1/+0
| | | | | | | | | | | | This was done by the following find . -name '*.[ch]' | /tmp/pl where /tmp/pl is the following three-line script: print unless $. == 1 && m@/\* .*\.[ch] \*/@; close ARGV if eof; # Close file to reset $. And then some hand-editing of other files. Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
* Fix memory leaks and other mistakes on errorsAlessandro Ghedini2015-10-231-7/+20
| | | | | Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org>
* Identify and move common internal libcrypto header filesRichard Levitte2015-05-141-1/+1
| | | | | | | | | | | | | There are header files in crypto/ that are used by a number of crypto/ submodules. Move those to crypto/include/internal and adapt the affected source code and Makefiles. The header files that got moved are: crypto/cryptolib.h crypto/md32_common.h Reviewed-by: Rich Salz <rsalz@openssl.org>
* Use p==NULL not !p (in if statements, mainly)Rich Salz2015-05-111-7/+11
| | | | Reviewed-by: Tim Hudson <tjh@openssl.org>
* Remove old ASN.1 code.Dr. Stephen Henson2015-03-231-2/+2
| | | | | | | | | Remove old M_ASN1_ macros and replace any occurences with the corresponding function. Remove d2i_ASN1_bytes, d2i_ASN1_SET, i2d_ASN1_SET: no longer used internally. Reviewed-by: Rich Salz <rsalz@openssl.org>
* Run util/openssl-format-source -v -c .Matt Caswell2015-01-221-130/+135
| | | | Reviewed-by: Tim Hudson <tjh@openssl.org>
* Update obsolete email address...Dr. Stephen Henson2008-11-051-1/+1
|
* Add feature to PKCS12_create() if the encryption NID corresponds to aDr. Stephen Henson2006-05-151-2/+18
| | | | | supported encryption algorithm instead of a PBE NID then use that algorithm with PBES2.
* Check PKCS7 structures in PKCS#12 files are of type data.Dr. Stephen Henson2005-06-301-1/+10
|
* Fix more error codes.Bodo Möller2005-05-111-3/+3
| | | | | (Also improve util/ck_errf.pl script, and occasionally fix source code formatting.)
* First of several reorganisations toDr. Stephen Henson2001-07-261-42/+0
| | | | | | | | | | | | reduce linker bloat. For example the single line: PEM_read_X509() results in a binary of around 400K in Linux! This first step separates some of the PEM functions and avoids linking in some PKCS#7 and PKCS#12 code.
* Initial support for ASN1_ITEM_FUNCTION option toDr. Stephen Henson2001-02-231-8/+8
| | | | | | | | change the way ASN1 modules are exported. Still needs a bit of work for example the hack which a dummy function prototype to avoid compilers warning about multiple ;s.
* Rewrite PKCS#12 code and remove some of the oldDr. Stephen Henson2000-12-311-18/+57
| | | | | | | | | | horrible macros. Fix two evil ASN1 bugs. Attempt to use 'ctx' when NULL if input is indefinite length constructed in asn1_check_tlen() and invalid pointer to ASN1_TYPE when reusing existing structure (this took *ages* to find because the new PKCS#12 code triggered it).
* Typesafety Thought Police Part 2.Ben Laurie2000-05-161-4/+6
|
* Add OIDs for idea and blowfish. Unfortunately these are inDr. Stephen Henson1999-12-291-4/+8
| | | | the middle of the OID table so the diff is rather large :-(
* Replace the macros in asn1.h with function equivalents. Also make UTF8StringsDr. Stephen Henson1999-10-201-3/+3
| | | | tolerated in certificates.
* Fix PKCS7_ENC_CONTENT_new() to include a sensible default content type and addDr. Stephen Henson1999-08-171-5/+3
| | | | support for encrypted content type in PKCS7_set_content().
* Complete support for PKCS#5 v2.0. Still needs extensive testing.Dr. Stephen Henson1999-06-081-5/+9
|
* Delete the unnecessary ERR and ERRC lines in makefiles, add some functionalityDr. Stephen Henson1999-04-241-3/+3
| | | | | | | | | | to error code script: it can now find untranslatable function codes (usually because the function is static and not defined in a header: occasionally because of a typo...) and unreferenced function and reason codes. To see this try: perl util/mkerr.pl -recurse -debug Also fixed some typos in crypto/pkcs12 that this found :-) Also tidy up some error calls that had to be all on one line: the old error script couldn't find codes unless the call was all on one line.
* Change #include filenames from <foo.h> to <openssl.h>.Bodo Möller1999-04-231-1/+1
| | | | | | Submitted by: Reviewed by: PR:
* Function didn't get ANSIfied because of unusual formatting.Ulf Möller1999-04-231-8/+3
|
* Work with -pedantic!Ben Laurie1999-04-231-4/+5
|
* Change functions to ANSI C.Ulf Möller1999-04-191-29/+10
|
* Remove deleted PKCS#12 functions from pkcs12.h, get rid of object creationDr. Stephen Henson1999-03-291-9/+7
| | | | | kludge, remove CRs from ssl_ciph.c and update Win32 functions for PKCS#12 code. It might compile under Win32 now ...
* Include pkcs12 program as part of openssl. This completes most of the PKCS#12Dr. Stephen Henson1999-03-291-2/+1
| | | | integration.
* Yet more PKCS#12 integration: add lots of files under crypto/pkcs12 and addDr. Stephen Henson1999-03-281-0/+236
them to the build environment.