aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/err/err.h
Commit message (Collapse)AuthorAgeFilesLines
* Stop symlinking, move files to intended directoryRichard Levitte2015-03-311-382/+0
| | | | | | | | | | | | | Rather than making include/openssl/foo.h a symlink to crypto/foo/foo.h, this change moves the file to include/openssl/foo.h once and for all. Likewise, move crypto/foo/footest.c to test/footest.c, instead of symlinking it there. Originally-by: Geoff Thorpe <geoff@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org>
* OPENSSL_NO_xxx cleanup: many removalsRich Salz2015-01-271-10/+2
| | | | | | | | | | | | The following compile options (#ifdef's) are removed: OPENSSL_NO_BIO OPENSSL_NO_BUFFER OPENSSL_NO_CHAIN_VERIFY OPENSSL_NO_EVP OPENSSL_NO_FIPS_ERR OPENSSL_NO_HASH_COMP OPENSSL_NO_LHASH OPENSSL_NO_OBJECT OPENSSL_NO_SPEED OPENSSL_NO_STACK OPENSSL_NO_X509 OPENSSL_NO_X509_VERIFY This diff is big because of updating the indents on preprocessor lines. Reviewed-by: Richard Levitte <levitte@openssl.org>
* Run util/openssl-format-source -v -c .Matt Caswell2015-01-221-217/+221
| | | | Reviewed-by: Tim Hudson <tjh@openssl.org>
* Cleanup OPENSSL_NO_xxx, part 1master-pre-reformatRich Salz2015-01-141-2/+2
| | | | | | | | | | OPENSSL_NO_RIPEMD160, OPENSSL_NO_RIPEMD merged into OPENSSL_NO_RMD160 OPENSSL_NO_FP_API merged into OPENSSL_NO_STDIO Two typo's on #endif comments fixed: OPENSSL_NO_ECB fixed to OPENSSL_NO_OCB OPENSSL_NO_HW_SureWare fixed to OPENSSL_NO_HW_SUREWARE Reviewed-by: Richard Levitte <levitte@openssl.org>
* Change all instances of OPENSSL_NO_DEPRECATED to OPENSSL_USE_DEPRECATEDMatt Caswell2014-12-181-2/+2
| | | | | | Introduce use of DECLARE_DEPRECATED Reviewed-by: Rich Salz <rsalz@openssl.org>
* Move function prototype to fips.hDr. Stephen Henson2011-06-061-6/+0
|
* Transfer error redirection to fips.h, add OPENSSL_FIPSAPI to source filesDr. Stephen Henson2011-02-031-5/+0
| | | | that use it.
* FIPS mode ERR changes. Redirect errors to tiny FIPS callbacks to avoid ERRDr. Stephen Henson2011-01-261-0/+11
| | | | library dependencies.
* add va_list version of ERR_add_error_dataDr. Stephen Henson2011-01-141-1/+2
|
* Add JPAKE.Ben Laurie2008-10-261-0/+2
|
* Remove the dual-callback scheme for numeric and pointer thread IDs,Geoff Thorpe2008-08-061-2/+4
| | | | | | | | | deprecate the original (numeric-only) scheme, and replace with the CRYPTO_THREADID object. This hides the platform-specifics and should reduce the possibility for programming errors (where failing to explicitly check both thread ID forms could create subtle, platform-specific bugs). Thanks to Bodo, for invaluable review and feedback.
* Revert my earlier CRYPTO_THREADID commit, I will commit a reworkedGeoff Thorpe2008-07-031-6/+1
| | | | version some time soon.
* Update from stable branch.Dr. Stephen Henson2008-06-161-4/+6
|
* LHASH revamp. make depend.Ben Laurie2008-05-261-3/+3
|
* There was a need to support thread ID types that couldn't be reliably castGeoff Thorpe2008-03-281-1/+6
| | | | | | | | | | | | | | to 'unsigned long' (ie. odd platforms/compilers), so a pointer-typed version was added but it required portable code to check *both* modes to determine equality. This commit maintains the availability of both thread ID types, but deprecates the type-specific accessor APIs that invoke the callbacks - instead a single type-independent API is used. This simplifies software that calls into this interface, and should also make it less error-prone - as forgetting to call and compare *both* thread ID accessors could have led to hard-to-debug/infrequent bugs (that might only affect certain platforms or thread implementations). As the CHANGES note says, there were corresponding deprecations and replacements in the thread-related functions for BN_BLINDING and ERR too.
* And so it begins...Dr. Stephen Henson2008-03-121-0/+2
| | | | | | | | | | Initial support for CMS. Add zlib compression BIO. Add AES key wrap implementation. Generalize S/MIME MIME code to support CMS and/or PKCS7.
* Experimental HMAC support via EVP_PKEY_METHOD.Dr. Stephen Henson2007-04-111-0/+2
|
* New functions CRYPTO_set_idptr_callback(),Bodo Möller2006-06-231-0/+54
| | | | | | CRYPTO_get_idptr_callback(), CRYPTO_thread_idptr() for a 'void *' type thread ID, since the 'unsigned long' type of the existing thread ID does not always work well.
* RFC 3161 compliant time stamp request creation, response generationUlf Möller2006-02-121-0/+3
| | | | | | | and response verification. Submitted by: Zoltan Glozik <zglozik@opentsa.org> Reviewed by: Ulf Moeller
* Reduce header interdependencies, initially in engine.h (the rest of theGeoff Thorpe2004-04-191-2/+3
| | | | | | | | | changes are the fallout). As this could break source code that doesn't directly include headers for interfaces it uses, changes to recursive includes are covered by the OPENSSL_NO_DEPRECATED symbol. It's better to define this when building and using openssl, and then adapt code where necessary - this is how to stay current. However the mechanism exists for the lethargic.
* Add reference counting around the thread state hash table.Richard Levitte2003-09-271-0/+1
| | | | | | Unfortunately, this means that the dynamic ENGINE version just went up, and isn't backward compatible. PR: 678
* Add functionality to set marks on the error stack and to pop all errors to ↵Richard Levitte2003-06-111-0/+6
| | | | the next mark.
* Define a STORE type. For documentation, read the entry in CHANGES,Richard Levitte2003-05-011-0/+3
| | | | crypto/store/README, crypto/store/store.h and crypto/store/str_locl.h.
* Make sure we get the definition of OPENSSL_NO_FP_API.Richard Levitte2003-03-201-0/+2
|
* Add ECDH support.Bodo Möller2002-08-091-0/+3
| | | | | | | | | | | | | Additional changes: - use EC_GROUP_get_degree() in apps/req.c - add ECDSA and ECDH to apps/speed.c - adds support for EC curves over binary fields to ECDSA - new function EC_KEY_up_ref() in crypto/ec/ec_key.c - reorganize crypto/ecdsa/ecdsatest.c - add engine support for ECDH - fix a few bugs in ECDSA engine support Submitted by: Douglas Stebila <douglas.stebila@sun.com>
* New error code ERR_R_DISABLEDBodo Möller2002-08-021-0/+1
| | | | Submitted by: Douglas Stebila <douglas.stebila@sun.com>
* Handle read errors.Ben Laurie2002-06-111-0/+1
|
* ERR_file_name is no longer being used.Lutz Jänicke2002-04-221-1/+1
|
* ECDSA supportBodo Möller2002-02-131-0/+3
| | | | Submitted by: Nils Larsch <nla@trustcenter.de>
* sort functions ...Bodo Möller2002-01-241-2/+2
|
* New functionsBodo Möller2002-01-241-3/+6
| | | | | | | | | | | ERR_peek_last_error ERR_peek_last_error_line ERR_peek_last_error_line_data (supersedes ERR_peek_top_error). Rename OPENSSL_NO_OLD_DES_SUPPORT into OPENSSL_DISABLE_OLD_DES_SUPPORT because OPENSSL_NO_... indicates disabled algorithms (according to mkdef.pl).
* Make no config file not an error. Move /dev/crypto config to ctrl.Ben Laurie2002-01-221-0/+1
|
* And just for the sake of completeness, let's add some standard macros...Richard Levitte2001-12-211-0/+2
|
* Better use the same number in all branches, to avoid confusionRichard Levitte2001-12-211-0/+1
|
* remove an old commentBodo Möller2001-09-101-2/+1
|
* Add a new ERR function, "ERR_unload_strings", to complement the existingGeoff Thorpe2001-09-031-0/+1
| | | | "ERR_load_strings" function.
* This changes the "ERR" code to have all access to state (a hash table ofGeoff Thorpe2001-08-251-0/+9
| | | | | | | | | | | | | | | | | error strings and a hash table storing per-thread error state) go via an ERR_FNS function table. The first time an ERR operation occurs, the implementation that will be used (from then on) is set to the internal "defaults" implementation if it has not already been set. The actual LHASH tables are only accessed by this implementation. This is primarily for modules that can be loaded at run-time and bound into an application (or a shared-library version of OpenSSL). If the module has its own statically-linked copy of OpenSSL code - this mechanism allows it to *not* create and use ERR information in its own linked "ERR" code, but instead to use and interact with the state stored in the loader (application or shared library). The loader calls ERR_get_implementation() and the return value is what the module should use when calling its own copy of ERR_set_implementation().
* New error printing function that gives the possibility to print theRichard Levitte2001-06-231-0/+2
| | | | errors through an arbitrary function.
* Add a general user interface API. This is designed to replace thingsRichard Levitte2001-05-061-0/+3
| | | | | | | like des_read_password and friends (backward compatibility functions using this new API are provided). The purpose is to remove prompting functions from the DES code section as well as provide for prompting through dialog boxes in a window system and the like.
* Get rid of '#define ERR_file_name __FILE__', which is unnecessary indirection.Bodo Möller2001-03-081-29/+23
| | | | | | (It cannot possibly help to avoid duplicate 'name of file' strings in object files because the preprocessor does not work at object file level.)
* Fix ERR_R_... problems.Bodo Möller2001-03-071-49/+47
|
* Move ec.h to ec2.h because it is not compatible with what we will use.Bodo Möller2001-03-051-0/+4
| | | | | | | Add EC vaporware: change relevant Makefiles and add some empty source files. "make update".
* Make all configuration macros available for application by makingRichard Levitte2001-02-191-7/+7
| | | | | | | | | | | | 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.
* The majority of the OCSP code from CertCo.Richard Levitte2000-10-271-0/+2
|
* Merge the engine branch into the main trunk. All conflicts resolved.Richard Levitte2000-10-261-0/+3
| | | | At the same time, add VMS support for Rijndael.
* Using checks of the existence of HEADER_{foo}_H in other header filesRichard Levitte2000-06-091-2/+9
| | | | | | | | | | | | | | | | | | | | was a really bad idea. For example, the following: #include <x509.h> #include <bio.h> #include <asn1.h> would make sure that things like ASN1_UTCTIME_print() wasn't defined unless you moved the inclusion of bio.h to above the inclusion of x509.h. The reason is that x509.h includes asn1.h, and the declaration of ASN1_UTCTIME_print() depended on the definition of HEADER_BIO_H. That's what I call an obscure bug. Instead, this change makes sure that whatever header files are needed for the correct process of one header file are included automagically, and that the definitions of, for example, BIO-related things are dependent on the absence of the NO_{foo} macros. This is also consistent with the way parts of OpenSSL can be excluded at will.
* According to Gordon Atwood <gordon@cs.ualberta.ca>, stdlib.h isRichard Levitte2000-06-041-0/+1
| | | | needed, or size_t won't be defined on SunOS 4.1.4.
* In Message-ID: <003201bfb332$14a07520$0801a8c0@janm.transactionsite.com>,Richard Levitte2000-05-021-4/+4
| | | | | | "Jan Mikkelsen" <janm@transactionsite.com> correctly states that the OpenSSL header files have #include's and extern "C"'s in an incorrect order. Thusly fixed.
* Avoid leaking memory in thread_hash (and enable memory leak detectionBodo Möller2000-04-291-6/+4
| | | | for it).
* New function ERR_error_string_n.Bodo Möller2000-04-141-0/+1
|