mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-27 02:31:42 +01:00
12 lines
396 B
Diff
12 lines
396 B
Diff
--- a/tsig-openssl.c
|
|
+++ b/tsig-openssl.c
|
|
@@ -117,7 +117,7 @@
|
|
#ifndef HAVE_EVP_MAC_CTX_NEW
|
|
algorithm->maximum_digest_size = EVP_MD_size(hmac_algorithm);
|
|
#else
|
|
- algorithm->maximum_digest_size = EVP_MAC_size(hmac_ctx);
|
|
+ algorithm->maximum_digest_size = EVP_MAC_CTX_get_mac_size(hmac_ctx);
|
|
#endif
|
|
if(algorithm->maximum_digest_size < 20)
|
|
algorithm->maximum_digest_size = EVP_MAX_MD_SIZE;
|