From c8c2b576e89e238a6aead38b3cc40a2d3f07f751 Mon Sep 17 00:00:00 2001 From: Michal Rokos Date: Thu, 10 Jan 2002 00:43:38 +0000 Subject: * OpenSSL 0.9.6c support (BN) * MS_CALLBACK to ossl_pkey_*.c * Memory checking with OSSL_DEBUG * API doc style change --- ossl.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'ossl.c') diff --git a/ossl.c b/ossl.c index 16cd9f5..272e272 100644 --- a/ossl.c +++ b/ossl.c @@ -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(); -- cgit v1.2.3