From c9080477ec09fcdbccaf64ed0064dfd85a512c6e Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Sun, 13 Feb 2000 00:28:26 +0000 Subject: Modernise 'selfsign.c' to use new X509_NAME code and add example of extension aliasing. Also fix the extension aliasing because it didn't work :-) --- crypto/x509v3/v3_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crypto/x509v3/v3_lib.c') diff --git a/crypto/x509v3/v3_lib.c b/crypto/x509v3/v3_lib.c index a709d6d668..4242d130a2 100644 --- a/crypto/x509v3/v3_lib.c +++ b/crypto/x509v3/v3_lib.c @@ -132,7 +132,7 @@ int X509V3_EXT_add_alias(int nid_to, int nid_from) *tmpext = *ext; tmpext->ext_nid = nid_to; tmpext->ext_flags |= X509V3_EXT_DYNAMIC; - return 1; + return X509V3_EXT_add(tmpext); } void X509V3_EXT_cleanup(void) -- cgit v1.2.1