diff options
author | Rich Salz <rsalz@akamai.com> | 2015-07-02 14:49:54 +0200 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2015-07-16 07:06:48 +0200 |
commit | 0bc2f365558ed5980ce87d6b2704ca8649ca2a4a (patch) | |
tree | 65f840378f1c01678812874a251b9c40824c51fa /apps/rsa.c | |
parent | Fix author credit for e5c0bc6 (diff) | |
download | openssl-0bc2f365558ed5980ce87d6b2704ca8649ca2a4a.tar.xz openssl-0bc2f365558ed5980ce87d6b2704ca8649ca2a4a.zip |
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/rsa.c')
-rw-r--r-- | apps/rsa.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/apps/rsa.c b/apps/rsa.c index f6961d9baf..c7ad44b75d 100644 --- a/apps/rsa.c +++ b/apps/rsa.c @@ -352,19 +352,6 @@ int rsa_main(int argc, char **argv) i = i2d_RSAPrivateKey_bio(out, rsa); } } -# ifndef OPENSSL_NO_RC4 - else if (outformat == FORMAT_NETSCAPE) { - unsigned char *p, *save; - int size = i2d_RSA_NET(rsa, NULL, NULL, 0); - - save = p = app_malloc(size, "RSA i2d buffer"); - assert(private); - i2d_RSA_NET(rsa, &p, NULL, 0); - BIO_write(out, (char *)save, size); - OPENSSL_free(save); - i = 1; - } -# endif else if (outformat == FORMAT_PEM) { if (pubout || pubin) { if (pubout == 2) |