diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-04-25 15:28:58 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-04-25 15:28:58 -0400 |
commit | bff53aabce531d7786a7ce2d4dee818770d8d0cd (patch) | |
tree | 50862e68aac0ea92beddd291a0606a61044dcfc3 /src/common/crypto.c | |
parent | 26db1b65b92270953a6fa9e79697773fe2b73235 (diff) | |
download | tor-bff53aabce531d7786a7ce2d4dee818770d8d0cd.tar.gz tor-bff53aabce531d7786a7ce2d4dee818770d8d0cd.zip |
Remove redundant declarations of MIN
Apparently somewhere along the line we decided that MIN might be
missing.
But we already defined it (if it was missing) in compat.h, which
everybody includes.
Closes ticket 18889.
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 763488724c..65a575ebea 100644 --- a/src/common/crypto.c +++ b/src/common/crypto.c @@ -2384,8 +2384,6 @@ tor_check_dh_key(int severity, BIGNUM *bn) return -1; } -#undef MIN -#define MIN(a,b) ((a)<(b)?(a):(b)) /** Given a DH key exchange object, and our peer's value of g^y (as a * <b>pubkey_len</b>-byte value in <b>pubkey</b>) generate * <b>secret_bytes_out</b> bytes of shared key material and write them |