wenwj0 commented on code in PR #165:
URL: https://github.com/apache/commons-crypto/pull/165#discussion_r896736961


##########
src/main/java/org/apache/commons/crypto/cipher/OpenSslCipher.java:
##########
@@ -60,6 +60,11 @@ public OpenSslCipher(final Properties props, final String 
transformation) // NOP
         }
 
         openSslEngine = OpenSsl.getInstance(transformation);
+
+        String engineId = 
props.getProperty(CryptoCipherFactory.CIPHER_ENGINE_KEY);
+        if(engineId != null && !engineId.isEmpty()) {

Review Comment:
   ok



##########
src/main/java/org/apache/commons/crypto/cipher/OpenSsl.java:
##########
@@ -378,4 +378,7 @@ protected void finalize() throws Throwable {
         clean();
     }
 
+    public void engineSetDefaultCiphers(String engineId){

Review Comment:
   ok



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