summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/DES_set_key.3
diff options
context:
space:
mode:
authordtucker <>2017-02-09 03:43:05 +0000
committerdtucker <>2017-02-09 03:43:05 +0000
commitbc047f5237e81843012b06739757d793a5958066 (patch)
tree62a96124716b696143134fd3fddd2a8ac5abe02b /src/lib/libcrypto/man/DES_set_key.3
parent7afc297dcad79eeff814dc4a06faa6be54a2d987 (diff)
downloadopenbsd-bc047f5237e81843012b06739757d793a5958066.tar.gz
openbsd-bc047f5237e81843012b06739757d793a5958066.tar.bz2
openbsd-bc047f5237e81843012b06739757d793a5958066.zip
DES keys are not 7 days long. ok jsing@
Diffstat (limited to 'src/lib/libcrypto/man/DES_set_key.3')
-rw-r--r--src/lib/libcrypto/man/DES_set_key.36
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/man/DES_set_key.3 b/src/lib/libcrypto/man/DES_set_key.3
index 7d48ca5bfe..0a9e7381bc 100644
--- a/src/lib/libcrypto/man/DES_set_key.3
+++ b/src/lib/libcrypto/man/DES_set_key.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: DES_set_key.3,v 1.6 2016/12/08 22:13:59 jmc Exp $ 1.\" $OpenBSD: DES_set_key.3,v 1.7 2017/02/09 03:43:05 dtucker Exp $
2.\" OpenSSL c7497f34 Aug 14 10:50:26 2014 -0400 2.\" OpenSSL c7497f34 Aug 14 10:50:26 2014 -0400
3.\" 3.\"
4.\" -------------------------------------------------------------------------- 4.\" --------------------------------------------------------------------------
@@ -114,7 +114,7 @@
114.\" copied and put under another distribution licence 114.\" copied and put under another distribution licence
115.\" [including the GNU Public Licence.] 115.\" [including the GNU Public Licence.]
116.\" 116.\"
117.Dd $Mdocdate: December 8 2016 $ 117.Dd $Mdocdate: February 9 2017 $
118.Dt DES_SET_KEY 3 118.Dt DES_SET_KEY 3
119.Os 119.Os
120.Sh NAME 120.Sh NAME
@@ -435,7 +435,7 @@ or
435function. 435function.
436.Pp 436.Pp
437.Fn DES_set_key_checked 437.Fn DES_set_key_checked
438will check that the key passed is of odd parity and is not a week or 438will check that the key passed is of odd parity and is not a weak or
439semi-weak key. 439semi-weak key.
440If the parity is wrong, then -1 is returned. 440If the parity is wrong, then -1 is returned.
441If the key is a weak key, then -2 is returned. 441If the key is a weak key, then -2 is returned.