Skip to content

Commit 61e9644

Browse files
committed
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'
1 parent 3062de6 commit 61e9644

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/stupidgcm/locking.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ package stupidgcm
88
// has been removed completely in openssl 1.1.0.
99

1010
/*
11-
#include <openssl/evp.h>
11+
#include <openssl/crypto.h>
1212
#include <stdio.h>
1313
1414
static void dummy_callback(int mode, int n, const char *file, int line) {

0 commit comments

Comments
 (0)