diff options
-rw-r--r-- | src/util/crypto_ecc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util/crypto_ecc.c b/src/util/crypto_ecc.c index bc58142c2..7110a2c4d 100644 --- a/src/util/crypto_ecc.c +++ b/src/util/crypto_ecc.c | |||
@@ -476,6 +476,10 @@ GNUNET_CRYPTO_ecdsa_key_get_anonymous () | |||
476 | GNUNET_CRYPTO_mpi_print_unsigned (anonymous.d, | 476 | GNUNET_CRYPTO_mpi_print_unsigned (anonymous.d, |
477 | sizeof(anonymous.d), | 477 | sizeof(anonymous.d), |
478 | GCRYMPI_CONST_ONE); | 478 | GCRYMPI_CONST_ONE); |
479 | anonymous.d[0] &= 248; | ||
480 | anonymous.d[31] &= 127; | ||
481 | anonymous.d[31] |= 64; | ||
482 | |||
479 | once = 1; | 483 | once = 1; |
480 | return &anonymous; | 484 | return &anonymous; |
481 | } | 485 | } |