summaryrefslogtreecommitdiff
path: root/src/sys-crypto.h
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2018-09-26 08:23:36 -0400
committerGlenn Strauss <gstrauss@gluelogic.com>2018-09-26 08:23:36 -0400
commit233db8d6686d1ebca5a9ea40e6586c6aac33dc1d (patch)
tree58763730830b3b40a4fcf06c35eb7e37ef90b1df /src/sys-crypto.h
parent368630d9250f224204bbab7d0d6a2bfa265d2d5b (diff)
downloadlighttpd-git-233db8d6686d1ebca5a9ea40e6586c6aac33dc1d.tar.gz
[TLS] sys-crypto.h abstraction
(add the header)
Diffstat (limited to 'src/sys-crypto.h')
-rw-r--r--src/sys-crypto.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/sys-crypto.h b/src/sys-crypto.h
new file mode 100644
index 00000000..f4ad9dc3
--- /dev/null
+++ b/src/sys-crypto.h
@@ -0,0 +1,9 @@
+#ifndef LI_SYS_CRYPTO_H
+#define LI_SYS_CRYPTO_H
+#include "first.h"
+
+#if defined HAVE_LIBSSL && defined HAVE_OPENSSL_SSL_H
+#define USE_OPENSSL_CRYPTO
+#endif
+
+#endif