You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Crypto/include/Poco/Crypto/OpenSSLInitializer.h
+10-1Lines changed: 10 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ namespace Crypto {
44
44
45
45
46
46
classCrypto_API OpenSSLInitializer
47
-
/// Initializes the OpenSSL library.
47
+
/// Initalizes the OpenSSL library.
48
48
///
49
49
/// The class ensures the earliest initialization and the
50
50
/// latest shutdown of the OpenSSL library.
@@ -68,6 +68,8 @@ class Crypto_API OpenSSLInitializer
68
68
staticvoidenableFIPSMode(bool enabled);
69
69
// Enable or disable FIPS mode. If FIPS is not available, this method doesn't do anything.
70
70
71
+
staticvoiddisableSSLInitialization(); // Call if OpenSSL is already being initialized by another component before constructing any OpenSSLInitializers.
72
+
71
73
protected:
72
74
enum
73
75
{
@@ -84,6 +86,8 @@ class Crypto_API OpenSSLInitializer
0 commit comments