diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-12-07 15:06:54 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-12-07 15:06:54 +0100 |
commit | 4e59b8e69f79ded079430e73f7ee023dd26f7c0f (patch) | |
tree | f455f26eec737a313ece2a2a7b7356a59ff6e52b /src/util | |
parent | b365e4d52a723b48bb018a8c2dbfc8fe1050988a (diff) | |
download | gnunet-4e59b8e69f79ded079430e73f7ee023dd26f7c0f.tar.gz gnunet-4e59b8e69f79ded079430e73f7ee023dd26f7c0f.zip |
fix libgnunetpq for RSA encoding
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/crypto_rsa.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/util/crypto_rsa.c b/src/util/crypto_rsa.c index 2ac4fcf8a..5bea87793 100644 --- a/src/util/crypto_rsa.c +++ b/src/util/crypto_rsa.c | |||
@@ -356,7 +356,6 @@ GNUNET_CRYPTO_rsa_public_key_encode (const struct | |||
356 | struct GNUNET_CRYPTO_RsaPublicKeyHeaderP hdr; | 356 | struct GNUNET_CRYPTO_RsaPublicKeyHeaderP hdr; |
357 | int ret; | 357 | int ret; |
358 | 358 | ||
359 | /* SEE #5398 / #5968 */ | ||
360 | ret = key_from_sexp (ne, key->sexp, "public-key", "ne"); | 359 | ret = key_from_sexp (ne, key->sexp, "public-key", "ne"); |
361 | if (0 != ret) | 360 | if (0 != ret) |
362 | ret = key_from_sexp (ne, key->sexp, "rsa", "ne"); | 361 | ret = key_from_sexp (ne, key->sexp, "rsa", "ne"); |
@@ -366,7 +365,6 @@ GNUNET_CRYPTO_rsa_public_key_encode (const struct | |||
366 | *buffer = NULL; | 365 | *buffer = NULL; |
367 | return 0; | 366 | return 0; |
368 | } | 367 | } |
369 | |||
370 | gcry_mpi_print (GCRYMPI_FMT_USG, | 368 | gcry_mpi_print (GCRYMPI_FMT_USG, |
371 | NULL, | 369 | NULL, |
372 | 0, | 370 | 0, |