progs/cc-sig.c: Don't destroy an RSA context just after building it.
[catacomb] / progs / cc-sig.c
index 35f1701..bbc2300 100644 (file)
@@ -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);
 }