summaryrefslogtreecommitdiff
path: root/lib/ssluse.c
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2004-12-14 20:25:23 +0000
committerDan Fandrich <dan@coneharvesters.com>2004-12-14 20:25:23 +0000
commit10d6d8b2ae93489d282dbf55b94b9150f4711388 (patch)
tree274548d1fd3d155e1637b0063fa2a80cd8709140 /lib/ssluse.c
parent358e08b95d57a1f688995b3b30a607645f01f80a (diff)
downloadcurl-10d6d8b2ae93489d282dbf55b94b9150f4711388.tar.gz
Header files are in openssl/ only if USE_OPENSSL is set.
Diffstat (limited to 'lib/ssluse.c')
-rw-r--r--lib/ssluse.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/ssluse.c b/lib/ssluse.c
index f86834370..887daeac4 100644
--- a/lib/ssluse.c
+++ b/lib/ssluse.c
@@ -52,8 +52,14 @@
#include <curl/mprintf.h>
#ifdef USE_SSLEAY
+
+#ifdef USE_OPENSSL
#include <openssl/rand.h>
#include <openssl/x509v3.h>
+#else
+#include <rand.h>
+#include <x509v3.h>
+#endif
#include "memory.h"