diff options
author | Christian Grothoff <christian@grothoff.org> | 2009-09-05 20:38:19 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2009-09-05 20:38:19 +0000 |
commit | ba388145e2a982d25fb27af1ea80231625f56ded (patch) | |
tree | 40bd24f260d35f2d5018bcbbc43ea770e1f56d2b /src/util/test_crypto_aes_weak.c | |
parent | 32e19a47f4e6bd369e99e3d292be7b01c009edac (diff) | |
download | gnunet-ba388145e2a982d25fb27af1ea80231625f56ded.tar.gz gnunet-ba388145e2a982d25fb27af1ea80231625f56ded.zip |
cleaner crypto api
Diffstat (limited to 'src/util/test_crypto_aes_weak.c')
-rw-r--r-- | src/util/test_crypto_aes_weak.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/test_crypto_aes_weak.c b/src/util/test_crypto_aes_weak.c index 27ee57968..2ce553a21 100644 --- a/src/util/test_crypto_aes_weak.c +++ b/src/util/test_crypto_aes_weak.c | |||
@@ -103,7 +103,7 @@ testWeakKey () | |||
103 | return 1; | 103 | return 1; |
104 | } | 104 | } |
105 | 105 | ||
106 | size = GNUNET_CRYPTO_aes_decrypt (&weak_key, result, size, &INITVALUE, res); | 106 | size = GNUNET_CRYPTO_aes_decrypt (result, size, &weak_key, &INITVALUE, res); |
107 | 107 | ||
108 | if ((strlen (WEAK_KEY_TESTSTRING) + 1) != size) | 108 | if ((strlen (WEAK_KEY_TESTSTRING) + 1) != size) |
109 | { | 109 | { |