summaryrefslogtreecommitdiff
path: root/src/streams
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2020-05-13 10:39:33 +0100
committerEdward Thomson <ethomson@edwardthomson.com>2020-10-11 14:43:35 +0100
commit6554b40e42df831d7fc9c623d34b2738227dd8a2 (patch)
tree52b0fdeedbdd39ae8b45d833fdd41a5d6bc32716 /src/streams
parent521aa8c1c04c25a57b82e1279a4e91d8a07436aa (diff)
downloadlibgit2-6554b40e42df831d7fc9c623d34b2738227dd8a2.tar.gz
settings: localize global data
Move the settings global data teardown into its own separate function, instead of intermingled with the global state.
Diffstat (limited to 'src/streams')
-rw-r--r--src/streams/openssl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/streams/openssl.c b/src/streams/openssl.c
index 6a490d17d..58265c1ec 100644
--- a/src/streams/openssl.c
+++ b/src/streams/openssl.c
@@ -12,6 +12,7 @@
#include <ctype.h>
#include "global.h"
+#include "settings.h"
#include "posix.h"
#include "stream.h"
#include "streams/socket.h"