Make sure we get the definition of OPENSSL_NO_DSA and OPENSSL_NO_SHA.
This commit is contained in:
parent
d3ae5b1c8a
commit
751ff1d376
@ -65,6 +65,8 @@
|
||||
#ifndef HEADER_DSA_H
|
||||
#define HEADER_DSA_H
|
||||
|
||||
#include <openssl/e_os2.h>
|
||||
|
||||
#ifdef OPENSSL_NO_DSA
|
||||
#error DSA is disabled.
|
||||
#endif
|
||||
|
@ -69,6 +69,8 @@
|
||||
#define HASH EVP_sha1()
|
||||
#endif
|
||||
|
||||
#include <openssl/opensslconf.h> /* To see if OPENSSL_NO_SHA is defined */
|
||||
|
||||
#ifndef OPENSSL_NO_SHA
|
||||
|
||||
#include <stdio.h>
|
||||
|
@ -56,10 +56,10 @@
|
||||
* [including the GNU Public Licence.]
|
||||
*/
|
||||
|
||||
#ifndef OPENSSL_NO_SHA
|
||||
#include <stdio.h>
|
||||
#include <time.h>
|
||||
#include "cryptlib.h"
|
||||
#ifndef OPENSSL_NO_SHA
|
||||
#include <openssl/bn.h>
|
||||
#include <openssl/dsa.h>
|
||||
#include <openssl/rand.h>
|
||||
|
@ -76,6 +76,7 @@
|
||||
#include <openssl/err.h>
|
||||
#ifndef OPENSSL_NO_ENGINE
|
||||
#include <openssl/engine.h>
|
||||
#include <openssl/e_os2.h>
|
||||
#endif
|
||||
|
||||
#ifdef OPENSSL_NO_DSA
|
||||
|
Loading…
x
Reference in New Issue
Block a user