summaryrefslogtreecommitdiff
path: root/authfile.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2006-03-15 12:06:23 +1100
committerDamien Miller <djm@mindrot.org>2006-03-15 12:06:23 +1100
commit8275fade44b56aed722ea91bc4586f48babece80 (patch)
tree008fc19e661c19854303ee25c8e5d12347546893 /authfile.h
parent306d118f72670f0da447f28b7eec576dcb4a6e38 (diff)
- dtucker@cvs.openbsd.org 2006/03/13 10:26:52
[authfile.c authfile.h ssh-add.c] Make ssh-add check file permissions before attempting to load private key files multiple times; it will fail anyway and this prevents confusing multiple prompts and warnings. mindrot #1138, ok djm@
Diffstat (limited to 'authfile.h')
-rw-r--r--authfile.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/authfile.h b/authfile.h
index 7f92701ec..a16caa7a8 100644
--- a/authfile.h
+++ b/authfile.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: authfile.h,v 1.10 2002/05/23 19:24:30 markus Exp $ */ 1/* $OpenBSD: authfile.h,v 1.11 2006/03/13 10:26:52 dtucker Exp $ */
2 2
3/* 3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -21,5 +21,6 @@ Key *key_load_public_type(int, const char *, char **);
21Key *key_load_private(const char *, const char *, char **); 21Key *key_load_private(const char *, const char *, char **);
22Key *key_load_private_type(int, const char *, const char *, char **); 22Key *key_load_private_type(int, const char *, const char *, char **);
23Key *key_load_private_pem(int, int, const char *, char **); 23Key *key_load_private_pem(int, int, const char *, char **);
24int key_perm_ok(int, const char *);
24 25
25#endif 26#endif