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

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

  Branch: refs/heads/openssl-3.1
  Home:   https://github.com/openssl/openssl
  Commit: c69ba7b987fa87731b1abb7e997817ef5bf602e1
  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