aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2012-05-29 14:06:29 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2012-05-29 14:06:29 +0000
commit90dbafc0ce5c43778d6f0bd6ac9810242d82c5c1 (patch)
treedbc134471dfa42322834a1e7fa3d2c93195348aa /src
parent41c62e870f775e9f6b8aa50516a7ae901bdd7d48 (diff)
downloadgnunet-90dbafc0ce5c43778d6f0bd6ac9810242d82c5c1.tar.gz
gnunet-90dbafc0ce5c43778d6f0bd6ac9810242d82c5c1.zip
removed double rsa key free
Diffstat (limited to 'src')
-rw-r--r--src/testing/testing_new.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/testing/testing_new.c b/src/testing/testing_new.c
index 027faddb5..710ae3e3a 100644
--- a/src/testing/testing_new.c
+++ b/src/testing/testing_new.c
@@ -443,7 +443,6 @@ GNUNET_TESTING_hostkey_get (const struct GNUNET_TESTING_System *system,
443 return GNUNET_SYSERR; 443 return GNUNET_SYSERR;
444 } 444 }
445 GNUNET_CRYPTO_rsa_key_get_public (private_key, &public_key); 445 GNUNET_CRYPTO_rsa_key_get_public (private_key, &public_key);
446 GNUNET_CRYPTO_rsa_key_free (private_key);
447 GNUNET_CRYPTO_hash (&public_key, 446 GNUNET_CRYPTO_hash (&public_key,
448 sizeof (struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded), 447 sizeof (struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded),
449 &(id->hashPubKey)); 448 &(id->hashPubKey));