Browse Source

right or wrong, bcrypt() is declared in pwd.h, not unistd.h

OPENBSD_5_6
tedu 10 years ago
parent
commit
3beb8e286a
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      src/lib/libc/crypt/crypt.3

+ 3
- 2
src/lib/libc/crypt/crypt.3 View File

@ -1,4 +1,4 @@
.\" $OpenBSD: crypt.3,v 1.33 2013/07/16 15:21:11 schwarze Exp $
.\" $OpenBSD: crypt.3,v 1.34 2014/03/19 02:34:45 tedu Exp $
.\" .\"
.\" FreeSec: libcrypt .\" FreeSec: libcrypt
.\" .\"
@ -31,7 +31,7 @@
.\" .\"
.\" Manual page, using -mandoc macros .\" Manual page, using -mandoc macros
.\" .\"
.Dd $Mdocdate: July 16 2013 $
.Dd $Mdocdate: March 19 2014 $
.Dt CRYPT 3 .Dt CRYPT 3
.Os .Os
.Sh NAME .Sh NAME
@ -58,6 +58,7 @@
.Fn des_setkey "const char *key" .Fn des_setkey "const char *key"
.Ft int .Ft int
.Fn des_cipher "const char *in" "char *out" "int32_t salt" "int count" .Fn des_cipher "const char *in" "char *out" "int32_t salt" "int count"
.In pwd.h
.Ft char * .Ft char *
.Fn bcrypt_gensalt "u_int8_t log_rounds" .Fn bcrypt_gensalt "u_int8_t log_rounds"
.Ft char * .Ft char *


Loading…
Cancel
Save