From: Aki Tuomi Date: Tue, 3 Sep 2019 08:58:18 +0000 (+0300) Subject: lib-dcrypt: Add static keyword to ECDSA_SIG_get0 X-Git-Tag: 2.3.8~27 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5caac33e12a36e95cc0bc8f78de3912d0b8a9288;p=thirdparty%2Fdovecot%2Fcore.git lib-dcrypt: Add static keyword to ECDSA_SIG_get0 Otherwise compilers complain as it's not declared anywhere. --- 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;