From: Mark Wooding Date: Mon, 17 Apr 2017 22:31:11 +0000 (+0100) Subject: progs/cc-sig.c: Don't destroy an RSA context just after building it. X-Git-Tag: 2.4.0~53 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/catacomb/commitdiff_plain/d74395b544f56e738362efe1e3d27ee23597f20f progs/cc-sig.c: Don't destroy an RSA context just after building it. It causes an assertion failure later. Really embarrassing. --- diff --git a/progs/cc-sig.c b/progs/cc-sig.c index 35f17016..bbc23008 100644 --- a/progs/cc-sig.c +++ b/progs/cc-sig.c @@ -186,7 +186,6 @@ static sig *rsapss_siginit(key *k, void *kd, const gchash *hc) rs->p.cc = getmgf(k, hc); rs->p.ch = hc; rs->p.ssz = hc->hashsz; - rsa_privdestroy(&rs->rp); return (&rs->s); }