Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Martín Nieto <carlos@cmartin.tk>2012-05-17 23:40:20 +0400
committerCarlos Martín Nieto <carlos@cmartin.tk>2012-05-19 19:51:53 +0400
commitd3e1367f61030f78692fb9f02e82cd49b1f8e949 (patch)
treee43c4b09137dbb2a0e470b6867fd4ffa4c55a5ae /src/common.h
parent16768191c739e6478db95b80a51753dfd0662302 (diff)
ssl: remove GnuTLS support
It's too much work for now to redo everything. Move the ssl context struct to transport.h
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/common.h b/src/common.h
index 30865659c..e2a300291 100644
--- a/src/common.h
+++ b/src/common.h
@@ -20,13 +20,6 @@
#include <sys/types.h>
#include <sys/stat.h>
-#ifdef GIT_GNUTLS
-# include <gnutls/gnutls.h>
-#elif defined(GIT_OPENSSL)
-# include <openssl/ssl.h>
-# include <openssl/err.h>
-#endif
-
#ifdef GIT_WIN32
# include <io.h>
@@ -72,18 +65,6 @@ void giterr_clear(void);
void giterr_set_str(int error_class, const char *string);
void giterr_set_regex(const regex_t *regex, int error_code);
-#ifdef GIT_GNUTLS
-typedef struct gitno_ssl {
- gnutls_session_t session;
- gnutls_certificate_credentials_t cred;
-} gitno_ssl;
-#elif defined(GIT_OPENSSL)
-typedef struct gitno_ssl {
- SSL_CTX *ctx;
- SSL *ssl;
-} gitno_ssl;
-#endif
-
#include "util.h"