aboutsummaryrefslogtreecommitdiff
path: root/crypto/openssh/authfile.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssh/authfile.h')
-rw-r--r--crypto/openssh/authfile.h26
1 files changed, 7 insertions, 19 deletions
diff --git a/crypto/openssh/authfile.h b/crypto/openssh/authfile.h
index da90cd91364b..c614ca12ce89 100644
--- a/crypto/openssh/authfile.h
+++ b/crypto/openssh/authfile.h
@@ -1,3 +1,5 @@
+/* $OpenBSD: authfile.h,v 1.9 2002/03/04 17:27:39 stevesk Exp $ */
+
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -10,27 +12,13 @@
* called by a name other than "ssh" or "Secure Shell".
*/
-/* $OpenBSD: authfile.h,v 1.6 2001/03/26 08:07:08 markus Exp $ */
-
#ifndef AUTHFILE_H
#define AUTHFILE_H
-int
-key_save_private(Key *key, const char *filename, const char *passphrase,
- const char *comment);
-
-Key *
-key_load_public(const char *filename, char **commentp);
-
-Key *
-key_load_public_type(int type, const char *filename, char **commentp);
-
-Key *
-key_load_private(const char *filename, const char *passphrase,
- char **commentp);
-
-Key *
-key_load_private_type(int type, const char *filename, const char *passphrase,
- char **commentp);
+int key_save_private(Key *, const char *, const char *, const char *);
+Key *key_load_public(const char *, char **);
+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 **);
#endif