diff options
author | minfrin <minfrin@13f79535-47bb-0310-9956-ffa450edef68> | 2011-12-08 17:11:05 +0000 |
---|---|---|
committer | minfrin <minfrin@13f79535-47bb-0310-9956-ffa450edef68> | 2011-12-08 17:11:05 +0000 |
commit | 42c0acac31cdea6c865245f0c80b5b271e198f55 (patch) | |
tree | ba4431a24e9c2c36bde0c49100ef2ebd34a0c477 /crypto/apr_crypto_openssl.c | |
parent | 6569dc97f0ccc1ce5538007054c62368ec9af575 (diff) | |
download | libapr-42c0acac31cdea6c865245f0c80b5b271e198f55.tar.gz |
apr_crypto: Move the static initialisation of DRIVER_LOAD from
apr_crypto_init() to apr_crypto_get_driver(), so that we don't lose
the parameters.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1211987 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'crypto/apr_crypto_openssl.c')
-rw-r--r-- | crypto/apr_crypto_openssl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/apr_crypto_openssl.c b/crypto/apr_crypto_openssl.c index 993fa9f50..17e8d7be8 100644 --- a/crypto/apr_crypto_openssl.c +++ b/crypto/apr_crypto_openssl.c @@ -109,7 +109,8 @@ static apr_status_t crypto_shutdown_helper(void *data) /** * Initialise the crypto library and perform one time initialisation. */ -static apr_status_t crypto_init(apr_pool_t *pool, const char *params, int *rc) +static apr_status_t crypto_init(apr_pool_t *pool, const char *params, + const apu_err_t **result) { CRYPTO_malloc_init(); ERR_load_crypto_strings(); |