Re: [PATCH 1/2] pki_gcrypt: Fix memory leak.

2016-11-09 Thread Andreas Schneider
On Wednesday, 9 November 2016 16:34:14 CET Justus Winter wrote: > * src/pki_gcrypt.c (pki_key_ecdsa_to_nid): Release 'sexp'. I've pushed both patches upstream, thanks! Andreas -- Andreas Schneider GPG-ID: CC014E3D www.cryptomilk.orga...@cryptomilk.org

[PATCH 2/2] pki_gcrypt: Fix freeing of ECDSA signatures.

2016-11-09 Thread Justus Winter
* src/pki.c (ssh_signature_free): Fix test for ECC using gcrypt. Signed-off-by: Justus Winter --- src/pki.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pki.c b/src/pki.c index 36e3c0c..a3317cd 100644 --- a/src/pki.c +++ b/src/pki.c @@ -357,7 +357,7 @@ void ssh_signatu

[PATCH 1/2] pki_gcrypt: Fix memory leak.

2016-11-09 Thread Justus Winter
* src/pki_gcrypt.c (pki_key_ecdsa_to_nid): Release 'sexp'. Signed-off-by: Justus Winter --- src/pki_gcrypt.c | 4 1 file changed, 4 insertions(+) diff --git a/src/pki_gcrypt.c b/src/pki_gcrypt.c index e3ae06d..025ff1b 100644 --- a/src/pki_gcrypt.c +++ b/src/pki_gcrypt.c @@ -701,20 +701,24