diff options
author | Michal Rokos <m.rokos@sh.cvut.cz> | 2002-01-10 00:43:38 +0000 |
---|---|---|
committer | Michal Rokos <m.rokos@sh.cvut.cz> | 2002-01-10 00:43:38 +0000 |
commit | c8c2b576e89e238a6aead38b3cc40a2d3f07f751 (patch) | |
tree | b74df95f5df51dffcc40ba6b9df310f7f502dc4d /ossl.c | |
parent | c7018dfc98fa5ef076caf6dc3186e7271a862be3 (diff) | |
download | ruby-openssl-history-c8c2b576e89e238a6aead38b3cc40a2d3f07f751.tar.gz |
* OpenSSL 0.9.6c support (BN)
* MS_CALLBACK to ossl_pkey_*.c
* Memory checking with OSSL_DEBUG
* API doc style change
Diffstat (limited to 'ossl.c')
-rw-r--r-- | ossl.c | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -15,6 +15,9 @@ * implementation in strptime.c */ #ifndef HAVE_STRPTIME +# ifndef HAVE_STRNCASECMP +# include "./missing/strncasecmp.c" +# endif # include "./missing/strptime.c" #endif @@ -81,6 +84,13 @@ VALUE mPKCS7; void Init_openssl() { +#if defined(OSSL_DEBUG) + CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_ON); +#endif + + /* + * Init all digests, ciphers + */ OpenSSL_add_all_algorithms(); ERR_load_crypto_strings(); |