summaryrefslogtreecommitdiff
path: root/ssh-rsa.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssh-rsa.c')
-rw-r--r--ssh-rsa.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ssh-rsa.c b/ssh-rsa.c
index 6b8589522..4eb00c87c 100644
--- a/ssh-rsa.c
+++ b/ssh-rsa.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssh-rsa.c,v 1.56 2015/12/07 20:04:09 markus Exp $ */ 1/* $OpenBSD: ssh-rsa.c,v 1.57 2015/12/10 17:08:40 mmcc Exp $ */
2/* 2/*
3 * Copyright (c) 2000, 2003 Markus Friedl <markus@openbsd.org> 3 * Copyright (c) 2000, 2003 Markus Friedl <markus@openbsd.org>
4 * 4 *
@@ -226,8 +226,7 @@ ssh_rsa_verify(const struct sshkey *key,
226 explicit_bzero(sigblob, len); 226 explicit_bzero(sigblob, len);
227 free(sigblob); 227 free(sigblob);
228 } 228 }
229 if (ktype != NULL) 229 free(ktype);
230 free(ktype);
231 if (b != NULL) 230 if (b != NULL)
232 sshbuf_free(b); 231 sshbuf_free(b);
233 explicit_bzero(digest, sizeof(digest)); 232 explicit_bzero(digest, sizeof(digest));