summaryrefslogtreecommitdiffstats
path: root/test/rsa_test.c
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 /test/rsa_test.c
parent06611d0a1623a1ce06275b6cdd7a270d9704bf37 (diff)
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 'test/rsa_test.c')
-rw-r--r--test/rsa_test.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/rsa_test.c b/test/rsa_test.c
index 7d06394c6c..a38be333ac 100644
--- a/test/rsa_test.c
+++ b/test/rsa_test.c
@@ -292,11 +292,7 @@ int main(int argc, char *argv[])
} else if (memcmp(ctext, ctext_ex, num) == 0)
printf("OAEP test vector %d passed!\n", v);
- /*
- * Different ciphertexts (rsa_oaep.c without -DPKCS_TESTVECT). Try
- * decrypting ctext_ex
- */
-
+ /* Different ciphertexts. Try decrypting ctext_ex */
num = RSA_private_decrypt(clen, ctext_ex, ptext, key,
RSA_PKCS1_OAEP_PADDING);