[openssl/openssl] 98afa0: fips: correctly initialise FIPS indicator settables

Pauli noreply at github.com
Fri Jul 19 15:35:56 UTC 2024


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 98afa01f3e02fba18f9203b2451113df8f247f7c
      https://github.com/openssl/openssl/commit/98afa01f3e02fba18f9203b2451113df8f247f7c
  Author: Pauli <ppzgs1 at gmail.com>
  Date:   2024-07-19 (Fri, 19 Jul 2024)

  Changed paths:
    M providers/common/include/prov/fipsindicator.h
    M providers/fips/fipsindicator.c

  Log Message:
  -----------
  fips: correctly initialise FIPS indicator settables

The `memset(3)` just happened to work because 2s complement.
This is more robust.

Also reduced the size of the indicator structure.

Reviewed-by: Tom Cosgrove <tom.cosgrove at arm.com>
Reviewed-by: Shane Lontis <shane.lontis at oracle.com>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24923)



To unsubscribe from these emails, change your notification settings at https://github.com/openssl/openssl/settings/notifications


More information about the openssl-commits mailing list