chiark
/
gitweb
/
~mdw
/
catacomb
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
957986f
)
progs/cc-sig.c: Don't destroy an RSA context just after building it.
author
Mark Wooding
<mdw@distorted.org.uk>
Mon, 17 Apr 2017 22:31:11 +0000
(23:31 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sat, 13 May 2017 15:29:09 +0000
(16:29 +0100)
It causes an assertion failure later. Really embarrassing.
progs/cc-sig.c
patch
|
blob
|
blame
|
history
diff --git
a/progs/cc-sig.c
b/progs/cc-sig.c
index 35f17016ed6dd1163285ce6ac64454b8100a225c..bbc230089ae98bd75e33f05b0b3539a16098ffe8 100644
(file)
--- 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);
}