From 5caac33e12a36e95cc0bc8f78de3912d0b8a9288 Mon Sep 17 00:00:00 2001 From: Aki Tuomi Date: Tue, 3 Sep 2019 11:58:18 +0300 Subject: [PATCH] lib-dcrypt: Add static keyword to ECDSA_SIG_get0 Otherwise compilers complain as it's not declared anywhere. --- src/lib-dcrypt/dcrypt-openssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib-dcrypt/dcrypt-openssl.c b/src/lib-dcrypt/dcrypt-openssl.c index f60022f9ca..251c7cfe0f 100644 --- a/src/lib-dcrypt/dcrypt-openssl.c +++ b/src/lib-dcrypt/dcrypt-openssl.c @@ -3174,7 +3174,7 @@ dcrypt_openssl_digest(const char *algorithm, const void *data, size_t data_len, } #ifndef HAVE_ECDSA_SIG_GET0 -void ECDSA_SIG_get0(const ECDSA_SIG *sig, const BIGNUM **pr, const BIGNUM **ps) +static void ECDSA_SIG_get0(const ECDSA_SIG *sig, const BIGNUM **pr, const BIGNUM **ps) { i_assert(sig != NULL); *pr = sig->r; -- 2.47.3