diff options
author | David Benjamin <davidben@chromium.org> | 2014-07-18 23:09:26 +0400 |
---|---|---|
committer | Adam Langley <agl@google.com> | 2014-07-18 23:23:51 +0400 |
commit | e14dcc45e879807422c0497c7b6a4dcb92ad2a54 (patch) | |
tree | a3e1531aa5104b470854cc12d998bdcae32195e2 /crypto/evp | |
parent | 37a623cf2932b8e7de6c6d58d1a6ce81c4b9f56e (diff) |
Remove RSA_SSLV23_PADDING.
It's unused with SSLv2 gone. Also, being a decryption padding check, it really
should be constant-time and isn't.
Change-Id: I96be02cb50f9bf0229b9174eccd80fa338bf8e3e
Reviewed-on: https://boringssl-review.googlesource.com/1254
Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'crypto/evp')
-rw-r--r-- | crypto/evp/p_rsa.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/crypto/evp/p_rsa.c b/crypto/evp/p_rsa.c index 4858b908..458b606e 100644 --- a/crypto/evp/p_rsa.c +++ b/crypto/evp/p_rsa.c @@ -361,7 +361,6 @@ static int check_padding_md(const EVP_MD *md, int padding) { static int is_known_padding(int padding_mode) { switch (padding_mode) { case RSA_PKCS1_PADDING: - case RSA_SSLV23_PADDING: case RSA_NO_PADDING: case RSA_PKCS1_OAEP_PADDING: case RSA_PKCS1_PSS_PADDING: |