Remove #error from include files.
Don't have #error statements in header files, but instead wrap the contents of that file in #ifndef OPENSSL_NO_xxx This means it is now always safe to include the header file. Reviewed-by: Richard Levitte <levitte@openssl.org>
This commit is contained in:
@@ -62,15 +62,13 @@
|
||||
*/
|
||||
#define xxxHASH EVP_sha1()
|
||||
|
||||
#include <openssl/opensslconf.h> /* To see if OPENSSL_NO_SHA is defined */
|
||||
|
||||
#include <openssl/opensslconf.h>
|
||||
#include <stdio.h>
|
||||
#include "internal/cryptlib.h"
|
||||
#include <openssl/evp.h>
|
||||
#include <openssl/bn.h>
|
||||
#include <openssl/rand.h>
|
||||
#include <openssl/sha.h>
|
||||
|
||||
#include "dsa_locl.h"
|
||||
|
||||
int DSA_generate_parameters_ex(DSA *ret, int bits,
|
||||
|
||||
Reference in New Issue
Block a user