aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/err
Commit message (Collapse)AuthorAgeFilesLines
* 'make update'Richard Levitte2001-10-041-5/+5
|
* In case of memory problems, the va_start() wasn't cleaned with a va_end().Richard Levitte2001-09-241-1/+2
| | | | Noticed by Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>.
* ENGINE files were renamed, and error strings are now in eng_err.cGeoff Thorpe2001-09-121-1/+1
|
* fix memory leak (I think)Bodo Möller2001-09-101-16/+24
|
* remove an old commentBodo Möller2001-09-101-2/+1
|
* Totally get rid of CRYPTO_LOCK_ERR_HASH.Bodo Möller2001-09-061-54/+68
| | | | | | | | | In err.c, flags int_error_hash_set and int_thread_hash_set appear superfluous since we can just as well initialize int_error_hash and int_thread_hash to NULL. Change some of the err.c formatting to conform with the rest of OpenSSL.
* typoBodo Möller2001-09-041-1/+1
|
* Now that we have ERR_unload_strings(), ERR_load_ERR_strings() mustBodo Möller2001-09-041-22/+24
| | | | | | | always load its strings because they might have been unloaded since the 'init' flag was deleted. But build_SYS_str_reasons() can use an 'init' flag.
* changing something requires a write lock, not a read lockBodo Möller2001-09-041-7/+15
|
* Add a new ERR function, "ERR_unload_strings", to complement the existingGeoff Thorpe2001-09-032-0/+27
| | | | "ERR_load_strings" function.
* This changes the "ERR" code to have all access to state (a hash table ofGeoff Thorpe2001-08-252-137/+285
| | | | | | | | | | | | | | | | | 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().
* Start to reduce some of the header bloat.Ben Laurie2001-08-051-5/+5
|
* make updateRichard Levitte2001-07-311-2/+3
|
* Really add the EVP and all of the DES changes.Ben Laurie2001-07-301-17/+9
|
* Translate into valid C (don't call functions with wrong prototypes).Bodo Möller2001-06-251-10/+6
|
* make updateRichard Levitte2001-06-231-2/+3
|
* New error printing function that gives the possibility to print theRichard Levitte2001-06-232-23/+29
| | | | errors through an arbitrary function.
* Include the UI error strings.Richard Levitte2001-06-231-0/+1
|
* 'make update'Richard Levitte2001-06-051-10/+10
|
* Add a general user interface API. This is designed to replace thingsRichard Levitte2001-05-062-0/+4
| | | | | | | 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.
* More error_data memory leaksBodo Möller2001-03-151-6/+5
|
* Use err_clear_data macroBodo Möller2001-03-131-3/+2
|
* fix memory leak in err.cBodo Möller2001-03-121-1/+9
|
* Instead of telling both 'make' and the user that ranlibBodo Möller2001-03-091-2/+1
| | | | | | errors can be tolerated, hide the error from 'make'. This gives shorter output both if ranlib fails and if it works.
* Fixes to make 'no-ec' work (it should not turn 'objects' into 'objts' for ↵Bodo Möller2001-03-081-0/+4
| | | | example)
* Integrate ec_err.[co].Bodo Möller2001-03-081-17/+18
| | | | "make depend"
* Sort openssl.ec, the configuration file for mkerr.pl.Bodo Möller2001-03-082-13/+19
| | | | | Change mkerr.pl so that it puts the ERR_load_..._strings() prototype in header files that it writes.
* Order ERR_load_... calls like the stuff in err.h.Bodo Möller2001-03-081-18/+13
|
* 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-072-81/+74
|
* Move ec.h to ec2.h because it is not compatible with what we will use.Bodo Möller2001-03-053-0/+6
| | | | | | | Add EC vaporware: change relevant Makefiles and add some empty source files. "make update".
* make updateRichard Levitte2001-02-261-24/+23
| | | | | Note that all *_it variables are suddenly non-existant according to libeay.num. This is a bug that will be corrected. Please be patient.
* e_os.h does not belong with the exported headers. Do not put it thereRichard Levitte2001-02-221-17/+16
| | | | | | | | and make all files the depend on it include it without prefixing it with openssl/. This means that all Makefiles will have $(TOP) as one of the include directories.
* Use new-style system-id macros everywhere possible. I hope I haven'tRichard Levitte2001-02-201-1/+1
| | | | | | | missed any. This compiles and runs on Linux, and external applications have no problems with it. The definite test will be to build this on VMS.
* Make all configuration macros available for application by makingRichard Levitte2001-02-195-38/+39
| | | | | | | | | | | | 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.
* Make depend.Ben Laurie2001-02-041-7/+8
|
* Modify OCSP API to more closely reflectDr. Stephen Henson2001-01-051-0/+1
| | | | | | application needs. Add OCSP library name to error code.
* Fix typo in OCSP nonce extension.Dr. Stephen Henson2001-01-041-0/+2
| | | | | | | | | | | | Set correct type in ASN1_STRING for INTEGER and ENUMERATED types. Make ASN1_INTEGER_get() and ASN1_ENUMERATED_get() return -1 for invalid type rather than 0 (which is often valid). -1 may also be valid but this is less likely. Load OCSP error strings in ERR_load_crypto_strings().
* Constification of the data of a hash table. This means the callbackRichard Levitte2000-12-131-8/+8
| | | | | | | functions need to be constified, and therefore meant a number of easy changes a little everywhere. Now, if someone could explain to me why OBJ_dup() cheats...
* Next step in tidying up the LHASH code.Geoff Thorpe2000-12-081-21/+24
| | | | | | | | | | | | | | | | DECLARE/IMPLEMENT macros now exist to create type (and prototype) safe wrapper functions that avoid the use of function pointer casting yet retain type-safety for type-specific callbacks. However, most of the usage within OpenSSL itself doesn't really require the extra function because the hash and compare callbacks are internal functions declared only for use by the hash table. So this change catches all those cases and reimplements the functions using the base-level LHASH prototypes and does per-variable casting inside those functions to convert to the appropriate item type. The exception so far is in ssl_lib.c where the hash and compare callbacks are not static - they're exposed in ssl.h so their prototypes should not be changed. In this last case, the IMPLEMENT_LHASH_*** macros have been left intact.
* Make the remaining LHASH macro changes. This should leave no remainingGeoff Thorpe2000-12-041-4/+10
| | | | | cases of function pointer casting in lh_new() calls - and leave only the lh_doall and lh_doall_arg cases to be finished.
* First step in tidying up the LHASH code. The callback prototypes (andGeoff Thorpe2000-12-011-2/+4
| | | | | | | | | | | | | | | | casts) used in the lhash code are about as horrible and evil as they can be. For starters, the callback prototypes contain empty parameter lists. Yuck. This first change defines clearer prototypes - including "typedef"'d function pointer types to use as "hash" and "compare" callbacks, as well as the callbacks passed to the lh_doall and lh_doall_arg iteration functions. Now at least more explicit (and clear) casting is required in all of the dependant code - and that should be included in this commit. The next step will be to hunt down and obliterate some of the function pointer casting being used when it's not necessary - a particularly evil variant exists in the implementation of lh_doall.
* in some new file names the first 8 characters were not uniqueUlf Möller2000-11-121-6/+6
|
* Remove references to RSAref. The glue library is but a memory to fadeRichard Levitte2000-11-082-3/+2
| | | | away now...
* The majority of the OCSP code from CertCo.Richard Levitte2000-10-272-0/+3
|
* Merge the engine branch into the main trunk. All conflicts resolved.Richard Levitte2000-10-265-11/+20
| | | | At the same time, add VMS support for Rijndael.
* The experimental Rijndael code moved to the main trunk.Richard Levitte2000-10-141-1/+2
| | | | make update done.
* 'ranlib' doesn't always run on some systems. That's actuallyRichard Levitte2000-09-251-1/+2
| | | | | acceptable, since all that happens if it fails is a library with an index, which makes linking slower, but still working correctly.
* 'make update'Richard Levitte2000-09-071-4/+6
|
* Use the passed buffer in ERR_error_string!Ben Laurie2000-08-281-1/+1
|