aboutsummaryrefslogtreecommitdiff
path: root/src/util/test_crypto_aes_weak.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2009-09-05 20:38:19 +0000
committerChristian Grothoff <christian@grothoff.org>2009-09-05 20:38:19 +0000
commitba388145e2a982d25fb27af1ea80231625f56ded (patch)
tree40bd24f260d35f2d5018bcbbc43ea770e1f56d2b /src/util/test_crypto_aes_weak.c
parent32e19a47f4e6bd369e99e3d292be7b01c009edac (diff)
downloadgnunet-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.c2
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 {