mbox series

[0/2] Expose OpenSSL dynamic engine loading globally

Message ID CH2PR21MB14455D997A4DB9CF1F2A9662C2779@CH2PR21MB1445.namprd21.prod.outlook.com
Headers show
Series Expose OpenSSL dynamic engine loading globally | expand

Message

Andrew Beltrano April 5, 2021, 6:04 p.m. UTC
This patch set exposes the ability to load a dynamic OpenSSL engine globally.
Previously, this functionality was defined in TLS-specific sources, however,
was implemented generically. This allows other code that wishes to load a
dynamic OpenSSL engine to do so without duplicating code.

No functional changes are introduced.

Andrew Beltrano (2):
  Make tls_engine_load_dynamic_generic externally accessible.
  Drop tls prefix from tls_engine_load_dynamic_generic.

 doc/code_structure.doxygen                 |  3 +
 hostapd/Android.mk                         |  3 +
 hostapd/Makefile                           |  3 +
 src/crypto/openssl_engine.c                | 97 ++++++++++++++++++++++
 src/crypto/openssl_engine.h                | 10 +++
 src/crypto/tls_openssl.c                   | 90 +-------------------
 wpa_supplicant/Android.mk                  |  3 +
 wpa_supplicant/Makefile                    |  3 +
 wpa_supplicant/nmake.mak                   |  1 +
 wpa_supplicant/vs2005/wpasvc/wpasvc.vcproj |  4 +
 10 files changed, 130 insertions(+), 87 deletions(-)
 create mode 100644 src/crypto/openssl_engine.c
 create mode 100644 src/crypto/openssl_engine.h

-- 
2.20.1