diff options
author | tb <> | 2022-01-14 08:12:31 +0000 |
---|---|---|
committer | tb <> | 2022-01-14 08:12:31 +0000 |
commit | c98675a805223ddb12c232cfb308c2ae2f0c1ceb (patch) | |
tree | 9cb61a25c449a43924de040ce7472eab7059a851 /src/lib/libcrypto/rsa/rsa.h | |
parent | 5d4d6a909f8b3bd3525af1b1ae9d89f9cb5dd883 (diff) | |
download | openbsd-c98675a805223ddb12c232cfb308c2ae2f0c1ceb.tar.gz openbsd-c98675a805223ddb12c232cfb308c2ae2f0c1ceb.tar.bz2 openbsd-c98675a805223ddb12c232cfb308c2ae2f0c1ceb.zip |
Remove obsolete key formats
This removes NETSCAPE_X509, NETSCAPE{,_ENCRYPTED}_PKEY, RSA_NET,
Netscape_RSA things. Some of the nasty tentacles that could go in
principle are used in some test suites, so we need to keep them...
All this was removed as part of OpenSSL commit 0bc2f365.
ok inoguchi jsing
Diffstat (limited to 'src/lib/libcrypto/rsa/rsa.h')
-rw-r--r-- | src/lib/libcrypto/rsa/rsa.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/lib/libcrypto/rsa/rsa.h b/src/lib/libcrypto/rsa/rsa.h index daefcb85b2..e01e6ba553 100644 --- a/src/lib/libcrypto/rsa/rsa.h +++ b/src/lib/libcrypto/rsa/rsa.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: rsa.h,v 1.53 2022/01/14 07:49:49 tb Exp $ */ | 1 | /* $OpenBSD: rsa.h,v 1.54 2022/01/14 08:12:31 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -380,18 +380,6 @@ int RSA_print_fp(FILE *fp, const RSA *r, int offset); | |||
380 | int RSA_print(BIO *bp, const RSA *r, int offset); | 380 | int RSA_print(BIO *bp, const RSA *r, int offset); |
381 | #endif | 381 | #endif |
382 | 382 | ||
383 | #ifndef OPENSSL_NO_RC4 | ||
384 | int i2d_RSA_NET(const RSA *a, unsigned char **pp, | ||
385 | int (*cb)(char *buf, int len, const char *prompt, int verify), int sgckey); | ||
386 | RSA *d2i_RSA_NET(RSA **a, const unsigned char **pp, long length, | ||
387 | int (*cb)(char *buf, int len, const char *prompt, int verify), int sgckey); | ||
388 | |||
389 | int i2d_Netscape_RSA(const RSA *a, unsigned char **pp, | ||
390 | int (*cb)(char *buf, int len, const char *prompt, int verify)); | ||
391 | RSA *d2i_Netscape_RSA(RSA **a, const unsigned char **pp, long length, | ||
392 | int (*cb)(char *buf, int len, const char *prompt, int verify)); | ||
393 | #endif | ||
394 | |||
395 | /* The following 2 functions sign and verify a X509_SIG ASN1 object | 383 | /* The following 2 functions sign and verify a X509_SIG ASN1 object |
396 | * inside PKCS#1 padded RSA encryption */ | 384 | * inside PKCS#1 padded RSA encryption */ |
397 | int RSA_sign(int type, const unsigned char *m, unsigned int m_length, | 385 | int RSA_sign(int type, const unsigned char *m, unsigned int m_length, |