mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
17 lines
477 B
Plaintext
17 lines
477 B
Plaintext
Fix build with opaque HMAC_CTX in LibreSSL 3.5. The relevant API has
|
|
been available since LibreSSL 2.7.
|
|
|
|
Index: src/crypto.c
|
|
--- src/crypto.c.orig
|
|
+++ src/crypto.c
|
|
@@ -218,8 +218,7 @@ void calc_mic(struct AP_info * ap,
|
|
{
|
|
int i;
|
|
unsigned char pke[100];
|
|
-#if defined(USE_GCRYPT) || OPENSSL_VERSION_NUMBER < 0x10100000L \
|
|
- || defined(LIBRESSL_VERSION_NUMBER)
|
|
+#if defined(USE_GCRYPT) || OPENSSL_VERSION_NUMBER < 0x10100000L
|
|
#define HMAC_USE_NO_PTR
|
|
#endif
|
|
|