ascherbakoff commented on a change in pull request #6796: IGNITE-12049 Allow 
custom authenticators to use SSL certificates
URL: https://github.com/apache/ignite/pull/6796#discussion_r342417383
 
 

 ##########
 File path: 
modules/core/src/main/java/org/apache/ignite/internal/util/nio/ssl/GridNioSslFilter.java
 ##########
 @@ -330,6 +330,11 @@ public ByteBuffer encrypt(GridNioSession ses, ByteBuffer 
input) throws SSLExcept
 
         GridNioSslHandler hnd = sslHandler(ses);
 
+        GridSslMeta meta = ses.meta(SSL_META.ordinal());
+
+        if (meta.sslEngine() == null)
 
 Review comment:
   meta is nullable according to contract. NPE is possible here.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to