mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-28 19:51:58 +01:00
style fixes for #2935; check OpenSSL version
This commit is contained in:
@@ -399,8 +399,8 @@ public:
|
||||
/// When choosing a cipher, use the server's preferences instead of the client
|
||||
/// preferences. When not called, the SSL server will always follow the clients
|
||||
/// preferences. When called, the SSL/TLS server will choose following its own
|
||||
/// preferences.
|
||||
|
||||
/// preferences.
|
||||
|
||||
bool ocspStaplingResponseVerificationEnabled() const;
|
||||
/// Returns true if automatic OCSP response
|
||||
/// reception and verification is enabled for client connections
|
||||
@@ -465,6 +465,12 @@ inline bool Context::extendedCertificateVerificationEnabled() const
|
||||
}
|
||||
|
||||
|
||||
inline bool Context::ocspStaplingResponseVerificationEnabled() const
|
||||
{
|
||||
return _ocspStaplingResponseVerification;
|
||||
}
|
||||
|
||||
|
||||
} } // namespace Poco::Net
|
||||
|
||||
|
||||
|
||||
@@ -272,17 +272,17 @@ protected:
|
||||
/// The request is delegated to the PrivatekeyPassword event. This method returns the
|
||||
/// length of the password.
|
||||
|
||||
static int verifyOCSPResponseCallback(SSL* pSSL, void* arg);
|
||||
/// The return value of this method defines how errors in
|
||||
/// verification are handled. Return 0 to terminate the handshake,
|
||||
/// or 1 to continue despite the error.
|
||||
|
||||
static Poco::Util::AbstractConfiguration& appConfig();
|
||||
/// Returns the application configuration.
|
||||
///
|
||||
/// Throws a InvalidStateException if not application instance
|
||||
/// is available.
|
||||
|
||||
static int verifyOCSPResponse(SSL *s, void *arg);
|
||||
/// The return value of this method defines how errors in
|
||||
/// verification are handled. Return 0 to terminate the handshake,
|
||||
/// or 1 to continue despite the error.
|
||||
|
||||
private:
|
||||
SSLManager();
|
||||
/// Creates the SSLManager.
|
||||
|
||||
Reference in New Issue
Block a user