diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-10-28 17:02:19 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-10-28 17:02:19 +0000 |
commit | 8ec56983556915364a1f35dd8bacadbcbcf54fb0 (patch) | |
tree | 257f20a43ad0344173b8f3423f3dcf11ae7eb830 /src/util/crypto_ecc.c | |
parent | 426c12fc1188f90db6969f48efec0163fa805dc5 (diff) | |
download | gnunet-8ec56983556915364a1f35dd8bacadbcbcf54fb0.tar.gz gnunet-8ec56983556915364a1f35dd8bacadbcbcf54fb0.zip |
-ecc signing working
Diffstat (limited to 'src/util/crypto_ecc.c')
-rw-r--r-- | src/util/crypto_ecc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/crypto_ecc.c b/src/util/crypto_ecc.c index cfc5deb25..81429e3c4 100644 --- a/src/util/crypto_ecc.c +++ b/src/util/crypto_ecc.c | |||
@@ -942,7 +942,7 @@ data_to_pkcs1 (const struct GNUNET_CRYPTO_EccSignaturePurpose *purpose) | |||
942 | gcry_sexp_t data; | 942 | gcry_sexp_t data; |
943 | 943 | ||
944 | GNUNET_CRYPTO_short_hash (purpose, ntohl (purpose->size), &hc); | 944 | GNUNET_CRYPTO_short_hash (purpose, ntohl (purpose->size), &hc); |
945 | #define FORMATSTRING "(4:data(32:01234567890123456789012345678901))" | 945 | #define FORMATSTRING "(4:data(5:flags3:raw)(5:value32:01234567890123456789012345678901))" |
946 | #define FORMATSTRING2 "(4:data(4:hash6:sha25632:01234567890123456789012345678901))" | 946 | #define FORMATSTRING2 "(4:data(4:hash6:sha25632:01234567890123456789012345678901))" |
947 | bufSize = strlen (FORMATSTRING) + 1; | 947 | bufSize = strlen (FORMATSTRING) + 1; |
948 | { | 948 | { |