summaryrefslogtreecommitdiff
path: root/auth2-pubkey.c
diff options
context:
space:
mode:
Diffstat (limited to 'auth2-pubkey.c')
-rw-r--r--auth2-pubkey.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/auth2-pubkey.c b/auth2-pubkey.c
index eac79cc3d..0713a9de8 100644
--- a/auth2-pubkey.c
+++ b/auth2-pubkey.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: auth2-pubkey.c,v 1.73 2017/12/19 00:24:34 djm Exp $ */ 1/* $OpenBSD: auth2-pubkey.c,v 1.74 2017/12/21 00:00:28 djm Exp $ */
2/* 2/*
3 * Copyright (c) 2000 Markus Friedl. All rights reserved. 3 * Copyright (c) 2000 Markus Friedl. All rights reserved.
4 * 4 *
@@ -214,7 +214,7 @@ userauth_pubkey(struct ssh *ssh)
214 authenticated = 0; 214 authenticated = 0;
215 if (PRIVSEP(user_key_allowed(authctxt->pw, key, 1)) && 215 if (PRIVSEP(user_key_allowed(authctxt->pw, key, 1)) &&
216 PRIVSEP(sshkey_verify(key, sig, slen, sshbuf_ptr(b), 216 PRIVSEP(sshkey_verify(key, sig, slen, sshbuf_ptr(b),
217 sshbuf_len(b), pkalg, ssh->compat)) == 0) { 217 sshbuf_len(b), NULL, ssh->compat)) == 0) {
218 authenticated = 1; 218 authenticated = 1;
219 } 219 }
220 sshbuf_free(b); 220 sshbuf_free(b);