projects
/
ircu2.10.12-pk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added gnutls backend and moved backend code into new files
[ircu2.10.12-pk.git]
/
include
/
ssl.h
diff --git
a/include/ssl.h
b/include/ssl.h
index db4cad0f50fcc46f363a36e8e08e1034a80c5cca..03494cbc9231e9fcd8b54b0d563dbbed6962475f 100644
(file)
--- a/
include/ssl.h
+++ b/
include/ssl.h
@@
-24,7
+24,7
@@
enum SSLDataType {
SSLData_Client
};
SSLData_Client
};
-#if defined(HAVE_GNUTLS
_GNUTLS_H
)
+#if defined(HAVE_GNUTLS)
#include <gnutls/gnutls.h>
struct SSLConnection {
#include <gnutls/gnutls.h>
struct SSLConnection {
@@
-39,7
+39,7
@@
struct SSLListener {
gnutls_certificate_credentials_t credentials;
};
gnutls_certificate_credentials_t credentials;
};
-#elif defined(HAVE_OPENSSL
_SSL_H
)
+#elif defined(HAVE_OPENSSL)
#include <openssl/rand.h>
#include <openssl/ssl.h>
#include <openssl/err.h>
#include <openssl/rand.h>
#include <openssl/ssl.h>
#include <openssl/err.h>