- Dec 18, 1999
-
-
Bodo Möller authored
-
Bodo Möller authored
(and that malloc can be called with an int argument). - Use proper prototypes (with argument list) for various function pointers, avoid casts (however there are still many such cases left in these files). - Avoid collissions in app_info_cmp if sizeof int != sizeof long. - Use CRYPTO_LOCK_MALLOC in mem_dbg.c.
-
Bodo Möller authored
-
Richard Levitte authored
- Made CRYPTO_MDEBUG even less used in crypto.h, giving MemCheck_start() and MemCheck_stop() only one possible definition. - Made the values of the debug function pointers in mem.c dependent on the existence of the CRYPTO_MDEBUG macro, and made the rest of the code understand the NULL case. That's it. With this code, the old behvior of the debug functionality is restored, but you can still opt to have it on, even when the library wasn't compiled with a defined CRYPTO_MDEBUG.
-
Richard Levitte authored
- Moved the handling of compile-time defaults from crypto.h to mem_dbg.c, since it doesn't make sense for the library users to try to affect this without recompiling libcrypto. - Made sure V_CRYPTO_MDEBUG_TIME and V_CRYPTO_MDEBUG_THREAD had clear and constant definitions. - Aesthetic correction.
-
Bodo Möller authored
-
Bodo Möller authored
-
Bodo Möller authored
from MemCheck_start() to CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_ON) because that is what applications should use (MemCheck_start/stop never really worked for applications unless CRYPTO_MDEBUG was defined both when compiling the library and when compiling the application, so probably we should get rid of it).
-
- Dec 17, 1999
-
-
Richard Levitte authored
-
Richard Levitte authored
With this change, the following is provided and present at all times (meaning CRYPTO_MDEBUG is no longer required to get this functionality): - hooks to provide your own allocation and deallocation routines. They have to have the same interface as malloc(), realloc() and free(). They are registered by calling CRYPTO_set_mem_functions() with the function pointers. - hooks to provide your own memory debugging routines. The have to have the same interface as as the CRYPTO_dbg_*() routines. They are registered by calling CRYPTO_set_mem_debug_functions() with the function pointers. I moved everything that was already built into OpenSSL and did memory debugging to a separate file (mem_dbg.c), to make it clear what is what. With this, the relevance of the CRYPTO_MDEBUG has changed. The only thing in crypto/crypto.h that it affects is the definition of the MemCheck_start and MemCheck_stop macros.
-
Richard Levitte authored
-
- Dec 16, 1999
-
-
Richard Levitte authored
-
Ulf Möller authored
-
- Dec 15, 1999
-
-
Dr. Stephen Henson authored
again.
-
Dr. Stephen Henson authored
encrypted mail. Also update the smime docs.
-
- Dec 14, 1999
-
-
Ulf Möller authored
(bug reports keep coming in because that was still missing in 0.9.4)
-
Dr. Stephen Henson authored
and not excluding parameters with DSA keys.
-
- Dec 13, 1999
-
-
Dr. Stephen Henson authored
Fix a typo in a_enum.c.
-
- Dec 11, 1999
-
-
Dr. Stephen Henson authored
-
- Dec 10, 1999
-
-
Dr. Stephen Henson authored
Also fix a memory leak in PKCS#7 routines.
-
- Dec 09, 1999
-
-
Dr. Stephen Henson authored
Fix the usage message of smime utility and sanitise the return codes. Add some documentation.
-
- Dec 08, 1999
-
-
Ulf Möller authored
-
Bodo Möller authored
in the apps/ directory (which were recently changed).
-
Dr. Stephen Henson authored
-
- Dec 07, 1999
-
-
Dr. Stephen Henson authored
to a file if we are verifying.
-
- Dec 05, 1999
-
-
Dr. Stephen Henson authored
-
- Dec 04, 1999
-
-
Ulf Möller authored
-
Ulf Möller authored
-
- Dec 03, 1999
-
-
Ulf Möller authored
library. See: http://www.CORE-SDI.COM/english/ssh/index.html Submitted by: Reviewed by: PR:
-
Bodo Möller authored
-
Bodo Möller authored
Never use des_set_key (it depends on the global variable des_check_key), but usually des_set_key_unchecked. Only destest.c bothered to look at the return values of des_set_key, but it did not set des_check_key -- if it had done so, most checks would have failed because of wrong parity and because of weak keys.
-
Dr. Stephen Henson authored
-
Dr. Stephen Henson authored
new purpose getting function. Update the ca-cert.pem and pca-cert.pem "CA" certificates so they really are CA certificate: that is they have the appropriate extensions.
-
- Dec 02, 1999
-
-
Dr. Stephen Henson authored
either and has a static and dynamic mix.
-
- Dec 01, 1999
-
-
Dr. Stephen Henson authored
-
- Nov 30, 1999
-
-
Ben Laurie authored
-
Dr. Stephen Henson authored
in the x509 utility.
-
Dr. Stephen Henson authored
-
- Nov 29, 1999
-
-
Dr. Stephen Henson authored
SSL_CTX and SSL, functions to set them and defaults if no values set.
-
Dr. Stephen Henson authored
yet. Add a function X509_STORE_CTX_purpose_inherit() which implements the logic of "inheriting" purpose and trust from a parent structure and using a default: this will be used in the SSL code and possibly future S/MIME. Partial documentation of the 'verify' utility. Still need to document how all the extension checking works and the various error messages.
-