[openssl/openssl] 3c4a35: 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/openssl-3.0
  Home:   https://github.com/openssl/openssl
  Commit: 3c4a3593e4bfa9824a676c7f6be3b939876ce2b3
      https://github.com/openssl/openssl/commit/3c4a3593e4bfa9824a676c7f6be3b939876ce2b3
  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)

(cherry picked from commit af99d55078582fb2ac35787043d56e0c10b1fe97)




More information about the openssl-commits mailing list