summaryrefslogtreecommitdiff
path: root/authfile.h
diff options
context:
space:
mode:
authordjm <djm>2006-03-15 01:06:23 +0000
committerdjm <djm>2006-03-15 01:06:23 +0000
commit059996b42e6c260d083ef4c4afe75b908618271f (patch)
tree4122725af906610242341e4f598c2a3fc476339f /authfile.h
parente393bfe6d3ef9e9a83b061375e0faa67552a308d (diff)
downloadopenssh-059996b42e6c260d083ef4c4afe75b908618271f.tar.gz
- 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 7f92701e..a16caa7a 100644
--- a/authfile.h
+++ b/authfile.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: authfile.h,v 1.10 2002/05/23 19:24:30 markus Exp $ */
+/* $OpenBSD: authfile.h,v 1.11 2006/03/13 10:26:52 dtucker Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -21,5 +21,6 @@ Key *key_load_public_type(int, const char *, char **);
Key *key_load_private(const char *, const char *, char **);
Key *key_load_private_type(int, const char *, const char *, char **);
Key *key_load_private_pem(int, int, const char *, char **);
+int key_perm_ok(int, const char *);
#endif