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 :-)
This commit is contained in:
Dr. Stephen Henson
2000-02-13 00:28:26 +00:00
parent bcba6cc60f
commit c9080477ec
2 changed files with 34 additions and 22 deletions

View File

@@ -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)