diff options
author | Rich Salz <rsalz@akamai.com> | 2016-01-31 13:08:23 -0500 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-02-09 20:13:29 -0500 |
commit | effaf4dee90beff07bb40f21d81352304a5e8152 (patch) | |
tree | 4bc77d1b1998e6fac62b3a5967a223376cb47111 /crypto/dsa | |
parent | 1ffa8a9685e22a5a0ff1b1322df4d1720b05ce4c (diff) |
Use NON_EMPTY_TRANSLATION_UNIT, consistently.
This also closes RT 4123
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/dsa')
-rw-r--r-- | crypto/dsa/dsa_depr.c | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/crypto/dsa/dsa_depr.c b/crypto/dsa/dsa_depr.c index e02c10296c..f50fcc01ee 100644 --- a/crypto/dsa/dsa_depr.c +++ b/crypto/dsa/dsa_depr.c @@ -64,19 +64,20 @@ */ #define xxxHASH EVP_sha1() -static void *dummy = &dummy; - -#include <stdio.h> -#include <time.h> -#include "internal/cryptlib.h" -#include <openssl/evp.h> -#include <openssl/bn.h> -#include <openssl/dsa.h> -#include <openssl/rand.h> -#include <openssl/sha.h> #include <openssl/opensslconf.h> +#if OPENSSL_API_COMPAT >= 0x00908000L +NON_EMPTY_TRANSLATION_UNIT +#else + +# include <stdio.h> +# include <time.h> +# include "internal/cryptlib.h" +# include <openssl/evp.h> +# include <openssl/bn.h> +# include <openssl/dsa.h> +# include <openssl/rand.h> +# include <openssl/sha.h> -#if OPENSSL_API_COMPAT < 0x00908000L DSA *DSA_generate_parameters(int bits, unsigned char *seed_in, int seed_len, int *counter_ret, unsigned long *h_ret, |