[openssl/openssl] e582b2: rsa/rsa_ameth.c: Add the check for the EVP_MD_get_...

JiashengJiang noreply at github.com
Fri Mar 29 19:48:31 UTC 2024


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: e582b2b22bcfbf5ed2b38de5fd1417013028614f
      https://github.com/openssl/openssl/commit/e582b2b22bcfbf5ed2b38de5fd1417013028614f
  Author: Jiasheng Jiang <jiasheng at purdue.edu>
  Date:   2024-03-29 (Fri, 29 Mar 2024)

  Changed paths:
    M crypto/rsa/rsa_ameth.c

  Log Message:
  -----------
  rsa/rsa_ameth.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: 17c63d1cca ("RSA PSS ASN1 signing method")
Signed-off-by: Jiasheng Jiang <jiasheng at purdue.edu>

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove at arm.com>
Reviewed-by: Neil Horman <nhorman at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23973)



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