summaryrefslogtreecommitdiff
path: root/auth.h
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-03-22 01:24:38 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-03-22 01:24:38 +0000
commit2ae18f40a70632eb87eca114980649dae8c476ff (patch)
treef9d5dd660441f05c1ff96c48eda5e626b06c69f3 /auth.h
parenteacc71b558d29c243ea540c3d6acd2cf6ca15552 (diff)
- provos@cvs.openbsd.org 2002/03/17 20:25:56
[auth.c auth.h auth1.c auth2.c] getpwnamallow returns struct passwd * only if user valid; okay markus@
Diffstat (limited to 'auth.h')
-rw-r--r--auth.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/auth.h b/auth.h
index 83471a0a6..5f0ed7da4 100644
--- a/auth.h
+++ b/auth.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: auth.h,v 1.31 2002/03/16 17:22:09 markus Exp $ */ 1/* $OpenBSD: auth.h,v 1.32 2002/03/17 20:25:56 provos Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2000 Markus Friedl. All rights reserved. 4 * Copyright (c) 2000 Markus Friedl. All rights reserved.
@@ -133,6 +133,7 @@ int auth2_challenge(Authctxt *, char *);
133void auth2_challenge_stop(Authctxt *); 133void auth2_challenge_stop(Authctxt *);
134 134
135int allowed_user(struct passwd *); 135int allowed_user(struct passwd *);
136struct passwd * getpwnamallow(const char *user);
136 137
137char *get_challenge(Authctxt *); 138char *get_challenge(Authctxt *);
138int verify_response(Authctxt *, const char *); 139int verify_response(Authctxt *, const char *);