diff options
author | Tobias Markmann <tobias.markmann@isode.com> | 2019-09-17 08:28:22 (GMT) |
---|---|---|
committer | Tobias Markmann <tobias.markmann@isode.com> | 2019-09-17 08:28:22 (GMT) |
commit | f15902a76e0f3ff0151fb34dcfae2db75a2f5fb7 (patch) | |
tree | 310fa04594575bfaff1eafe36227acf27aec0fe1 /Swiften/TLS/TLSOptions.h | |
parent | 181ac4a83ba4a82be683fb0a6f08393d3c91320c (diff) | |
download | swift-f15902a76e0f3ff0151fb34dcfae2db75a2f5fb7.zip swift-f15902a76e0f3ff0151fb34dcfae2db75a2f5fb7.tar.bz2 |
Fix casing of enums to avoid conflict on Windows
Test-Information:
Tested on Windows with OpenSSL that this fixes the
compilation issue.
Change-Id: I01887c8eb758a6c1c208244cdae32aa9c0a99565
Diffstat (limited to 'Swiften/TLS/TLSOptions.h')
-rw-r--r-- | Swiften/TLS/TLSOptions.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Swiften/TLS/TLSOptions.h b/Swiften/TLS/TLSOptions.h index 7a38aa2..56648a3 100644 --- a/Swiften/TLS/TLSOptions.h +++ b/Swiften/TLS/TLSOptions.h @@ -51,10 +51,10 @@ namespace Swift { boost::optional<int> verifyDepth; enum class VerifyMode { - NONE, - REQUIRED, - OPTIONAL - } ; + None, + Required, + Optional + }; boost::optional<VerifyMode> verifyMode; /** |