[openssl/openssl] 309c7f: ffc/ffc_params_generate.c: Add the check for the E...

JiashengJiang noreply at github.com
Tue Apr 9 18:49:57 UTC 2024


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 309c7ffd17334a9f9f5b04286892f10a9aca8a2e
      https://github.com/openssl/openssl/commit/309c7ffd17334a9f9f5b04286892f10a9aca8a2e
  Author: Jiasheng Jiang <jiasheng at purdue.edu>
  Date:   2024-04-09 (Tue, 09 Apr 2024)

  Changed paths:
    M crypto/ffc/ffc_params_generate.c

  Log Message:
  -----------
  ffc/ffc_params_generate.c: Add the check for the EVP_MD_get_size()

Add the check for the EVP_MD_get_size() to avoid invalid negative numbers.

Fixes: 4f2271d58a ("Add ACVP fips module tests")
Signed-off-by: Jiasheng Jiang <jiasheng at purdue.edu>

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/23970)



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