diff options
author | Arlo Breault <arlolra@gmail.com> | 2013-05-16 12:05:50 -0700 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-05-17 10:11:33 -0400 |
commit | 0ab38b93660b4c9cb53771a454805e978ad9f406 (patch) | |
tree | 5efcd897310a37b85ad5435e8437cfab7dd92ec0 /src/common/crypto.c | |
parent | 95c34399cfb66a46371562f1532e8aa396243876 (diff) | |
download | tor-0ab38b93660b4c9cb53771a454805e978ad9f406.tar.gz tor-0ab38b93660b4c9cb53771a454805e978ad9f406.zip |
Remove PK_PKCS1_PADDING
See #8792
Diffstat (limited to 'src/common/crypto.c')
-rw-r--r-- | src/common/crypto.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/common/crypto.c b/src/common/crypto.c index 31a0df1ed7..bda1ed0c33 100644 --- a/src/common/crypto.c +++ b/src/common/crypto.c @@ -114,7 +114,6 @@ crypto_get_rsa_padding_overhead(int padding) switch (padding) { case RSA_PKCS1_OAEP_PADDING: return PKCS1_OAEP_PADDING_OVERHEAD; - case RSA_PKCS1_PADDING: return PKCS1_PADDING_OVERHEAD; default: tor_assert(0); return -1; } } @@ -126,7 +125,6 @@ crypto_get_rsa_padding(int padding) { switch (padding) { - case PK_PKCS1_PADDING: return RSA_PKCS1_PADDING; case PK_PKCS1_OAEP_PADDING: return RSA_PKCS1_OAEP_PADDING; default: tor_assert(0); return -1; } |