[openssl/openssl] af99d5: apps/ca.c: Handle EVP_PKEY_get_default_digest_name...

Richard Levitte noreply at github.com
Thu Jun 15 12:06:15 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: af99d55078582fb2ac35787043d56e0c10b1fe97
      https://github.com/openssl/openssl/commit/af99d55078582fb2ac35787043d56e0c10b1fe97
  Author: Richard Levitte <levitte at openssl.org>
  Date:   2023-06-15 (Thu, 15 Jun 2023)

  Changed paths:
    M apps/ca.c
    M doc/man3/EVP_PKEY_get_default_digest_nid.pod

  Log Message:
  -----------
  apps/ca.c: Handle EVP_PKEY_get_default_digest_name() returning 1 with "UNDEF"

EVP_PKEY_get_default_digest_name() may return 1 with the returned digest
name "UNDEF".  This case hasn't been documented, and the meaning has been
left undefined, until now.

Reviewed-by: Todd Short <todd.short at me.com>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20460)




More information about the openssl-commits mailing list