artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23234cb
)
Plug leak of ECDSA_SIG
author
tb
<tb@openbsd.org>
Wed, 14 Dec 2022 15:02:43 +0000
(15:02 +0000)
committer
tb
<tb@openbsd.org>
Wed, 14 Dec 2022 15:02:43 +0000
(15:02 +0000)
ok sthen
usr.sbin/acme-client/acctproc.c
patch
|
blob
|
history
diff --git
a/usr.sbin/acme-client/acctproc.c
b/usr.sbin/acme-client/acctproc.c
index
cd01f8c
..
7a4c56b
100644
(file)
--- a/
usr.sbin/acme-client/acctproc.c
+++ b/
usr.sbin/acme-client/acctproc.c
@@
-1,4
+1,4
@@
-/* $Id: acctproc.c,v 1.2
3 2022/01/14 09:20:18
tb Exp $ */
+/* $Id: acctproc.c,v 1.2
4 2022/12/14 15:02:43
tb Exp $ */
/*
* Copyright (c) 2016 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@
-439,6
+439,7
@@
op_sign(int fd, EVP_PKEY *pkey, enum acctop op)
rc = 1;
out:
+ ECDSA_SIG_free(ec_sig);
EVP_MD_CTX_free(ctx);
free(pay);
free(sign);