aboutsummaryrefslogtreecommitdiff
path: root/crypto/rsa
diff options
context:
space:
mode:
authorEmilia Kasper <emilia@openssl.org>2017-02-28 14:13:40 +0100
committerEmilia Kasper <emilia@openssl.org>2017-03-01 10:44:49 +0100
commit2f0ca54c32299638e5a1d7577112a7fc07774f00 (patch)
treea58e3dc0178e943d22447d4eb15feb7df18a05eb /crypto/rsa
parent06611d0a1623a1ce06275b6cdd7a270d9704bf37 (diff)
downloadopenssl-2f0ca54c32299638e5a1d7577112a7fc07774f00.zip
openssl-2f0ca54c32299638e5a1d7577112a7fc07774f00.tar.gz
openssl-2f0ca54c32299638e5a1d7577112a7fc07774f00.tar.bz2
Remove some obsolete/obscure internal define switches:
- FLAT_INC - PKCS1_CHECK (the SSL_OP_PKCS1_CHECK options have been no-oped) - PKCS_TESTVECT (debugging leftovers) - SSL_AD_MISSING_SRP_USERNAME (unfinished feature) - DTLS_AD_MISSING_HANDSHAKE_MESSAGE (unfinished feature) - USE_OBJ_MAC (note this removes a define from the public header but very unlikely someone would be depending on it) - SSL_FORBID_ENULL Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Stephen Henson <steve@openssl.org> Reviewed-by: Andy Polyakov <appro@openssl.org>
Diffstat (limited to 'crypto/rsa')
-rw-r--r--crypto/rsa/rsa_oaep.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/crypto/rsa/rsa_oaep.c b/crypto/rsa/rsa_oaep.c
index 868104f..d583d23 100644
--- a/crypto/rsa/rsa_oaep.c
+++ b/crypto/rsa/rsa_oaep.c
@@ -78,11 +78,6 @@ int RSA_padding_add_PKCS1_OAEP_mgf1(unsigned char *to, int tlen,
memcpy(db + emlen - flen - mdlen, from, (unsigned int)flen);
if (RAND_bytes(seed, mdlen) <= 0)
return 0;
-#ifdef PKCS_TESTVECT
- memcpy(seed,
- "\xaa\xfd\x12\xf6\x59\xca\xe6\x34\x89\xb4\x79\xe5\x07\x6d\xde\xc2\xf0\x6c\xb5\x8f",
- 20);
-#endif
dbmask = OPENSSL_malloc(emlen - mdlen);
if (dbmask == NULL) {