apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From minf...@apache.org
Subject svn commit: r693969 - /apr/apr-util/trunk/test/testcrypto.c
Date Wed, 10 Sep 2008 20:13:19 GMT
Author: minfrin
Date: Wed Sep 10 13:13:19 2008
New Revision: 693969

URL: http://svn.apache.org/viewvc?rev=693969&view=rev
Log:
Remove the len offset from apr_crypto_block_encrypt, it is a holdover from previous
code.

Modified:
    apr/apr-util/trunk/test/testcrypto.c

Modified: apr/apr-util/trunk/test/testcrypto.c
URL: http://svn.apache.org/viewvc/apr/apr-util/trunk/test/testcrypto.c?rev=693969&r1=693968&r2=693969&view=diff
==============================================================================
--- apr/apr-util/trunk/test/testcrypto.c (original)
+++ apr/apr-util/trunk/test/testcrypto.c Wed Sep 10 13:13:19 2008
@@ -176,7 +176,7 @@
     }
 
     /* encrypt the block */
-    rv = apr_crypto_block_encrypt(driver, block, cipherText + len,
+    rv = apr_crypto_block_encrypt(driver, block, cipherText,
             cipherTextLen, in, inlen);
     if (APR_SUCCESS != rv) {
         fprintf(stderr, "encrypt: %s %s native error %d: %s (%s)\n",



Mime
View raw message