diff options
author | Yann Ylavic <ylavic@apache.org> | 2020-04-30 08:29:59 +0000 |
---|---|---|
committer | Yann Ylavic <ylavic@apache.org> | 2020-04-30 08:29:59 +0000 |
commit | 49c8b26c70e4d3a06f972e7745888848c31d6557 (patch) | |
tree | 336fb0ee643170e0dd85b2b8db742e03588ada71 /crypto | |
parent | 93ba78f5c15298aa1a63f12f39620b96f3d0bcdc (diff) | |
download | apr-49c8b26c70e4d3a06f972e7745888848c31d6557.tar.gz |
apr_crypto_prng: delacre cprng_stream_ctx_free() static.
It's local only (a function pointer for apr_crypto_driver_t).
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1877190 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/apr_crypto_commoncrypto.c | 2 | ||||
-rw-r--r-- | crypto/apr_crypto_nss.c | 2 | ||||
-rw-r--r-- | crypto/apr_crypto_openssl.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/crypto/apr_crypto_commoncrypto.c b/crypto/apr_crypto_commoncrypto.c index 2e617952d..72bd09936 100644 --- a/crypto/apr_crypto_commoncrypto.c +++ b/crypto/apr_crypto_commoncrypto.c @@ -1442,7 +1442,7 @@ static apr_status_t cprng_stream_ctx_make(cprng_stream_ctx_t **psctx, return APR_ENOTIMPL; } -void cprng_stream_ctx_free(cprng_stream_ctx_t *sctx) +static void cprng_stream_ctx_free(cprng_stream_ctx_t *sctx) { } diff --git a/crypto/apr_crypto_nss.c b/crypto/apr_crypto_nss.c index 46972ea18..b0a0a1aec 100644 --- a/crypto/apr_crypto_nss.c +++ b/crypto/apr_crypto_nss.c @@ -1626,7 +1626,7 @@ static apr_status_t cprng_stream_ctx_make(cprng_stream_ctx_t **psctx, return APR_ENOTIMPL; } -void cprng_stream_ctx_free(cprng_stream_ctx_t *sctx) +static void cprng_stream_ctx_free(cprng_stream_ctx_t *sctx) { } diff --git a/crypto/apr_crypto_openssl.c b/crypto/apr_crypto_openssl.c index 936bf6d5a..e7a1cfb47 100644 --- a/crypto/apr_crypto_openssl.c +++ b/crypto/apr_crypto_openssl.c @@ -1605,7 +1605,7 @@ static apr_status_t cprng_stream_ctx_make(cprng_stream_ctx_t **psctx, return APR_SUCCESS; } -void cprng_stream_ctx_free(cprng_stream_ctx_t *sctx) +static void cprng_stream_ctx_free(cprng_stream_ctx_t *sctx) { EVP_CIPHER_CTX_free(sctx->ctx); } |