Deleted Added
full compact
auth.h (98684) auth.h (98941)
1/* $OpenBSD: auth.h,v 1.39 2002/05/31 11:35:15 markus Exp $ */
1/* $OpenBSD: auth.h,v 1.39 2002/05/31 11:35:15 markus Exp $ */
2/* $FreeBSD: head/crypto/openssh/auth.h 98684 2002-06-23 16:09:08Z des $ */
3
4/*
5 * Copyright (c) 2000 Markus Friedl. All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions
9 * are met:
10 * 1. Redistributions of source code must retain the above copyright

--- 117 unchanged lines hidden (view full) ---

128
129#ifdef KRB5
130int auth_krb5(Authctxt *authctxt, krb5_data *auth, char **client);
131int auth_krb5_tgt(Authctxt *authctxt, krb5_data *tgt);
132int auth_krb5_password(Authctxt *authctxt, const char *password);
133void krb5_cleanup_proc(void *authctxt);
134#endif /* KRB5 */
135
2
3/*
4 * Copyright (c) 2000 Markus Friedl. All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:
9 * 1. Redistributions of source code must retain the above copyright

--- 117 unchanged lines hidden (view full) ---

127
128#ifdef KRB5
129int auth_krb5(Authctxt *authctxt, krb5_data *auth, char **client);
130int auth_krb5_tgt(Authctxt *authctxt, krb5_data *tgt);
131int auth_krb5_password(Authctxt *authctxt, const char *password);
132void krb5_cleanup_proc(void *authctxt);
133#endif /* KRB5 */
134
135#include "auth-pam.h"
136#include "auth2-pam.h"
137
136Authctxt *do_authentication(void);
137Authctxt *do_authentication2(void);
138
139Authctxt *authctxt_new(void);
140void auth_log(Authctxt *, int, char *, char *);
141void userauth_finish(Authctxt *, int, char *);
142int auth_root_allowed(char *);
143

--- 37 unchanged lines hidden (view full) ---

181void auth_debug_add(const char *fmt,...) __attribute__((format(printf, 1, 2)));
182void auth_debug_send(void);
183void auth_debug_reset(void);
184
185#define AUTH_FAIL_MAX 6
186#define AUTH_FAIL_LOG (AUTH_FAIL_MAX/2)
187#define AUTH_FAIL_MSG "Too many authentication failures for %.100s"
188
138Authctxt *do_authentication(void);
139Authctxt *do_authentication2(void);
140
141Authctxt *authctxt_new(void);
142void auth_log(Authctxt *, int, char *, char *);
143void userauth_finish(Authctxt *, int, char *);
144int auth_root_allowed(char *);
145

--- 37 unchanged lines hidden (view full) ---

183void auth_debug_add(const char *fmt,...) __attribute__((format(printf, 1, 2)));
184void auth_debug_send(void);
185void auth_debug_reset(void);
186
187#define AUTH_FAIL_MAX 6
188#define AUTH_FAIL_LOG (AUTH_FAIL_MAX/2)
189#define AUTH_FAIL_MSG "Too many authentication failures for %.100s"
190
189#define SKEY_PROMPT "\nOPIE Password: "
191#define SKEY_PROMPT "\nS/Key Password: "
190#endif
192#endif