|
@@ -64,19 +64,20 @@
|
|
*/
|
|
*/
|
|
#define xxxHASH EVP_sha1()
|
|
#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>
|
|
#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,
|
|
DSA *DSA_generate_parameters(int bits,
|
|
unsigned char *seed_in, int seed_len,
|
|
unsigned char *seed_in, int seed_len,
|
|
int *counter_ret, unsigned long *h_ret,
|
|
int *counter_ret, unsigned long *h_ret,
|