Skip to content

Commit

Permalink
#964 : CertificateVerifier.getAcceptedIssuers() should not return null
Browse files Browse the repository at this point in the history
  • Loading branch information
sbernard31 committed Jan 28, 2021
1 parent ddd43ff commit 36f5756
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import java.security.cert.Certificate;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

import javax.security.auth.x500.X500Principal;
Expand Down Expand Up @@ -32,7 +33,7 @@ public DefaultLeshanCertificateVerifier(Certificate expectedServerCertificate) {

@Override
public List<X500Principal> getAcceptedIssuers() {
return null;
return Collections.emptyList();
}

@Override
Expand Down

0 comments on commit 36f5756

Please sign in to comment.