diff options
author | Jakob Unterwurzacher | 2017-07-14 20:43:12 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2017-07-14 20:44:07 +0200 |
commit | 61e964457d27cbe7cbedaa7bf81d1e78f685960b (patch) | |
tree | adbc581c9b0c995bbd7245f206af09ed607b50f1 /internal/stupidgcm | |
parent | 3062de6187990f9b4f669ecd9dffdd48ee0d778f (diff) |
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'
Diffstat (limited to 'internal/stupidgcm')
-rw-r--r-- | internal/stupidgcm/locking.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 <openssl/evp.h> +#include <openssl/crypto.h> #include <stdio.h> static void dummy_callback(int mode, int n, const char *file, int line) { |