|
@@ -624,7 +624,7 @@ |
|
|
block discarded – undo |
|
624
|
624
|
* STEP 13 of the validation procedure in § 7.1 of the spec: is the algorithm the expected one? |
|
625
|
625
|
*/ |
|
626
|
626
|
if (in_array($arrayPK['3'], self::PK_ALGORITHM)) { // we requested -7 or -257, so want to see it here |
|
627
|
|
- $this->algo = (int)$arrayPK['3']; |
|
|
627
|
+ $this->algo = (int) $arrayPK['3']; |
|
628
|
628
|
$this->pass("Public Key Algorithm is expected (" . implode(' or ', WebAuthnRegistrationEvent::PK_ALGORITHM) . ")."); |
|
629
|
629
|
} else { |
|
630
|
630
|
$this->fail("Public Key Algorithm mismatch!"); |
Please login to merge, or discard this patch.