diff options
author | miod <> | 2014-07-09 08:44:53 +0000 |
---|---|---|
committer | miod <> | 2014-07-09 08:44:53 +0000 |
commit | 80c7e473818aaeb7fb9171f571861d3445db5452 (patch) | |
tree | 0fe0376de6cf7b6cdc5dc2a821cc8ee3e7945605 /src/lib/libcrypto/rsa/rsa_eay.c | |
parent | 8cbe58f0d357b14b0ce292d336469d0554a567bc (diff) | |
download | openbsd-80c7e473818aaeb7fb9171f571861d3445db5452.tar.gz openbsd-80c7e473818aaeb7fb9171f571861d3445db5452.tar.bz2 openbsd-80c7e473818aaeb7fb9171f571861d3445db5452.zip |
RSA_NULL used to be a compile option allowing the RSA interfaces to be
compiled-in, with nonfunctional code, to be able to cope with the RSA
patent.
However, we don't use this option, and the RSA patent has expired more than 10
years ago, so just drop this piece.
Diffstat (limited to 'src/lib/libcrypto/rsa/rsa_eay.c')
-rw-r--r-- | src/lib/libcrypto/rsa/rsa_eay.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/libcrypto/rsa/rsa_eay.c b/src/lib/libcrypto/rsa/rsa_eay.c index 7b294e761e..06bd8ded96 100644 --- a/src/lib/libcrypto/rsa/rsa_eay.c +++ b/src/lib/libcrypto/rsa/rsa_eay.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: rsa_eay.c,v 1.29 2014/07/09 08:20:08 miod Exp $ */ | 1 | /* $OpenBSD: rsa_eay.c,v 1.30 2014/07/09 08:44:53 miod 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 | * |
@@ -115,8 +115,6 @@ | |||
115 | #include <openssl/rsa.h> | 115 | #include <openssl/rsa.h> |
116 | #include <openssl/rand.h> | 116 | #include <openssl/rand.h> |
117 | 117 | ||
118 | #ifndef RSA_NULL | ||
119 | |||
120 | static int RSA_eay_public_encrypt(int flen, const unsigned char *from, | 118 | static int RSA_eay_public_encrypt(int flen, const unsigned char *from, |
121 | unsigned char *to, RSA *rsa,int padding); | 119 | unsigned char *to, RSA *rsa,int padding); |
122 | static int RSA_eay_private_encrypt(int flen, const unsigned char *from, | 120 | static int RSA_eay_private_encrypt(int flen, const unsigned char *from, |
@@ -906,5 +904,3 @@ RSA_eay_finish(RSA *rsa) | |||
906 | BN_MONT_CTX_free(rsa->_method_mod_q); | 904 | BN_MONT_CTX_free(rsa->_method_mod_q); |
907 | return 1; | 905 | return 1; |
908 | } | 906 | } |
909 | |||
910 | #endif | ||