From 06c10fd7196d63c013af33de0074c72f5e74c085 Mon Sep 17 00:00:00 2001 From: Xavier Date: Thu, 28 Nov 2019 23:01:30 +0100 Subject: [PATCH] Add comment --- lemonldap-ng-common/lib/Lemonldap/NG/Common/Crypto.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lemonldap-ng-common/lib/Lemonldap/NG/Common/Crypto.pm b/lemonldap-ng-common/lib/Lemonldap/NG/Common/Crypto.pm index 2edf31e15..c5e3f4d94 100644 --- a/lemonldap-ng-common/lib/Lemonldap/NG/Common/Crypto.pm +++ b/lemonldap-ng-common/lib/Lemonldap/NG/Common/Crypto.pm @@ -21,6 +21,7 @@ $hash = \&Digest::SHA::sha256; use constant HMAC_LENGTH => 32; use constant IV_LENGTH => 16; +# Build initialization vector subroutine BEGIN { eval { require Crypt::URandom; Crypt::URandom::urandom(IV_LENGTH) }; if ($@) {