mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-13 20:00:08 +01:00
Translate FIPS messages.
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
|
||||
#include "libcryptsetup.h"
|
||||
#include "internal.h"
|
||||
#include "crypto_backend.h"
|
||||
|
||||
static int random_initialised = 0;
|
||||
|
||||
|
||||
@@ -41,11 +41,11 @@ static void crypt_fips_verify(struct crypt_device *cd,
|
||||
return;
|
||||
|
||||
if (!FIPSCHECK_verify(name, function)) {
|
||||
crypt_log(cd, CRYPT_LOG_ERROR, "FIPS checksum verification failed.\n");
|
||||
crypt_log(cd, CRYPT_LOG_ERROR, _("FIPS checksum verification failed.\n"));
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
crypt_log(cd, CRYPT_LOG_VERBOSE, "Running in FIPS mode.\n");
|
||||
crypt_log(cd, CRYPT_LOG_VERBOSE, _("Running in FIPS mode.\n"));
|
||||
}
|
||||
|
||||
void crypt_fips_libcryptsetup_check(struct crypt_device *cd)
|
||||
|
||||
@@ -5,6 +5,7 @@ lib/utils.c
|
||||
lib/crypt_plain.c
|
||||
lib/utils_crypt.c
|
||||
lib/utils_loop.c
|
||||
lib/utils_fips.c
|
||||
lib/utils_debug.c
|
||||
lib/luks1/af.c
|
||||
lib/luks1/keyencryption.c
|
||||
|
||||
Reference in New Issue
Block a user