diff options
author | grothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96> | 2012-10-28 16:52:43 +0000 |
---|---|---|
committer | grothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96> | 2012-10-28 16:52:43 +0000 |
commit | 6c882f99b76c43ad62bb988b1c642c91246b9a51 (patch) | |
tree | a0a14ad653af54374f4faf86d76275ef4c005243 | |
parent | 680b8286c33156085c7e111e1d54986f7bd6b45e (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.c | 3 |
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]; |