aboutsummaryrefslogtreecommitdiffstats
path: root/ossl.c
diff options
context:
space:
mode:
authorMichal Rokos <m.rokos@sh.cvut.cz>2003-04-07 21:23:58 +0000
committerMichal Rokos <m.rokos@sh.cvut.cz>2003-04-07 21:23:58 +0000
commite3abad16880c13db25754503408005905ac2cefd (patch)
treea9f99448055ba85e6b970ea14af00a8b92c0e8ca /ossl.c
parentb3fcb017610624b04fe3a4e2e41b0dfecd8eb1da (diff)
downloadruby-openssl-history-e3abad16880c13db25754503408005905ac2cefd.tar.gz
Make it work with "BEGIN PUBLIC KEY" header
Diffstat (limited to 'ossl.c')
-rw-r--r--ossl.c16
1 files changed, 15 insertions, 1 deletions
diff --git a/ossl.c b/ossl.c
index e4b4033..2dcbf78 100644
--- a/ossl.c
+++ b/ossl.c
@@ -278,15 +278,29 @@ Init_openssl()
{
/*
* Init timezone info
- */
+ *
tzset();
+ */
/*
* Init all digests, ciphers
*/
+/* CRYPTO_malloc_init(); */
OpenSSL_add_all_algorithms();
ERR_load_crypto_strings();
SSL_load_error_strings();
+/* ENGINE_load_builtin_engines(); */
+ /*
+ * FIXME:
+ * On unload do:
+ CONF_modules_unload(1);
+ destroy_ui_method();
+ EVP_cleanup();
+ ENGINE_cleanup();
+ CRYPTO_cleanup_all_ex_data();
+ ERR_remove_state(0);
+ ERR_free_strings();
+ */
/*
* Init main module