lordgamez commented on code in PR #1600:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1600#discussion_r1271132554


##########
libminifi/src/controllers/SSLContextService.cpp:
##########
@@ -196,16 +196,16 @@ bool SSLContextService::configure_ssl_context(SSL_CTX 
*ctx) {
   }
 
   // Security level set to 0 for backwards compatibility to support TLS 
versions below v1.2
-  SSL_CTX_set_security_level(ctx, 0);
+  if ((minimum_tls_version_ != 0 && minimum_tls_version_ < TLS1_2_VERSION) || 
(maximum_tls_version_ != -1 && maximum_tls_version_ < TLS1_2_VERSION)) {

Review Comment:
   Yes, good catch, fixed in 8f8721b1712189699a0c4af09e0a06bd3fe763ee



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to