mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-06-22 05:06:08 +08:00
wrap optional headers with OPENSSL_NO_ macro
This commit is contained in:
@@ -52,10 +52,14 @@
|
||||
#include <openssl/bio.h>
|
||||
#include <openssl/evp.h>
|
||||
#include <openssl/x509.h>
|
||||
#include <openssl/pkcs7.h>
|
||||
#ifndef OPENSSL_NO_PKCS7
|
||||
# include <openssl/pkcs7.h>
|
||||
#endif
|
||||
#include <openssl/pem.h>
|
||||
#include <openssl/pem3.h>
|
||||
#include <openssl/paillier.h>
|
||||
#ifndef OPENSSL_NO_PAILLIER
|
||||
# include <openssl/paillier.h>
|
||||
#endif
|
||||
|
||||
/*
|
||||
extern PAILLIER *EVP_PKEY_get1_PAILLIER(EVP_PKEY *key);
|
||||
|
||||
@@ -22,7 +22,9 @@
|
||||
#ifndef OPENSSL_NO_DES
|
||||
# include <openssl/des.h>
|
||||
#endif
|
||||
#include <openssl/engine.h>
|
||||
#ifndef OPENSSL_NO_ENGINE
|
||||
# include <openssl/engine.h>
|
||||
#endif
|
||||
|
||||
#define MIN_LENGTH 4
|
||||
|
||||
|
||||
@@ -15,7 +15,9 @@
|
||||
#include <openssl/x509.h>
|
||||
#include <openssl/pkcs12.h>
|
||||
#include <openssl/pem.h>
|
||||
#include <openssl/engine.h>
|
||||
#ifndef OPENSSL_NO_ENGINE
|
||||
# include <openssl/engine.h>
|
||||
#endif
|
||||
#ifndef OPENSSL_NO_DH
|
||||
# include <openssl/dh.h>
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user