aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2012-10-28 16:52:43 +0000
committergrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2012-10-28 16:52:43 +0000
commit6c882f99b76c43ad62bb988b1c642c91246b9a51 (patch)
treea0a14ad653af54374f4faf86d76275ef4c005243
parent680b8286c33156085c7e111e1d54986f7bd6b45e (diff)
-wk says not to specify pkcs1
git-svn-id: https://gnunet.org/svn/gnunet@24581 140774ce-b5e7-0310-ab8b-a85725594a96
-rw-r--r--src/util/crypto_ecc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util/crypto_ecc.c b/src/util/crypto_ecc.c
index 56cb3c7094..cfc5deb252 100644
--- a/src/util/crypto_ecc.c
+++ b/src/util/crypto_ecc.c
@@ -942,7 +942,8 @@ data_to_pkcs1 (const struct GNUNET_CRYPTO_EccSignaturePurpose *purpose)
gcry_sexp_t data;
GNUNET_CRYPTO_short_hash (purpose, ntohl (purpose->size), &hc);
-#define FORMATSTRING "(4:data(5:flags5:pkcs1)(4:hash6:sha25632:01234567890123456789012345678901))"
+#define FORMATSTRING "(4:data(32:01234567890123456789012345678901))"
+#define FORMATSTRING2 "(4:data(4:hash6:sha25632:01234567890123456789012345678901))"
bufSize = strlen (FORMATSTRING) + 1;
{
char buff[bufSize];