| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent a1b078b commit a896eff
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2744,8 +2744,9 @@ std::optional<int> SSLPointer::getSecurityLevel() { | |||
| 2744 | 2744 | ||
| 2745 | 2745 | return SSL_get_security_level(ssl); | |
| 2746 | 2746 | #else | |
| 2747 | - // for BoringSSL assume the same as the default | ||
| 2748 | - return OPENSSL_TLS_SECURITY_LEVEL; | ||
| 2747 | + // OPENSSL_TLS_SECURITY_LEVEL is not defined in BoringSSL | ||
| 2748 | + // so assume it is the default OPENSSL_TLS_SECURITY_LEVEL value. | ||
| 2749 | + return 1; | ||
| 2749 | 2750 | #endif // OPENSSL_IS_BORINGSSL | |
| 2750 | 2751 | } | |
| 2751 | 2752 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments