summaryrefslogtreecommitdiff
path: root/ssh-gss.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2003-11-17 22:18:21 +1100
committerDamien Miller <djm@mindrot.org>2003-11-17 22:18:21 +1100
commit0425d40194f36c57423c014b0730a9d344dbe019 (patch)
tree537527b6d0092152ee9f0c4ad01ea4bb41d8c271 /ssh-gss.h
parentc756e9b56e5b4649f120c417eb9bc99cf23db10f (diff)
- markus@cvs.openbsd.org 2003/11/17 11:06:07
[auth2-gss.c gss-genr.c gss-serv.c monitor.c monitor.h monitor_wrap.c] [monitor_wrap.h sshconnect2.c ssh-gss.h] replace "gssapi" with "gssapi-with-mic"; from Simon Wilkinson; test + ok jakob.
Diffstat (limited to 'ssh-gss.h')
-rw-r--r--ssh-gss.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/ssh-gss.h b/ssh-gss.h
index c76648ee0..2b6fe2130 100644
--- a/ssh-gss.h
+++ b/ssh-gss.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssh-gss.h,v 1.3 2003/10/02 08:26:53 markus Exp $ */ 1/* $OpenBSD: ssh-gss.h,v 1.4 2003/11/17 11:06:07 markus Exp $ */
2/* 2/*
3 * Copyright (c) 2001-2003 Simon Wilkinson. All rights reserved. 3 * Copyright (c) 2001-2003 Simon Wilkinson. All rights reserved.
4 * 4 *
@@ -50,6 +50,7 @@
50#define SSH2_MSG_USERAUTH_GSSAPI_EXCHANGE_COMPLETE 63 50#define SSH2_MSG_USERAUTH_GSSAPI_EXCHANGE_COMPLETE 63
51#define SSH2_MSG_USERAUTH_GSSAPI_ERROR 64 51#define SSH2_MSG_USERAUTH_GSSAPI_ERROR 64
52#define SSH2_MSG_USERAUTH_GSSAPI_ERRTOK 65 52#define SSH2_MSG_USERAUTH_GSSAPI_ERRTOK 65
53#define SSH2_MSG_USERAUTH_GSSAPI_MIC 66
53 54
54#define SSH_GSS_OIDTYPE 0x06 55#define SSH_GSS_OIDTYPE 0x06
55 56
@@ -108,11 +109,13 @@ void ssh_gssapi_error(Gssctxt *ctx);
108char *ssh_gssapi_last_error(Gssctxt *ctxt, OM_uint32 *maj, OM_uint32 *min); 109char *ssh_gssapi_last_error(Gssctxt *ctxt, OM_uint32 *maj, OM_uint32 *min);
109void ssh_gssapi_build_ctx(Gssctxt **ctx); 110void ssh_gssapi_build_ctx(Gssctxt **ctx);
110void ssh_gssapi_delete_ctx(Gssctxt **ctx); 111void ssh_gssapi_delete_ctx(Gssctxt **ctx);
112OM_uint32 ssh_gssapi_sign(Gssctxt *, gss_buffer_t, gss_buffer_t);
111OM_uint32 ssh_gssapi_server_ctx(Gssctxt **ctx, gss_OID oid); 113OM_uint32 ssh_gssapi_server_ctx(Gssctxt **ctx, gss_OID oid);
114void ssh_gssapi_buildmic(Buffer *, const char *, const char *, const char *);
112 115
113/* In the server */ 116/* In the server */
114int ssh_gssapi_userok(char *name); 117int ssh_gssapi_userok(char *name);
115 118OM_uint32 ssh_gssapi_checkmic(Gssctxt *, gss_buffer_t, gss_buffer_t);
116void ssh_gssapi_do_child(char ***envp, u_int *envsizep); 119void ssh_gssapi_do_child(char ***envp, u_int *envsizep);
117void ssh_gssapi_cleanup_creds(void); 120void ssh_gssapi_cleanup_creds(void);
118void ssh_gssapi_storecreds(void); 121void ssh_gssapi_storecreds(void);