diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-10-28 16:52:43 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-10-28 16:52:43 +0000 |
commit | 426c12fc1188f90db6969f48efec0163fa805dc5 (patch) | |
tree | a0a14ad653af54374f4faf86d76275ef4c005243 | |
parent | 738c998402c340b8c6b693216dbd2cab42262b5f (diff) | |
download | gnunet-426c12fc1188f90db6969f48efec0163fa805dc5.tar.gz gnunet-426c12fc1188f90db6969f48efec0163fa805dc5.zip |
-wk says not to specify pkcs1
-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 56cb3c709..cfc5deb25 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) | |||
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(5:flags5:pkcs1)(4:hash6:sha25632:01234567890123456789012345678901))" | 945 | #define FORMATSTRING "(4:data(32:01234567890123456789012345678901))" |
946 | #define FORMATSTRING2 "(4:data(4:hash6:sha25632:01234567890123456789012345678901))" | ||
946 | bufSize = strlen (FORMATSTRING) + 1; | 947 | bufSize = strlen (FORMATSTRING) + 1; |
947 | { | 948 | { |
948 | char buff[bufSize]; | 949 | char buff[bufSize]; |