apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r979076 - in /apr/apr/trunk/crypto: apr_crypto_nss.c apr_crypto_openssl.c
Date Sun, 25 Jul 2010 17:40:56 GMT
Author: rjung
Date: Sun Jul 25 17:40:56 2010
New Revision: 979076

URL: http://svn.apache.org/viewvc?rev=979076&view=rev
Log:
Fix order of elements in struct.

Was broken by reordering in struct definition (r900089).

Modified:
    apr/apr/trunk/crypto/apr_crypto_nss.c
    apr/apr/trunk/crypto/apr_crypto_openssl.c

Modified: apr/apr/trunk/crypto/apr_crypto_nss.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/crypto/apr_crypto_nss.c?rev=979076&r1=979075&r2=979076&view=diff
==============================================================================
--- apr/apr/trunk/crypto/apr_crypto_nss.c (original)
+++ apr/apr/trunk/crypto/apr_crypto_nss.c Sun Jul 25 17:40:56 2010
@@ -772,12 +772,11 @@ static apr_status_t crypto_block_decrypt
 }
 
 /**
- * OpenSSL module.
+ * NSS module.
  */
 APR_MODULE_DECLARE_DATA const apr_crypto_driver_t apr_crypto_nss_driver = {
     "nss",
     crypto_init,
-    crypto_error,
     crypto_make,
     crypto_passphrase,
     crypto_block_encrypt_init,
@@ -788,7 +787,8 @@ APR_MODULE_DECLARE_DATA const apr_crypto
     crypto_block_decrypt_finish,
     crypto_block_cleanup,
     crypto_cleanup,
-    crypto_shutdown
+    crypto_shutdown,
+    crypto_error
 };
 
 #endif

Modified: apr/apr/trunk/crypto/apr_crypto_openssl.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/crypto/apr_crypto_openssl.c?rev=979076&r1=979075&r2=979076&view=diff
==============================================================================
--- apr/apr/trunk/crypto/apr_crypto_openssl.c (original)
+++ apr/apr/trunk/crypto/apr_crypto_openssl.c Sun Jul 25 17:40:56 2010
@@ -650,10 +650,10 @@ static apr_status_t crypto_block_decrypt
  * OpenSSL module.
  */
 APR_MODULE_DECLARE_DATA const apr_crypto_driver_t apr_crypto_openssl_driver = {
-        "openssl", crypto_init, crypto_error, crypto_make, crypto_passphrase,
+        "openssl", crypto_init, crypto_make, crypto_passphrase,
         crypto_block_encrypt_init, crypto_block_encrypt,
         crypto_block_encrypt_finish, crypto_block_decrypt_init,
         crypto_block_decrypt, crypto_block_decrypt_finish,
-        crypto_block_cleanup, crypto_cleanup, crypto_shutdown };
+        crypto_block_cleanup, crypto_cleanup, crypto_shutdown, crypto_error };
 
 #endif



Mime
View raw message