Set version for next FIPS validation. Change-Id: Ic97b9054ab2fea39cb0dbb0edfce540e974d50f0 Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/80847 Commit-Queue: Adam Langley <agl@google.com> Auto-Submit: Adam Langley <agl@google.com> Reviewed-by: Nick Harper <nharper@chromium.org>
diff --git a/crypto/fipsmodule/self_check/fips.cc.inc b/crypto/fipsmodule/self_check/fips.cc.inc index d51983c..810c3e8 100644 --- a/crypto/fipsmodule/self_check/fips.cc.inc +++ b/crypto/fipsmodule/self_check/fips.cc.inc
@@ -39,7 +39,7 @@ } uint32_t FIPS_version(void) { - return 0; + return 20250728; } int FIPS_query_algorithm_status(const char *algorithm) {
diff --git a/include/openssl/crypto.h b/include/openssl/crypto.h index aed4326..1e8e6ad 100644 --- a/include/openssl/crypto.h +++ b/include/openssl/crypto.h
@@ -205,8 +205,7 @@ // FIPS_version returns the version of the FIPS module, or zero if the build // isn't exactly at a verified version. The version, expressed in base 10, will -// be a date in the form yyyymmddXX where XX is often "00", but can be -// incremented if multiple versions are defined on a single day. +// be a date in the form yyyymmdd. // // (This format exceeds a |uint32_t| in the year 4294.) OPENSSL_EXPORT uint32_t FIPS_version(void);