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
|
#ifndef HEADER_DSA_H
|
||||||
#define HEADER_DSA_H
|
#define HEADER_DSA_H
|
||||||
|
|
||||||
|
#include <openssl/e_os2.h>
|
||||||
|
|
||||||
#ifdef OPENSSL_NO_DSA
|
#ifdef OPENSSL_NO_DSA
|
||||||
#error DSA is disabled.
|
#error DSA is disabled.
|
||||||
#endif
|
#endif
|
||||||
|
@ -69,6 +69,8 @@
|
|||||||
#define HASH EVP_sha1()
|
#define HASH EVP_sha1()
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <openssl/opensslconf.h> /* To see if OPENSSL_NO_SHA is defined */
|
||||||
|
|
||||||
#ifndef OPENSSL_NO_SHA
|
#ifndef OPENSSL_NO_SHA
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
@ -56,10 +56,10 @@
|
|||||||
* [including the GNU Public Licence.]
|
* [including the GNU Public Licence.]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef OPENSSL_NO_SHA
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include "cryptlib.h"
|
#include "cryptlib.h"
|
||||||
|
#ifndef OPENSSL_NO_SHA
|
||||||
#include <openssl/bn.h>
|
#include <openssl/bn.h>
|
||||||
#include <openssl/dsa.h>
|
#include <openssl/dsa.h>
|
||||||
#include <openssl/rand.h>
|
#include <openssl/rand.h>
|
||||||
|
@ -76,6 +76,7 @@
|
|||||||
#include <openssl/err.h>
|
#include <openssl/err.h>
|
||||||
#ifndef OPENSSL_NO_ENGINE
|
#ifndef OPENSSL_NO_ENGINE
|
||||||
#include <openssl/engine.h>
|
#include <openssl/engine.h>
|
||||||
|
#include <openssl/e_os2.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef OPENSSL_NO_DSA
|
#ifdef OPENSSL_NO_DSA
|
||||||
|
Loading…
x
Reference in New Issue
Block a user