mirror of
https://github.com/eclipse-mosquitto/mosquitto.git
synced 2026-09-24 00:54:01 +08:00
Adding OCSP Stapling support to mosquitto
Adding OCSP Stapling support to mosquitto, so that the TLS client side requests the certificate status and checks it. This code uses the OpenSSL-based OCSP implementation and is somewhat based on the libcurl code for OCSP stapling. Signed-off-by: Dr. Lars Voelker <lars.voelker@bmw.de>
This commit is contained in:
@@ -305,4 +305,8 @@ int mosquittopp::tls_psk_set(const char *psk, const char *identity, const char *
|
||||
return mosquitto_tls_psk_set(m_mosq, psk, identity, ciphers);
|
||||
}
|
||||
|
||||
int mosquittopp::tls_ocsp_set(int ocsp_reqs)
|
||||
{
|
||||
return mosquitto_tls_ocsp_set(m_mosq, ocsp_reqs);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user