mirror of
https://github.com/moparisthebest/curl
synced 2025-02-28 17:31:46 -05:00
OpenSSL enabled: require OPENSSL_VERSION_NUMBER definition before usage.
This commit is contained in:
parent
aa76dec33a
commit
970117ef2d
@ -83,6 +83,10 @@
|
|||||||
# include <rand.h>
|
# include <rand.h>
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
|
#ifndef OPENSSL_VERSION_NUMBER
|
||||||
|
#error "OPENSSL_VERSION_NUMBER not defined"
|
||||||
|
#endif
|
||||||
|
|
||||||
#if OPENSSL_VERSION_NUMBER < 0x00907001L
|
#if OPENSSL_VERSION_NUMBER < 0x00907001L
|
||||||
#define DES_key_schedule des_key_schedule
|
#define DES_key_schedule des_key_schedule
|
||||||
#define DES_cblock des_cblock
|
#define DES_cblock des_cblock
|
||||||
|
@ -76,6 +76,10 @@
|
|||||||
/* The last #include file should be: */
|
/* The last #include file should be: */
|
||||||
#include "memdebug.h"
|
#include "memdebug.h"
|
||||||
|
|
||||||
|
#ifndef OPENSSL_VERSION_NUMBER
|
||||||
|
#error "OPENSSL_VERSION_NUMBER not defined"
|
||||||
|
#endif
|
||||||
|
|
||||||
#if OPENSSL_VERSION_NUMBER >= 0x0090581fL
|
#if OPENSSL_VERSION_NUMBER >= 0x0090581fL
|
||||||
#define HAVE_SSL_GET1_SESSION 1
|
#define HAVE_SSL_GET1_SESSION 1
|
||||||
#else
|
#else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user