Skip to content

Commit

Permalink
Fix certs find in UniqueKeyConstraint
Browse files Browse the repository at this point in the history
  • Loading branch information
fmarco76 committed May 8, 2024
1 parent e22016b commit 5545b04
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ public void validate(Request request, X509CertInfo info)
byte[] pub = key.getEncoded();
String pubS = escapeBinaryData(pub);
String filter = "(" + CertRecord.ATTR_X509CERT_PUBLIC_KEY_DATA + "=" + pubS + ")";
String[] attrs = { CertRecord.ATTR_ID };
String[] attrs = { CertRecord.ATTR_ID, "objectclass"};
list = cr.findPagedCertRecords(filter, attrs, null);
certRecIterator = list.iterator();
} catch (Exception e) {
Expand Down

0 comments on commit 5545b04

Please sign in to comment.