double include protection
This commit is contained in:
@@ -1,11 +1,14 @@
|
|||||||
|
#ifndef __crypto_header__
|
||||||
|
#define __crypto_header__
|
||||||
|
|
||||||
#ifndef PACKAGE_NAME
|
#ifndef PACKAGE_NAME
|
||||||
#error "need config.h"
|
#error "need config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE__OPENSSL
|
#ifdef HAVE_OPENSSL
|
||||||
#ifndef OPENSSL_DES_LIBDES_COMPATIBILITY
|
|
||||||
#define OPENSSL_DES_LIBDES_COMPATIBILITY
|
#define OPENSSL_DES_LIBDES_COMPATIBILITY
|
||||||
#endif
|
|
||||||
#include <openssl/evp.h>
|
#include <openssl/evp.h>
|
||||||
#include <openssl/des.h>
|
#include <openssl/des.h>
|
||||||
#include <openssl/rc4.h>
|
#include <openssl/rc4.h>
|
||||||
@@ -52,3 +55,5 @@
|
|||||||
#include <hcrypto/ecdh.h>
|
#include <hcrypto/ecdh.h>
|
||||||
|
|
||||||
#endif /* HAVE_OPENSSL */
|
#endif /* HAVE_OPENSSL */
|
||||||
|
|
||||||
|
#endif /* __crypto_header__ */
|
||||||
|
Reference in New Issue
Block a user