summaryrefslogtreecommitdiffstats
path: root/crypto/x509/x509_v3.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>1999-12-02 02:33:56 +0000
committerDr. Stephen Henson <steve@openssl.org>1999-12-02 02:33:56 +0000
commitdd4134101fb41261b20fe47fdf9068c84e923102 (patch)
tree322439de2b7206640b18faa7eaa3a67943b18bf9 /crypto/x509/x509_v3.c
parent08cba61011cdf8519a1c7d1316fb27fc724b6945 (diff)
Change the trust and purpose code so it doesn't need init
either and has a static and dynamic mix.
Diffstat (limited to 'crypto/x509/x509_v3.c')
-rw-r--r--crypto/x509/x509_v3.c21
1 files changed, 0 insertions, 21 deletions
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;
-}