summaryrefslogtreecommitdiff
path: root/ssh-dss.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssh-dss.c')
-rw-r--r--ssh-dss.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/ssh-dss.c b/ssh-dss.c
index a23c383dc..fddc29cc9 100644
--- a/ssh-dss.c
+++ b/ssh-dss.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssh-dss.c,v 1.37 2018/02/07 02:06:51 jsing Exp $ */ 1/* $OpenBSD: ssh-dss.c,v 1.39 2020/02/26 13:40:09 jsg Exp $ */
2/* 2/*
3 * Copyright (c) 2000 Markus Friedl. All rights reserved. 3 * Copyright (c) 2000 Markus Friedl. All rights reserved.
4 * 4 *
@@ -200,10 +200,8 @@ ssh_dss_verify(const struct sshkey *key,
200 BN_clear_free(sig_s); 200 BN_clear_free(sig_s);
201 sshbuf_free(b); 201 sshbuf_free(b);
202 free(ktype); 202 free(ktype);
203 if (sigblob != NULL) { 203 if (sigblob != NULL)
204 explicit_bzero(sigblob, len); 204 freezero(sigblob, len);
205 free(sigblob);
206 }
207 return ret; 205 return ret;
208} 206}
209#endif /* WITH_OPENSSL */ 207#endif /* WITH_OPENSSL */