diff options
author | djm <djm> | 2006-03-15 01:06:23 +0000 |
---|---|---|
committer | djm <djm> | 2006-03-15 01:06:23 +0000 |
commit | 059996b42e6c260d083ef4c4afe75b908618271f (patch) | |
tree | 4122725af906610242341e4f598c2a3fc476339f /authfile.h | |
parent | e393bfe6d3ef9e9a83b061375e0faa67552a308d (diff) | |
download | openssh-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.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |