summaryrefslogtreecommitdiff
path: root/lib/crypto
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2023-03-31 11:07:46 +0200
committerAndrew Bartlett <abartlet@samba.org>2023-04-03 03:56:35 +0000
commit2b712191a849a66d7362887647928067c2938f7d (patch)
treee685ca4228adaa05e828e810cccbb47316dfb6c7 /lib/crypto
parent3d409c16ee7d00012f954e8e819f0f9d48aedb73 (diff)
downloadsamba-2b712191a849a66d7362887647928067c2938f7d.tar.gz
lib:crypto: Improve comment about weak crypto
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'lib/crypto')
-rw-r--r--lib/crypto/gnutls_weak_crypto.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/crypto/gnutls_weak_crypto.c b/lib/crypto/gnutls_weak_crypto.c
index 68ce588243f..dcc53bb0037 100644
--- a/lib/crypto/gnutls_weak_crypto.c
+++ b/lib/crypto/gnutls_weak_crypto.c
@@ -31,8 +31,7 @@ bool samba_gnutls_weak_crypto_allowed(void)
int rc;
/*
- * If RC4 is not allowed to be initialzed then weak crypto is not
- * allowed.
+ * If we can't initialize RC4 then weak crypto is not allowed.
*/
rc = gnutls_cipher_init(&cipher_hnd,
GNUTLS_CIPHER_ARCFOUR_128,