aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/util/crypto_rsa.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/util/crypto_rsa.c b/src/util/crypto_rsa.c
index 5f96c592e..f5b6466fc 100644
--- a/src/util/crypto_rsa.c
+++ b/src/util/crypto_rsa.c
@@ -1030,9 +1030,8 @@ GNUNET_CRYPTO_rsa_signature_dup (const struct GNUNET_CRYPTO_rsa_Signature *sig)
1030 1030
1031 /* verify that this is an RSA signature */ 1031 /* verify that this is an RSA signature */
1032 ret = key_from_sexp (&s, sig->sexp, "sig-val", "s"); 1032 ret = key_from_sexp (&s, sig->sexp, "sig-val", "s");
1033 GNUNET_assert (0 == ret); 1033 if (0 != ret)
1034 gcry_mpi_release (s); 1034 ret = key_from_sexp (&s, sig->sexp, "rsa", "s");
1035 ret = key_from_sexp (&s, sig->sexp, "rsa", "s");
1036 GNUNET_assert (0 == ret); 1035 GNUNET_assert (0 == ret);
1037 gcry_mpi_release (s); 1036 gcry_mpi_release (s);
1038 /* copy the sexp */ 1037 /* copy the sexp */