projects
/
platform
/
upstream
/
cryptsetup.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65c4c62
)
Better use _exit() on checksum fail.
author
Milan Broz
<gmazyland@gmail.com>
Mon, 28 May 2012 08:31:50 +0000
(10:31 +0200)
committer
Milan Broz
<gmazyland@gmail.com>
Mon, 28 May 2012 08:31:50 +0000
(10:31 +0200)
lib/utils_fips.c
patch
|
blob
|
history
diff --git
a/lib/utils_fips.c
b/lib/utils_fips.c
index
4ca003f
..
759890d
100644
(file)
--- a/
lib/utils_fips.c
+++ b/
lib/utils_fips.c
@@
-43,7
+43,7
@@
static void crypt_fips_verify(struct crypt_device *cd,
if (!FIPSCHECK_verify(name, function)) {
crypt_log(cd, CRYPT_LOG_ERROR, _("FIPS checksum verification failed.\n"));
- exit(EXIT_FAILURE);
+
_
exit(EXIT_FAILURE);
}
crypt_log(cd, CRYPT_LOG_VERBOSE, _("Running in FIPS mode.\n"));