Skip to content

Commit bf6858c

Browse files
committed
Fix argument order in attestation trust failure log message
1 parent 45f4bad commit bf6858c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

webauthn-server-core/src/main/java/com/yubico/webauthn/FinishRegistrationSteps.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -561,10 +561,10 @@ public boolean attestationTrusted() {
561561
} catch (CertPathValidatorException e) {
562562
log.info(
563563
"Failed to derive trust in attestation statement: {} at cert index {}: {}. Attestation object: {}",
564-
response.getResponse().getAttestationObject(),
565564
e.getReason(),
566565
e.getIndex(),
567-
e.getMessage());
566+
e.getMessage(),
567+
response.getResponse().getAttestationObject());
568568
return false;
569569

570570
} catch (CertificateException e) {

0 commit comments

Comments
 (0)