diff options
author | minfrin <minfrin@13f79535-47bb-0310-9956-ffa450edef68> | 2008-09-10 20:13:19 +0000 |
---|---|---|
committer | minfrin <minfrin@13f79535-47bb-0310-9956-ffa450edef68> | 2008-09-10 20:13:19 +0000 |
commit | 235a89b3805243ce4394671791e36fa6f8c1fae3 (patch) | |
tree | eb5d551f0a8ccc2e66c8ba7de1a8ed227fe1f1bb | |
parent | 63773332f434160484e3421a459cbe2b08d27281 (diff) | |
download | libapr-util-235a89b3805243ce4394671791e36fa6f8c1fae3.tar.gz |
Remove the len offset from apr_crypto_block_encrypt, it is a holdover from previous
code.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@693969 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | test/testcrypto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testcrypto.c b/test/testcrypto.c index 8528dae2..cc81b733 100644 --- a/test/testcrypto.c +++ b/test/testcrypto.c @@ -176,7 +176,7 @@ static unsigned char *encrypt_block(abts_case *tc, apr_pool_t *pool, } /* 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", |