Skip to content

mod_ssl: Drop szCryptoDevice from SSLModConfigRec for non-ENGINE builds#559

Closed
notroj wants to merge 1 commit intoapache:trunkfrom
notroj:ssl-no-cryptodev
Closed

mod_ssl: Drop szCryptoDevice from SSLModConfigRec for non-ENGINE builds#559
notroj wants to merge 1 commit intoapache:trunkfrom
notroj:ssl-no-cryptodev

Conversation

@notroj
Copy link
Copy Markdown
Collaborator

@notroj notroj commented Sep 30, 2025

* modules/ssl/ssl_private.h (SSLModConfigRec): Make szCryptoDevice
  conditional on ENGINE API support.

* modules/ssl/ssl_engine_config.c (ssl_cmd_SSLCryptoDevice): Log a warning if the directive is used in a non-ENGINE OpenSSL build; only touch szCryptoDevice for with-ENGINE builds.

* modules/ssl/ssl_engine_init.c (ssl_init_server_certs): Only use szCryptoDevice for with-ENGINE builds.

  conditional on ENGINE API support.

* modules/ssl/ssl_engine_config.c (ssl_cmd_SSLCryptoDevice): Log a
  warning if the directive is used in a non-ENGINE OpenSSL build;
  only touch szCryptoDevice for with-ENGINE builds.

* modules/ssl/ssl_engine_init.c (ssl_init_server_certs): Only
  use szCryptoDevice for with-ENGINE builds.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant