summaryrefslogtreecommitdiffstats
path: root/crypto/x509v3/v3_lib.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2000-02-13 00:28:26 +0000
committerDr. Stephen Henson <steve@openssl.org>2000-02-13 00:28:26 +0000
commitc9080477ec09fcdbccaf64ed0064dfd85a512c6e (patch)
tree11111f2219956918db49b9ca04c23b6c531ba939 /crypto/x509v3/v3_lib.c
parentbcba6cc60f8b44bec1232a32cd703dd032255a15 (diff)
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 :-)
Diffstat (limited to 'crypto/x509v3/v3_lib.c')
-rw-r--r--crypto/x509v3/v3_lib.c2
1 files changed, 1 insertions, 1 deletions
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)