summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-05-13 02:37:40 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-05-13 02:37:40 +0000
commit65e242d77ec6cad274c421e6a4939e128247dc70 (patch)
tree716b47a5f993128e3036a2c818d9bc6871d5c99a
parent6254586aa18eb1efe6bf83bdb29c53d11c5ef87d (diff)
less warnings. skey_{respond,query} are public (in auth.h)
-rw-r--r--usr.bin/ssh/auth-skey.c6
-rw-r--r--usr.bin/ssh/auth2.c3
2 files changed, 5 insertions, 4 deletions
diff --git a/usr.bin/ssh/auth-skey.c b/usr.bin/ssh/auth-skey.c
index e897d18756e..b64550443c7 100644
--- a/usr.bin/ssh/auth-skey.c
+++ b/usr.bin/ssh/auth-skey.c
@@ -22,7 +22,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "includes.h"
-RCSID("$OpenBSD: auth-skey.c,v 1.17 2002/03/18 17:50:31 provos Exp $");
+RCSID("$OpenBSD: auth-skey.c,v 1.18 2002/05/13 02:37:39 itojun Exp $");
#ifdef SKEY
@@ -38,7 +38,7 @@ skey_init_ctx(Authctxt *authctxt)
return authctxt;
}
-static int
+int
skey_query(void *ctx, char **name, char **infotxt,
u_int* numprompts, char ***prompts, u_int **echo_on)
{
@@ -66,7 +66,7 @@ skey_query(void *ctx, char **name, char **infotxt,
return 0;
}
-static int
+int
skey_respond(void *ctx, u_int numresponses, char **responses)
{
Authctxt *authctxt = ctx;
diff --git a/usr.bin/ssh/auth2.c b/usr.bin/ssh/auth2.c
index 12537de575a..6da2423cb77 100644
--- a/usr.bin/ssh/auth2.c
+++ b/usr.bin/ssh/auth2.c
@@ -23,7 +23,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: auth2.c,v 1.90 2002/05/12 23:53:45 djm Exp $");
+RCSID("$OpenBSD: auth2.c,v 1.91 2002/05/13 02:37:39 itojun Exp $");
#include <openssl/evp.h>
@@ -51,6 +51,7 @@ RCSID("$OpenBSD: auth2.c,v 1.90 2002/05/12 23:53:45 djm Exp $");
#include "canohost.h"
#include "match.h"
#include "monitor_wrap.h"
+#include "atomicio.h"
/* import */
extern ServerOptions options;