summaryrefslogtreecommitdiffstats
path: root/secure
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2001-02-06 01:17:59 +0000
committerbde <bde@FreeBSD.org>2001-02-06 01:17:59 +0000
commit99cef5f18b7fa71146e45cf01e8d1cef270d06c0 (patch)
tree328f07cc089cdf26338c90630c27a843d76c8e8f /secure
parent1fafc41400a8ab8be4cd47f7a2c2cdef77418f1b (diff)
downloadFreeBSD-src-99cef5f18b7fa71146e45cf01e8d1cef270d06c0.zip
FreeBSD-src-99cef5f18b7fa71146e45cf01e8d1cef270d06c0.tar.gz
Fixed missing include of <unistd.h> and wrong prototype for setkey().
Diffstat (limited to 'secure')
-rw-r--r--secure/lib/libcipher/cipher.33
1 files changed, 2 insertions, 1 deletions
diff --git a/secure/lib/libcipher/cipher.3 b/secure/lib/libcipher/cipher.3
index d361dd3..a8dfab3 100644
--- a/secure/lib/libcipher/cipher.3
+++ b/secure/lib/libcipher/cipher.3
@@ -43,8 +43,9 @@
.Sh LIBRARY
.Lb libcipher
.Sh SYNOPSIS
+.Fd #include <unistd.h>
.Ft int
-.Fn setkey "char *key"
+.Fn setkey "const char *key"
.Ft int
.Fn encrypt "char *block" "int flag"
.Ft int
OpenPOWER on IntegriCloud