apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From minf...@apache.org
Subject svn commit: r1133587 - in /apr/apr/trunk: crypto/apr_crypto.c include/apr_crypto.h test/testcrypto.c
Date Wed, 08 Jun 2011 22:32:48 GMT
Author: minfrin
Date: Wed Jun  8 22:32:48 2011
New Revision: 1133587

URL: http://svn.apache.org/viewvc?rev=1133587&view=rev
Log:
apr_crypto: Remove an unused parameter from the apr_crypto_init() function.

Modified:
    apr/apr/trunk/crypto/apr_crypto.c
    apr/apr/trunk/include/apr_crypto.h
    apr/apr/trunk/test/testcrypto.c

Modified: apr/apr/trunk/crypto/apr_crypto.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/crypto/apr_crypto.c?rev=1133587&r1=1133586&r2=1133587&view=diff
==============================================================================
--- apr/apr/trunk/crypto/apr_crypto.c (original)
+++ apr/apr/trunk/crypto/apr_crypto.c Wed Jun  8 22:32:48 2011
@@ -77,8 +77,7 @@ static apr_status_t apr_crypto_term(void
     return APR_SUCCESS;
 }
 
-APR_DECLARE(apr_status_t) apr_crypto_init(apr_pool_t *pool,
-        const apr_array_header_t *params) {
+APR_DECLARE(apr_status_t) apr_crypto_init(apr_pool_t *pool) {
     apr_status_t ret = APR_SUCCESS;
     apr_pool_t *parent;
 

Modified: apr/apr/trunk/include/apr_crypto.h
URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/apr_crypto.h?rev=1133587&r1=1133586&r2=1133587&view=diff
==============================================================================
--- apr/apr/trunk/include/apr_crypto.h (original)
+++ apr/apr/trunk/include/apr_crypto.h Wed Jun  8 22:32:48 2011
@@ -184,11 +184,9 @@ typedef struct apr_crypto_block_t apr_cr
  * @brief Perform once-only initialisation. Call once only.
  *
  * @param pool - pool to register any shutdown cleanups, etc
- * @param params - array of initialisation parameters
  * @return APR_NOTIMPL in case of no crypto support.
  */
-APR_DECLARE(apr_status_t) apr_crypto_init(apr_pool_t *pool,
-        const apr_array_header_t *params);
+APR_DECLARE(apr_status_t) apr_crypto_init(apr_pool_t *pool);
 
 /**
  * @brief Get the driver struct for a name

Modified: apr/apr/trunk/test/testcrypto.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/test/testcrypto.c?rev=1133587&r1=1133586&r2=1133587&view=diff
==============================================================================
--- apr/apr/trunk/test/testcrypto.c (original)
+++ apr/apr/trunk/test/testcrypto.c Wed Jun  8 22:32:48 2011
@@ -35,7 +35,7 @@ static const apr_crypto_driver_t *get_dr
     const apu_err_t *err = NULL;
     apr_status_t rv;
 
-    rv = apr_crypto_init(pool, params);
+    rv = apr_crypto_init(pool);
     ABTS_ASSERT(tc, "failed to init apr_crypto", rv == APR_SUCCESS);
 
     rv = apr_crypto_get_driver(&driver, name, params, &err, pool);
@@ -358,7 +358,7 @@ static void test_crypto_init(abts_case *
 
     apr_pool_create(&pool, NULL);
 
-    rv = apr_crypto_init(pool, NULL);
+    rv = apr_crypto_init(pool);
     ABTS_ASSERT(tc, "failed to init apr_crypto", rv == APR_SUCCESS);
 
     apr_pool_destroy(pool);



Mime
View raw message