aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/pkcs12/p12_npas.c
Commit message (Collapse)AuthorAgeFilesLines
* Add X509_getm_notBefore, X509_getm_notAfterDr. Stephen Henson2016-08-211-1/+1
| | | | | | | | Add mutable versions of X509_get0_notBefore and X509_get0_notAfter. Rename X509_SIG_get0_mutable to X509_SIG_getm. Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
* Constify X509_SIG.Dr. Stephen Henson2016-08-171-5/+7
| | | | | | | | | Constify X509_SIG_get0() and order arguments to mactch new standard. Add X509_SIG_get0_mutable() to support modification or initialisation of an X509_SIG structure. Reviewed-by: Matt Caswell <matt@openssl.org>
* Copyright consolidation 09/10Rich Salz2016-05-171-54/+5
| | | | Reviewed-by: Richard Levitte <levitte@openssl.org>
* Constify PKCS12_newpass()Dr. Stephen Henson2016-05-061-9/+11
| | | | | | PR#4449 Reviewed-by: Rich Salz <rsalz@openssl.org>
* Tidy up PKCS12_newpass() fix memory leaks.Dr. Stephen Henson2016-05-061-37/+36
| | | | | | PR#4466 Reviewed-by: Rich Salz <rsalz@openssl.org>
* Make X509_SIG opaque.Dr. Stephen Henson2016-03-111-8/+6
| | | | Reviewed-by: Rich Salz <rsalz@openssl.org>
* Use new namesDr. Stephen Henson2016-02-081-1/+1
| | | | Reviewed-by: Rich Salz <rsalz@openssl.org>
* more PKCS12 opacityDr. Stephen Henson2016-02-081-1/+2
| | | | 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>
* Use p==NULL not !p (in if statements, mainly)Rich Salz2015-05-111-7/+7
| | | | Reviewed-by: Tim Hudson <tjh@openssl.org>
* Remove duplicate code.Dr. Stephen Henson2015-03-301-4/+1
| | | | | | | Update code to use ASN1_TYPE_pack_sequence and ASN1_TYPE_unpack_sequence instead of performing the same operation manually. Reviewed-by: Rich Salz <rsalz@openssl.org>
* Run util/openssl-format-source -v -c .Matt Caswell2015-01-221-129/+139
| | | | Reviewed-by: Tim Hudson <tjh@openssl.org>
* PR: 1696Dr. Stephen Henson2010-03-281-4/+13
| | | | Check return value if d2i_PBEPARAM().
* Update obsolete email address...Dr. Stephen Henson2008-11-051-1/+1
|
* Fix more error codes.Bodo Möller2005-05-111-18/+16
| | | | | (Also improve util/ck_errf.pl script, and occasionally fix source code formatting.)
* Constify d2i, s2i, c2i and r2i functions and other associatedRichard Levitte2004-03-151-1/+2
| | | | | | | | functions and macros. This change has associated tags: LEVITTE_before_const and LEVITTE_after_const. Those will be removed when this change has been properly reviewed.
* Shut up an ANSI compiler about uninitialised variables.Richard Levitte2003-03-201-1/+1
| | | | PR: 517
* Rewrite PKCS#12 code and remove some of the oldDr. Stephen Henson2000-12-311-5/+5
| | | | | | | | | | 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).
* Use sk_*_new_null() instead of sk_*_new(NULL), since that takes careRichard Levitte2000-09-171-1/+1
| | | | | of complaints from the compiler about data pointers and function pointers not being compatible with each other.
* Typesafety Thought Police part 3.Ben Laurie2000-05-161-9/+9
|
* Typesafety Thought Police Part 2.Ben Laurie2000-05-161-8/+13
|
* Get rid of more non-ANSI declarations.Ulf Möller2000-05-151-6/+6
|
* New function PKC12_newpass()Dr. Stephen Henson1999-12-031-0/+212