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 947bfed0b..8c5436e35 100644
--- a/auth2-pubkey.c
+++ b/auth2-pubkey.c
@@ -78,7 +78,7 @@ userauth_pubkey(Authctxt *authctxt)
78 pktype = key_type_from_name(pkalg); 78 pktype = key_type_from_name(pkalg);
79 if (pktype == KEY_UNSPEC) { 79 if (pktype == KEY_UNSPEC) {
80 /* this is perfectly legal */ 80 /* this is perfectly legal */
81 log("userauth_pubkey: unsupported public key algorithm: %s", 81 logit("userauth_pubkey: unsupported public key algorithm: %s",
82 pkalg); 82 pkalg);
83 goto done; 83 goto done;
84 } 84 }
@@ -199,7 +199,7 @@ user_key_allowed2(struct passwd *pw, Key *key, char *file)
199 if (options.strict_modes && 199 if (options.strict_modes &&
200 secure_filename(f, file, pw, line, sizeof(line)) != 0) { 200 secure_filename(f, file, pw, line, sizeof(line)) != 0) {
201 fclose(f); 201 fclose(f);
202 log("Authentication refused: %s", line); 202 logit("Authentication refused: %s", line);
203 restore_uid(); 203 restore_uid();
204 return 0; 204 return 0;
205 } 205 }