projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be21fe5
)
Cleanup ASN1 OID module when it exits.
author
Dr. Stephen Henson
<steve@openssl.org>
Fri, 5 Mar 2004 23:47:39 +0000
(23:47 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Fri, 5 Mar 2004 23:47:39 +0000
(23:47 +0000)
crypto/asn1/asn_moid.c
patch
|
blob
|
history
diff --git
a/crypto/asn1/asn_moid.c
b/crypto/asn1/asn_moid.c
index be20db4bad7fed9f2208c4cae20388d91621499d..edb44c988f081ff6ea6c631733e91a428d95c6f7 100644
(file)
--- a/
crypto/asn1/asn_moid.c
+++ b/
crypto/asn1/asn_moid.c
@@
-87,9
+87,14
@@
static int oid_module_init(CONF_IMODULE *md, const CONF *cnf)
}
}
return 1;
-}
+ }
+
+static void oid_module_finish(CONF_IMODULE *md)
+ {
+ OBJ_cleanup();
+ }
void ASN1_add_oid_module(void)
{
- CONF_module_add("oid_section", oid_module_init,
0
);
+ CONF_module_add("oid_section", oid_module_init,
oid_module_finish
);
}