summaryrefslogtreecommitdiff
path: root/include/private
diff options
context:
space:
mode:
authorGraham Leggett <minfrin@apache.org>2011-12-08 17:11:05 +0000
committerGraham Leggett <minfrin@apache.org>2011-12-08 17:11:05 +0000
commitbd2266f3a42d9838fbe24c3541d2fa6396603fac (patch)
treeba4431a24e9c2c36bde0c49100ef2ebd34a0c477 /include/private
parent3d5621aaec5ea1c9b8c7fb2ff81ee81140a3e242 (diff)
downloadapr-bd2266f3a42d9838fbe24c3541d2fa6396603fac.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: https://svn.apache.org/repos/asf/apr/apr/trunk@1211987 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/private')
-rw-r--r--include/private/apr_crypto_internal.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/private/apr_crypto_internal.h b/include/private/apr_crypto_internal.h
index b571451a2..5da92e558 100644
--- a/include/private/apr_crypto_internal.h
+++ b/include/private/apr_crypto_internal.h
@@ -39,7 +39,8 @@ struct apr_crypto_driver_t {
* @param params Optional init parameter string.
* @param rc Driver-specific additional error code
*/
- apr_status_t (*init)(apr_pool_t *pool, const char *params, int *rc);
+ apr_status_t (*init)(apr_pool_t *pool, const char *params,
+ const apu_err_t **result);
/**
* @brief Create a context for supporting encryption. Keys, certificates,