summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/boot-env/OpenSLX/BootEnvironment/PXE.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/boot-env/OpenSLX/BootEnvironment/PXE.pm b/src/boot-env/OpenSLX/BootEnvironment/PXE.pm
index a5bd7a62..251bd9bd 100644
--- a/src/boot-env/OpenSLX/BootEnvironment/PXE.pm
+++ b/src/boot-env/OpenSLX/BootEnvironment/PXE.pm
@@ -335,7 +335,7 @@ sub _sha1pass
my $self = shift;
my $pass = shift;
my $salt = shift || MIME::Base64::encode($self->_random_bytes(6), '');
- $pass = Digest::SHA1::sha1_base64($salt, $pass);
+ $pass = Digest::SHA::sha1_base64($salt, $pass);
return sprintf('$4$%s$%s$', $salt, $pass);
}