You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by mi...@apache.org on 2008/09/10 22:13:19 UTC

svn commit: r693969 - /apr/apr-util/trunk/test/testcrypto.c

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",