Browse Source

prototype for crypt_newhash(). adding it here because this is where

login_cap_t lives and i don't want to forward declare it in unistd.h
OPENBSD_5_7
tedu 9 years ago
parent
commit
302efc61c4
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      src/include/login_cap.h

+ 3
- 1
src/include/login_cap.h View File

@ -1,4 +1,4 @@
/* $OpenBSD: login_cap.h,v 1.13 2005/01/28 17:17:22 millert Exp $ */
/* $OpenBSD: login_cap.h,v 1.14 2014/11/19 22:59:50 tedu Exp $ */
/*-
* Copyright (c) 1995,1997 Berkeley Software Design, Inc. All rights reserved.
@ -104,6 +104,8 @@ int secure_path(char *);
int setclasscontext(char *, unsigned int);
int setusercontext(login_cap_t *, struct passwd *, uid_t, unsigned int);
int crypt_newhash(const char *pass, login_cap_t *lc, char *hash, size_t hashlen);
__END_DECLS
#endif /* _LOGIN_CAP_H_ */

Loading…
Cancel
Save