Skip to content

Commit c2e78b4

Browse files
remicolletkevinAlbs
authored andcommitted
CDRIVER-4297 use static decls for OpenSSL 1.1 polyfills (#946)
1 parent 0631e09 commit c2e78b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libmongoc/src/mongoc/mongoc-crypto-openssl.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ mongoc_crypto_openssl_hmac_sha1 (mongoc_crypto_t *crypto,
3939
}
4040

4141
#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L)
42-
EVP_MD_CTX *
42+
static EVP_MD_CTX *
4343
EVP_MD_CTX_new (void)
4444
{
4545
return bson_malloc0 (sizeof (EVP_MD_CTX));
4646
}
4747

48-
void
48+
static void
4949
EVP_MD_CTX_free (EVP_MD_CTX *ctx)
5050
{
5151
EVP_MD_CTX_cleanup (ctx);

0 commit comments

Comments
 (0)