summaryrefslogtreecommitdiffstats
path: root/doc/man3/DES_random_key.pod
diff options
context:
space:
mode:
authorRich Salz <rsalz@akamai.com>2019-07-01 14:41:19 -0400
committerRich Salz <rsalz@akamai.com>2019-07-01 19:42:12 -0400
commitb66a481888e00a36f833308bdcf53408238511d4 (patch)
tree50beaefd6da8140fa30fe951389800589e8826ff /doc/man3/DES_random_key.pod
parent6b10d29c1ac7dd4054cdb72e881d3e0213fb7ef0 (diff)
Remove DES_check_key global
Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/9284)
Diffstat (limited to 'doc/man3/DES_random_key.pod')
-rw-r--r--doc/man3/DES_random_key.pod7
1 files changed, 2 insertions, 5 deletions
diff --git a/doc/man3/DES_random_key.pod b/doc/man3/DES_random_key.pod
index a1480004e5..1506923dcc 100644
--- a/doc/man3/DES_random_key.pod
+++ b/doc/man3/DES_random_key.pod
@@ -119,11 +119,8 @@ and is not a weak or semi-weak key. If the parity is wrong, then -1
is returned. If the key is a weak key, then -2 is returned. If an
error is returned, the key schedule is not generated.
-DES_set_key() works like
-DES_set_key_checked() if the I<DES_check_key> flag is non-zero,
-otherwise like DES_set_key_unchecked(). These functions are available
-for compatibility; it is recommended to use a function that does not
-depend on a global variable.
+DES_set_key() works like DES_set_key_checked() and remains for
+backward compatibility.
DES_set_odd_parity() sets the parity of the passed I<key> to odd.