#define SQUID_SRC_SECURITY_CONTEXT_H
#if USE_OPENSSL
-#include "ssl/gadgets.h"
+#if HAVE_OPENSSL_SSL_H
+#include <openssl/ssl.h>
+#endif
+#endif
+
+#if USE_GNUTLS
+#if HAVE_GNUTLS_GNUTLS_H
+#include <gnutls/gnutls.h>
+#endif
#endif
namespace Security {
#if USE_OPENSSL
-// XXX: make this a SSL_CTX_Pointer
typedef SSL_CTX* ContextPointer;
+#elif USE_GNUTLS
+typedef gnutls_certificate_credentials_t* ContextPointer;
+
#else
// use void* so we can check against NULL
typedef void* ContextPointer;