|
@@ -19,12 +19,27 @@
|
|
|
# include <openssl/opensslconf.h>
|
|
|
# include <openssl/types.h>
|
|
|
|
|
|
+# include <stdlib.h>
|
|
|
+
|
|
|
+# ifndef OPENSSL_NO_DSA
|
|
|
+# include <openssl/e_os2.h>
|
|
|
+# include <openssl/asn1.h>
|
|
|
+# include <openssl/bio.h>
|
|
|
+# include <openssl/crypto.h>
|
|
|
+# include <openssl/bn.h>
|
|
|
+# ifndef OPENSSL_NO_DEPRECATED_1_1_0
|
|
|
+# include <openssl/dh.h>
|
|
|
+# endif
|
|
|
+# include <openssl/dsaerr.h>
|
|
|
+# ifndef OPENSSL_NO_STDIO
|
|
|
+# include <stdio.h>
|
|
|
+# endif
|
|
|
+# endif
|
|
|
+
|
|
|
# ifdef __cplusplus
|
|
|
extern "C" {
|
|
|
# endif
|
|
|
|
|
|
-# include <stdlib.h>
|
|
|
-
|
|
|
int EVP_PKEY_CTX_set_dsa_paramgen_bits(EVP_PKEY_CTX *ctx, int nbits);
|
|
|
int EVP_PKEY_CTX_set_dsa_paramgen_q_bits(EVP_PKEY_CTX *ctx, int qbits);
|
|
|
int EVP_PKEY_CTX_set_dsa_paramgen_md_props(EVP_PKEY_CTX *ctx,
|
|
@@ -42,16 +57,6 @@ int EVP_PKEY_CTX_set_dsa_paramgen_md(EVP_PKEY_CTX *ctx, const EVP_MD *md);
|
|
|
# define EVP_PKEY_CTRL_DSA_PARAMGEN_MD (EVP_PKEY_ALG_CTRL + 3)
|
|
|
|
|
|
# ifndef OPENSSL_NO_DSA
|
|
|
-# include <openssl/e_os2.h>
|
|
|
-# include <openssl/asn1.h>
|
|
|
-# include <openssl/bio.h>
|
|
|
-# include <openssl/crypto.h>
|
|
|
-# include <openssl/bn.h>
|
|
|
-# ifndef OPENSSL_NO_DEPRECATED_1_1_0
|
|
|
-# include <openssl/dh.h>
|
|
|
-# endif
|
|
|
-# include <openssl/dsaerr.h>
|
|
|
-
|
|
|
# ifndef OPENSSL_DSA_MAX_MODULUS_BITS
|
|
|
# define OPENSSL_DSA_MAX_MODULUS_BITS 10000
|
|
|
# endif
|