ayushisingh29 commented on code in PR #2490:
URL: https://github.com/apache/cassandra/pull/2490#discussion_r1267283499


##########
src/java/org/apache/cassandra/config/DatabaseDescriptor.java:
##########
@@ -1217,6 +1221,25 @@ public static void applySslContext()
         }
     }
 
+    public static void applyCryptoProvider()
+    {
+        try
+        {
+            if (conf.crypto_provider == null)
+                conf.crypto_provider = new 
ParameterizedClass("org.apache.cassandra.security.DefaultCryptoProvider", null);

Review Comment:
   With the use of  'DefaultCryptoProvider.class.getName()' I have to add 
DefaultCryptoProvider to DatabaseDescriptorRefTest, which I do not see as an 
issue. It is better to use class.getName()



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to