diff options
author | Richard Levitte <levitte@openssl.org> | 2015-10-22 23:45:45 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2015-10-22 23:45:45 +0200 |
commit | 5212d39bd92ede18b22fe8173e724a7eac35cb8a (patch) | |
tree | c3aa342a692e750cb9fa6eb650def7a90c710b6a /crypto | |
parent | 489eb74090a6327454f4a53213480eaa6659704b (diff) | |
download | openssl-5212d39bd92ede18b22fe8173e724a7eac35cb8a.tar.gz |
Only include SRP headers when OPENSSL_NO_SRP is undefined
[fixes github issue #447]
Reviewed-by: Tim Hudson <tjh@openssl.org>
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/bn/bn_srp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crypto/bn/bn_srp.c b/crypto/bn/bn_srp.c index c575e6a245..a1e438c71a 100644 --- a/crypto/bn/bn_srp.c +++ b/crypto/bn/bn_srp.c @@ -1,10 +1,11 @@ #include "bn_lcl.h" #include "e_os.h" -#include <openssl/srp.h> -#include <internal/bn_srp.h> #ifndef OPENSSL_NO_SRP +#include <openssl/srp.h> +#include <internal/bn_srp.h> + # if (BN_BYTES == 8) # if (defined(_WIN32) || defined(_WIN64)) && !defined(__MINGW32__) # define bn_pack4(a1,a2,a3,a4) ((a1##UI64<<48)|(a2##UI64<<32)|(a3##UI64<<16)|a4##UI64) |