aboutsummaryrefslogtreecommitdiff
path: root/src/gnsrecord
diff options
context:
space:
mode:
authorMartin Schanzenbach <schanzen@gnunet.org>2022-06-07 17:51:49 +0200
committerMartin Schanzenbach <schanzen@gnunet.org>2022-06-07 17:51:49 +0200
commit4e854a117310285060ef496709e965841042b084 (patch)
tree475bbe6152fc13c6ab93df48649728e2db97aed3 /src/gnsrecord
parent0a9c2aa9dba799b84294e6aa4e7b79a5304f5ede (diff)
downloadgnunet-4e854a117310285060ef496709e965841042b084.tar.gz
gnunet-4e854a117310285060ef496709e965841042b084.zip
-fix test; pointer in closure invalid
Diffstat (limited to 'src/gnsrecord')
-rw-r--r--src/gnsrecord/test_gnsrecord_crypto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gnsrecord/test_gnsrecord_crypto.c b/src/gnsrecord/test_gnsrecord_crypto.c
index ee14fa904..ad7b62cc8 100644
--- a/src/gnsrecord/test_gnsrecord_crypto.c
+++ b/src/gnsrecord/test_gnsrecord_crypto.c
@@ -101,7 +101,7 @@ test_with_type (struct GNUNET_IDENTITY_PrivateKey *privkey)
101 struct GNUNET_HashCode query_pub; 101 struct GNUNET_HashCode query_pub;
102 struct GNUNET_HashCode query_priv; 102 struct GNUNET_HashCode query_priv;
103 struct GNUNET_HashCode query_block; 103 struct GNUNET_HashCode query_block;
104 struct GNUNET_TIME_Absolute expire = GNUNET_TIME_absolute_get (); 104 struct GNUNET_TIME_Absolute expire = GNUNET_TIME_UNIT_FOREVER_ABS;
105 105
106 106
107 /* get public key */ 107 /* get public key */
@@ -143,7 +143,7 @@ test_with_type (struct GNUNET_IDENTITY_PrivateKey *privkey)
143 &pubkey, 143 &pubkey,
144 s_name, 144 s_name,
145 &rd_decrypt_cb, 145 &rd_decrypt_cb,
146 s_name)); 146 NULL));
147 GNUNET_free (block); 147 GNUNET_free (block);
148} 148}
149 149