- Sep 06, 2001
-
-
Lutz Jänicke authored
-
Ulf Möller authored
-
Ulf Möller authored
-
Ulf Möller authored
-
Lutz Jänicke authored
-
Bodo Möller authored
(Some platforms need _XOPEN_SOURCE and _XOPEN_SOURCE_EXTENDED to get the declaration, but on other platforms _XOPEN_SOURCE disables the strdup declaration in <string.h>.)
-
Lutz Jänicke authored
-
Lutz Jänicke authored
(Boyd Lynn Gerber <gerberb@zenez.com>).
-
Bodo Möller authored
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.
-
Lutz Jänicke authored
style (Boyd Lynn Gerber <gerberb@zenez.com>).
-
Bodo Möller authored
-
Bodo Möller authored
-
- Sep 05, 2001
-
-
Bodo Möller authored
-
Bodo Möller authored
as the functions were only introduced a couple of days ago. Some '*)' apparently should be '+)' as the changes do not apply to the 0.9.6 bugfix branch.
-
Geoff Thorpe authored
-
Geoff Thorpe authored
error strings - the destroy handler functions unload the error strings so any pending error state referring to them will not attempt to reference them after the ENGINE has been destroyed.
-
Geoff Thorpe authored
being enabled or disabled (respectively) for operation. Additionally, each ENGINE has a constructor function where it can do more 'structural' level intialisations such as loading error strings, creating "ex_data" indices, etc. This change introduces a handler function that gives an ENGINE a corresponding opportunity to cleanup when the ENGINE is being destroyed. It also adds the "get/set" API functions that control this "destroy" handler function in an ENGINE.
-
Geoff Thorpe authored
-
Bodo Möller authored
-
Bodo Möller authored
-
Bodo Möller authored
-
Geoff Thorpe authored
-
Geoff Thorpe authored
declaration and implementation had not. So a recent update recreated the original definition in libeay.num ... this corrects it and changes the "dh" code to the "up_ref" variant.
-
Bodo Möller authored
defined. (Preprocessor symbols such as _POSIX_C_SOURCE or _XOPEN_SOURCE are supposed to disable anything not allowed by the respective specification; I'm not sure why 'strdup' would be considered an outlaw though.)
-
Ulf Möller authored
-
Ulf Möller authored
-
Ulf Möller authored
-
- Sep 04, 2001
-
-
Geoff Thorpe authored
measure (including info and instructions on "dynamic" ENGINEs).
-
Ulf Möller authored
Submitted by: "Brian Havard" <brianh@kheldar.apana.org.au>
-
Geoff Thorpe authored
locking callbacks to pass to the loaded library (in addition to the existing mem, ex_data, and err callbacks). Also change the default implementation of the "bind_engine" function to apply those callbacks, ie. the IMPLEMENT_DYNAMIC_BIND_FN macro.
-
Geoff Thorpe authored
recent changes. Also, do the same change to the DSO_up() function.
-
Bodo Möller authored
-
Bodo Möller authored
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.
-
Bodo Möller authored
-
Bodo Möller authored
(here: X509_STORE_CTX_init())
-
Bodo Möller authored
-
Bodo Möller authored
-
- Sep 03, 2001
-
-
Geoff Thorpe authored
declare their own error strings so that they can be more easily compiled as external shared-libraries if desired. Also, each implementation has been given canonical "dynamic" support at the base of each file and is only built if the ENGINE_DYNAMIC_SUPPORT symbol is defined. Also, use "void" prototypes rather than empty prototypes in engine_int.h. This does not yet; (i) remove error strings when unloading, (ii) remove the redundant ENGINE_R_*** codes (though ENGINE_F_*** codes have gone), or (iii) provide any instructions on how to build shared-library ENGINEs or use them. All are on their way.
-
Geoff Thorpe authored
implementations to be loaded from self-contained shared-libraries. It also provides (in engine.h) definitions and macros to help implement a self-contained ENGINE. Version control is handled in a way whereby the loader or loadee can veto the load depending on any objections it has with each other's declared interface level. The way this is currently implemented assumes a veto will only take place when one side notices the other's interface level is too *old*. If the other side is newer, it should be assumed the newer version knows better whether to veto the load or not. Version checking (like other "dynamic" settings) can be controlled using the "dynamic" ENGINE's control commands. Also, the semantics for the loading allow a shared-library ENGINE implementation to handle differing interface levels on the fly (eg. loading secondary shared-libraries depending on the versions required). Code will be added soon to the existing ENGINEs to illustrate how they can be built as external libraries rather than building statically into libcrypto. NB: Applications wanting to support "dynamic"-loadable ENGINEs will need to add support for ENGINE "control commands". See apps/engine.c for an example of this, and use "apps/openssl engine -vvvv" to test or experiment.
-
Geoff Thorpe authored
-