aboutsummaryrefslogtreecommitdiff
path: root/crypto/pkcs12/pk12err.c
AgeCommit message (Collapse)AuthorFilesLines
2021-06-17Update copyright yearMatt Caswell1-1/+1
Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15801)
2021-05-26err: rename err_load_xxx_strings_int functionsPauli1-1/+1
The new names are ossl_err_load_xxx_strings. Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15446)
2020-11-24ERR: Rebuild all generated error headers and source filesRichard Levitte1-1/+2
This is the result of 'make errors ERROR_REBUILD=-rebuild' Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/13390)
2020-09-24Prune low-level ASN.1 parse errors from error queue in decoder_process()Dr. David von Oheimb1-4/+0
Fixes #12840 Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/12893)
2020-08-07Add new APIs to get PKCS12 secretBag OID and valueJon Spillett1-1/+2
Reviewed-by: Paul Dale <paul.dale@oracle.com> Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> (Merged from https://github.com/openssl/openssl/pull/10063)
2019-09-12util/mkerr.pl: make it not depend on the function codeRichard Levitte1-1/+1
The output C code was made to use ERR_func_error_string() to see if a string table was already loaded or not. Since this function returns NULL always, this check became useless. Change it to use ERR_reason_error_string() instead, as there's no reason to believe we will get rid of reason strings, ever. To top it off, we rebuild all affected C sources. Fixes #9756 Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/9756)
2019-07-16Regenerate mkerr filesRich Salz1-56/+2
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/9058)
2018-12-06Following the license change, modify the boilerplates in crypto/pkcs12/Richard Levitte1-1/+1
[skip ci] Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/7808)
2018-04-26Add missing error code when alloc-return-nullFdaSilvaYY1-1/+7
Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/6085)
2017-06-07make error tables const and separate header fileRich Salz1-63/+79
Run perltidy on util/mkerr Change some mkerr flags, write some doc comments Make generated tables "const" when genearting lib-internal ones. Add "state" file for mkerr Renerate error tables and headers Rationalize declaration of ERR_load_XXX_strings Fix out-of-tree build Add -static; sort flags/vars for options. Also tweak code output Moved engines/afalg to engines (from master) Use -static flag Standard engine #include's of errors Don't linewrap err string tables unless necessary Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3392)
2016-08-22crypto/pkcs12: add UTF8 support.Andy Polyakov1-0/+1
Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-07-20Check for errors allocating the error strings.Kurt Roeckx1-1/+2
Reviewed-by: Richard Levitte <levitte@openssl.org> GH: #1330
2016-05-23Remove unused error/function codes.Rich Salz1-17/+2
Add script to find unused err/reason codes Remove unused reason codes. Remove entries for unused functions Reviewed-by: Matt Caswell <matt@openssl.org>
2016-05-17Copyright consolidation 09/10Rich Salz1-51/+6
Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-02-08use new function namesDr. Stephen Henson1-2/+6
Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-01-26Remove /* foo.c */ commentsRich Salz1-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>
2015-05-26Add function PKCS8_set0_pbeDr. Stephen Henson1-1/+2
This adds a new function which will encrypt a private key using PKCS#8 based on an X509_ALGOR structure and reimplements PKCS8_encrypt to use it. Update pkcs8 utlity to use PKCS8_set0_pbe. Reviewed-by: Rich Salz <rsalz@openssl.org>
2015-01-22Run util/openssl-format-source -v -c .Matt Caswell1-70/+75
Reviewed-by: Tim Hudson <tjh@openssl.org>
2006-11-21Update from 0.9.8 stable. Eliminate duplicate error codes.Dr. Stephen Henson1-7/+4
2005-06-30Check PKCS7 structures in PKCS#12 files are of type data.Dr. Stephen Henson1-0/+3
2005-05-11Fix more error codes.Bodo Möller1-4/+5
(Also improve util/ck_errf.pl script, and occasionally fix source code formatting.)
2005-04-12Rebuild error codes.Dr. Stephen Henson1-50/+54
2001-02-19Make all configuration macros available for application by makingRichard Levitte1-2/+2
sure they are available in opensslconf.h, by giving them names starting with "OPENSSL_" to avoid conflicts with other packages and by making sure e_os2.h will cover all platform-specific cases together with opensslconf.h. I've checked fairly well that nothing breaks with this (apart from external software that will adapt if they have used something like NO_KRB5), but I can't guarantee it completely, so a review of this change would be a good thing.
2000-03-05Preserve reason strings in automatically build tables.Bodo Möller1-1/+2
1999-12-05Merge in my S/MIME library and utility.Dr. Stephen Henson1-1/+1
1999-12-03New function PKC12_newpass()Dr. Stephen Henson1-0/+1
1999-08-17Fix PKCS7_ENC_CONTENT_new() to include a sensible default content type and addDr. Stephen Henson1-0/+1
support for encrypted content type in PKCS7_set_content().
1999-04-24"perl util/mkerr.pl -static -recurse -rebuild" because the previousBodo Möller1-36/+4
codebase apparently was inconsistent. And crypto/Makefile.ssl *does* need an ERRC .. Submitted by: Reviewed by: PR:
1999-04-24Delete the unnecessary ERR and ERRC lines in makefiles, add some functionalityDr. Stephen Henson1-6/+36
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.
1999-04-24Complete rewrite of the error code generation script. It now runs as a singleDr. Stephen Henson1-54/+56
script, translates function codes better and doesn't need the K&R function prototypes to work (NB. the K&R prototypes can't be wiped just yet: they are still needed by the DEF generator...). I also ran the script with the -rewrite option to update all the header and source files.
1999-04-23Change #include filenames from <foo.h> to <openssl.h>.Bodo Möller1-2/+2
Submitted by: Reviewed by: PR:
1999-04-19Change functions to ANSI C.Ulf Möller1-1/+1
1999-03-28Yet more PKCS#12 integration: add lots of files under crypto/pkcs12 and addDr. Stephen Henson1-0/+136
them to the build environment.