summaryrefslogtreecommitdiff
path: root/methods/https.h
diff options
context:
space:
mode:
Diffstat (limited to 'methods/https.h')
-rw-r--r--methods/https.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/methods/https.h b/methods/https.h
index 4d50c5a04..74b86a24f 100644
--- a/methods/https.h
+++ b/methods/https.h
@@ -11,8 +11,6 @@
#ifndef APT_HTTPS_H
#define APT_HTTPS_H
-#include <apt-pkg/acquire-method.h>
-
#include <curl/curl.h>
#include <iostream>
#include <stddef.h>
@@ -82,6 +80,7 @@ class HttpsMethod : public ServerMethod
HttpsMethod() : ServerMethod("https","1.2",Pipeline | SendConfig)
{
+ curl_global_init(CURL_GLOBAL_SSL);
curl = curl_easy_init();
};