[openssl-commits] [openssl] OpenSSL_1_0_2-stable update

Richard Levitte levitte at openssl.org
Mon Feb 13 10:55:35 UTC 2017

The branch OpenSSL_1_0_2-stable has been updated
       via  07109409daa674e4e766523a1dc51edb06299e03 (commit)
      from  f26015db3337470cc8396b9283194df96aff7d1b (commit)

- Log -----------------------------------------------------------------
commit 07109409daa674e4e766523a1dc51edb06299e03
Author: Darren Tucker <dtucker at google.com>
Date:   Mon Feb 13 10:36:29 2017 +1100

    DES keys are not 7 days long.
    CLA: trivial
    Reviewed-by: Matt Caswell <matt at openssl.org>
    Reviewed-by: Richard Levitte <levitte at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/2604)
    (cherry picked from commit ca423a693a619b38fb96d94b0385f8ce91a8e759)


Summary of changes:
 crypto/des/set_key.c | 2 +-
 doc/crypto/des.pod   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/crypto/des/set_key.c b/crypto/des/set_key.c
index 8fd8fe1..d9c5e7f 100644
--- a/crypto/des/set_key.c
+++ b/crypto/des/set_key.c
@@ -120,7 +120,7 @@ int DES_check_key_parity(const_DES_cblock *key)
- * Weak and semi week keys as take from
+ * Weak and semi weak keys as taken from
  * %A D.W. Davies
  * %A W.L. Price
  * %T Security for Computer Networks
diff --git a/doc/crypto/des.pod b/doc/crypto/des.pod
index e1add56..339617a 100644
--- a/doc/crypto/des.pod
+++ b/doc/crypto/des.pod
@@ -123,7 +123,7 @@ architecture dependent I<DES_key_schedule> via the
 DES_set_key_checked() or DES_set_key_unchecked() function.
 DES_set_key_checked() will check that the key passed is of odd parity
-and is not a week or semi-weak key.  If the parity is wrong, then -1
+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.

More information about the openssl-commits mailing list