Clarify two comments (typos) in fipsprov.c
authorDaniel Bevenius <daniel.bevenius@gmail.com>
Wed, 5 May 2021 03:39:56 +0000 (05:39 +0200)
committerPauli <pauli@openssl.org>
Thu, 6 May 2021 12:59:21 +0000 (22:59 +1000)
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15150)

providers/fips/fipsprov.c

index a7d335b78a04420f2104f4b49d738f3aaba30933..841c80bab7256c49142b0f03feb072f70d0b2eff 100644 (file)
@@ -671,14 +671,14 @@ int OSSL_provider_init(const OSSL_CORE_HANDLE *handle,
         return 0;
     }
     /*
-     * Disable the conditional error check if is disabled in the fips config
-     * file
+     * Disable the conditional error check if it's disabled in the fips config
+     * file.
      */
     if (fgbl->selftest_params.conditional_error_check != NULL
         && strcmp(fgbl->selftest_params.conditional_error_check, "0") == 0)
         SELF_TEST_disable_conditional_error_state();
 
-    /* Disable the security check if is disabled in the fips config file */
+    /* Disable the security check if it's disabled in the fips config file. */
     if (fgbl->fips_security_check_option != NULL
         && strcmp(fgbl->fips_security_check_option, "0") == 0)
         fgbl->fips_security_checks = 0;