From 61e964457d27cbe7cbedaa7bf81d1e78f685960b Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Fri, 14 Jul 2017 20:43:12 +0200 Subject: [PATCH] stupidgcm: fix openssl 1.1 build failure Fixed by including the correct header. Should work on older openssl versions as well. Error was: locking.go:21: undefined reference to `CRYPTO_set_locking_callback' --- internal/stupidgcm/locking.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/stupidgcm/locking.go b/internal/stupidgcm/locking.go index 952d669..68ab509 100644 --- a/internal/stupidgcm/locking.go +++ b/internal/stupidgcm/locking.go @@ -8,7 +8,7 @@ package stupidgcm // has been removed completely in openssl 1.1.0. /* -#include +#include #include static void dummy_callback(int mode, int n, const char *file, int line) {