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'
This commit is contained in:
parent
3062de6187
commit
61e964457d
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user