From dd4134101fb41261b20fe47fdf9068c84e923102 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Thu, 2 Dec 1999 02:33:56 +0000 Subject: Change the trust and purpose code so it doesn't need init either and has a static and dynamic mix. --- crypto/x509/x509_v3.c | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'crypto/x509/x509_v3.c') diff --git a/crypto/x509/x509_v3.c b/crypto/x509/x509_v3.c index 100b08773c..52887986fe 100644 --- a/crypto/x509/x509_v3.c +++ b/crypto/x509/x509_v3.c @@ -265,24 +265,3 @@ int X509_EXTENSION_get_critical(X509_EXTENSION *ex) if (ex == NULL) return(0); return(ex->critical); } - -/* Initialisation routine: used to initialise the X509 and X509v3 tables */ - -static int init_done = 0; - -void X509_init(void) -{ - if(init_done) return; - X509V3_add_standard_extensions(); - X509_PURPOSE_add_standard(); - X509_TRUST_add_standard(); - init_done = 1; -} - -void X509_cleanup(void) -{ - X509V3_EXT_cleanup(); - X509_PURPOSE_cleanup(); - X509_TRUST_cleanup(); - init_done = 0; -} -- cgit v1.2.3