aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2015-03-28 11:30:46 +0000
committerlloyd <[email protected]>2015-03-28 11:30:46 +0000
commitfe954911a5f6ac1cd7346ef8f8ee790b90420f7f (patch)
tree20d31297d5a8fc8e7ce0141ed2bf4d9d092a0285
parentec65252c7128fb376bf77bbc274ea78a789b479f (diff)
Disable OpenSSL RSA by default until the test issues are worked out
(OpenSSL's PKCS/OAEP padding code naturally ignores our RNG, so we cannot fix the nonces for encryption).
-rw-r--r--src/lib/vendor/openssl/openssl_rsa.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/vendor/openssl/openssl_rsa.cpp b/src/lib/vendor/openssl/openssl_rsa.cpp
index 42298621e..6055039b5 100644
--- a/src/lib/vendor/openssl/openssl_rsa.cpp
+++ b/src/lib/vendor/openssl/openssl_rsa.cpp
@@ -139,9 +139,9 @@ class OpenSSL_RSA_Decryption_Operation : public PK_Ops::Decryption
};
BOTAN_REGISTER_TYPE(PK_Ops::Encryption, OpenSSL_RSA_Encryption_Operation, "RSA",
- OpenSSL_RSA_Encryption_Operation::make, "openssl", 96);
+ OpenSSL_RSA_Encryption_Operation::make, "openssl", 255);
BOTAN_REGISTER_TYPE(PK_Ops::Decryption, OpenSSL_RSA_Decryption_Operation, "RSA",
- OpenSSL_RSA_Decryption_Operation::make, "openssl", 96);
+ OpenSSL_RSA_Decryption_Operation::make, "openssl", 255);
}