]> git.proxmox.com Git - pve-common.git/commitdiff
tools: get_file_hash: add use statements for Digest module
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 15 Jun 2021 12:22:18 +0000 (14:22 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 15 Jun 2021 12:22:18 +0000 (14:22 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/Tools.pm

index 567f604347880e7dd5421c8a93a95ca1623bc9f7..11f2d1c77125f092b22929af07572eb913a95335 100644 (file)
@@ -2,6 +2,7 @@ package PVE::Tools;
 
 use strict;
 use warnings;
+
 use POSIX qw(EINTR EEXIST EOPNOTSUPP);
 use IO::Socket::IP;
 use Socket qw(AF_INET AF_INET6 AI_ALL AI_V4MAPPED AI_CANONNAME SOCK_DGRAM IPPROTO_TCP);
@@ -25,6 +26,8 @@ use String::ShellQuote;
 use Time::HiRes qw(usleep gettimeofday tv_interval alarm);
 use Scalar::Util 'weaken';
 use Date::Format qw(time2str);
+use Digest::SHA;
+use Digest::MD5;
 
 use PVE::Syscall;