parent
2bffd6fd1b
commit
4aa603c150
|
@ -9,6 +9,9 @@
|
||||||
- markus@cvs.openbsd.org 2001/04/18 22:03:45
|
- markus@cvs.openbsd.org 2001/04/18 22:03:45
|
||||||
[auth2.c sshconnect2.c]
|
[auth2.c sshconnect2.c]
|
||||||
use FDQN with trailing dot in the hostbased auth packets, ok deraadt@
|
use FDQN with trailing dot in the hostbased auth packets, ok deraadt@
|
||||||
|
- markus@cvs.openbsd.org 2001/04/18 22:48:26
|
||||||
|
[auth2.c]
|
||||||
|
no longer const
|
||||||
|
|
||||||
20010418
|
20010418
|
||||||
- OpenBSD CVS Sync
|
- OpenBSD CVS Sync
|
||||||
|
@ -5171,4 +5174,4 @@
|
||||||
- Wrote replacements for strlcpy and mkdtemp
|
- Wrote replacements for strlcpy and mkdtemp
|
||||||
- Released 1.0pre1
|
- Released 1.0pre1
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.1142 2001/04/19 20:35:40 mouring Exp $
|
$Id: ChangeLog,v 1.1143 2001/04/19 20:38:06 mouring Exp $
|
||||||
|
|
6
auth2.c
6
auth2.c
|
@ -23,7 +23,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
RCSID("$OpenBSD: auth2.c,v 1.53 2001/04/18 22:03:44 markus Exp $");
|
RCSID("$OpenBSD: auth2.c,v 1.54 2001/04/18 22:48:26 markus Exp $");
|
||||||
|
|
||||||
#include <openssl/evp.h>
|
#include <openssl/evp.h>
|
||||||
|
|
||||||
|
@ -82,7 +82,7 @@ Authmethod *authmethod_lookup(const char *name);
|
||||||
char *authmethods_get(void);
|
char *authmethods_get(void);
|
||||||
int user_key_allowed(struct passwd *pw, Key *key);
|
int user_key_allowed(struct passwd *pw, Key *key);
|
||||||
int
|
int
|
||||||
hostbased_key_allowed(struct passwd *pw, const char *cuser, const char *chost,
|
hostbased_key_allowed(struct passwd *pw, const char *cuser, char *chost,
|
||||||
Key *key);
|
Key *key);
|
||||||
|
|
||||||
/* auth */
|
/* auth */
|
||||||
|
@ -792,7 +792,7 @@ user_key_allowed(struct passwd *pw, Key *key)
|
||||||
|
|
||||||
/* return 1 if given hostkey is allowed */
|
/* return 1 if given hostkey is allowed */
|
||||||
int
|
int
|
||||||
hostbased_key_allowed(struct passwd *pw, const char *cuser, const char *chost,
|
hostbased_key_allowed(struct passwd *pw, const char *cuser, char *chost,
|
||||||
Key *key)
|
Key *key)
|
||||||
{
|
{
|
||||||
Key *found;
|
Key *found;
|
||||||
|
|
Loading…
Reference in New Issue