Don't abort in a non-FIPS build. When the output isn't a terminal, stdio doesn't seem to flush on abort so this ends looking odd. Change-Id: Ic264915302f175f2fc5c700b8e8278bdb23776eb Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/83527 Commit-Queue: Lily Chen <chlily@google.com> Auto-Submit: Adam Langley <agl@google.com> Reviewed-by: Lily Chen <chlily@google.com>
diff --git a/util/fipstools/acvp/modulewrapper/main.cc b/util/fipstools/acvp/modulewrapper/main.cc index 87c6634..b10a67c 100644 --- a/util/fipstools/acvp/modulewrapper/main.cc +++ b/util/fipstools/acvp/modulewrapper/main.cc
@@ -53,7 +53,6 @@ // |module_version| will be zero, so the non-FIPS build will never get // this far. printf("Non zero module version in non-FIPS build - should not happen!\n"); - abort(); #elif defined(OPENSSL_ASAN) printf("(not available when compiled for ASAN)"); #else