diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-02-23 23:03:24 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-02-23 23:05:25 -0500 |
commit | 365e302f6153a99fc79b7bad8fafa1d61e839e55 (patch) | |
tree | 0531c91adde79e847808ed3768083c205967fe43 /src/common/crypto.c | |
parent | 337e32f5b8f5f3b310da20bf0135f17d06efb3ab (diff) | |
download | tor-365e302f6153a99fc79b7bad8fafa1d61e839e55.tar.gz tor-365e302f6153a99fc79b7bad8fafa1d61e839e55.zip |
Remove a bunch of unused macro definitions
Diffstat (limited to 'src/common/crypto.c')
-rw-r--r-- | src/common/crypto.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/crypto.c b/src/common/crypto.c index 22d57c7c8a..84688aee4c 100644 --- a/src/common/crypto.c +++ b/src/common/crypto.c @@ -113,8 +113,8 @@ crypto_get_rsa_padding_overhead(int padding) { switch (padding) { - case RSA_PKCS1_OAEP_PADDING: return 42; - case RSA_PKCS1_PADDING: return 11; + case RSA_PKCS1_OAEP_PADDING: return PKCS1_OAEP_PADDING_OVERHEAD; + case RSA_PKCS1_PADDING: return PKCS1_PADDING_OVERHEAD; default: tor_assert(0); return -1; } } |