From 239e2d30f2053386e85114f9d3bc5fe0d9042a18 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Sun, 11 Sep 2016 12:36:35 -0400 Subject: Nudge people towards better hashes in a few places (#538) --- src/OpenSSL/crypto.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/OpenSSL/crypto.py b/src/OpenSSL/crypto.py index 116cc51..84a1a07 100644 --- a/src/OpenSSL/crypto.py +++ b/src/OpenSSL/crypto.py @@ -937,7 +937,7 @@ class X509Req(object): :param pkey: The key pair to sign with. :type pkey: :py:class:`PKey` :param digest: The name of the message digest to use for the signature, - e.g. :py:data:`b"sha1"`. + e.g. :py:data:`b"sha256"`. :type digest: :py:class:`bytes` :return: ``None`` """ @@ -2071,7 +2071,7 @@ class CRL(object): :data:`FILETYPE_ASN1`, or :data:`FILETYPE_TEXT`. :param int days: The number of days until the next update of this CRL. :param bytes digest: The name of the message digest to use (eg - ``b"sha1"``). + ``b"sha2566"``). :rtype: bytes """ -- cgit v1.2.1