]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
mod_ssl: Fix regression in r1914365 preventing pkcs11: key/cert lookup
authorJoe Orton <jorton@apache.org>
Thu, 12 Sep 2024 16:04:39 +0000 (16:04 +0000)
committerJoe Orton <jorton@apache.org>
Thu, 12 Sep 2024 16:04:39 +0000 (16:04 +0000)
commitb9588ebe064aca122dd869768044df73fa8b4fae
treea36050ad0c5c86a88253301f26043d6b6fa75993
parentb5e9884a48f72cdfeddc60b121a24560ef8b88a9
mod_ssl: Fix regression in r1914365 preventing pkcs11: key/cert lookup
via the ENGINE API without SSLCryptoDevice configured.

* modules/ssl/ssl_engine_pphrase.c
  (modssl_load_keypair_engine): Return APR_ENOTIMPL if the ENGINE
  could not be loaded for the key.
  (modssl_load_engine_keypair): Always try loading via ENGINE
  (as prior to r1914365) but fall back to the STORE API for
  the new APR_ENOTIMPL case.

Github: closes #480

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1920597 13f79535-47bb-0310-9956-ffa450edef68
changes-entries/modssl-engine-fallback.txt [new file with mode: 0644]
modules/ssl/ssl_engine_pphrase.c