diff options
author | Rich Salz <rsalz@akamai.com> | 2015-07-02 08:49:54 -0400 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2015-07-16 01:06:48 -0400 |
commit | 0bc2f365558ed5980ce87d6b2704ca8649ca2a4a (patch) | |
tree | 65f840378f1c01678812874a251b9c40824c51fa /apps/x509.c | |
parent | 31d6c0b2b043bad5c63b797a327109eb26ff8d2a (diff) |
Remove obsolete key formats.
Remove support for RSA_NET and Netscape key format (-keyform n).
Also removed documentation of SGC.
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Diffstat (limited to 'apps/x509.c')
-rw-r--r-- | apps/x509.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/apps/x509.c b/apps/x509.c index 18e13e7921..2fd92f4dcf 100644 --- a/apps/x509.c +++ b/apps/x509.c @@ -913,16 +913,6 @@ int x509_main(int argc, char **argv) i = PEM_write_bio_X509_AUX(out, x); else i = PEM_write_bio_X509(out, x); - } else if (outformat == FORMAT_NETSCAPE) { - NETSCAPE_X509 nx; - ASN1_OCTET_STRING hdr; - - hdr.data = (unsigned char *)NETSCAPE_CERT_HDR; - hdr.length = strlen(NETSCAPE_CERT_HDR); - nx.header = &hdr; - nx.cert = x; - - i = ASN1_item_i2d_bio(ASN1_ITEM_rptr(NETSCAPE_X509), out, &nx); } else { BIO_printf(bio_err, "bad output format specified for outfile\n"); goto end; |