diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2000-02-13 00:28:26 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2000-02-13 00:28:26 +0000 |
commit | c9080477ec09fcdbccaf64ed0064dfd85a512c6e (patch) | |
tree | 11111f2219956918db49b9ca04c23b6c531ba939 /crypto/x509v3/v3_lib.c | |
parent | bcba6cc60f8b44bec1232a32cd703dd032255a15 (diff) | |
download | openssl-new-c9080477ec09fcdbccaf64ed0064dfd85a512c6e.tar.gz |
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.c | 2 |
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) |