Changeset 291761 in webkit
- Timestamp:
- Mar 23, 2022 12:24:00 PM (4 months ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
UIProcess/WebAuthentication/Cocoa/WebAuthenticatorCoordinatorProxy.mm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r291749 r291761 1 2022-03-23 J Pascoe <j_pascoe@apple.com> 2 3 [WebAuthn] Specify correct ASCPublicKeyCredentialKind in configureAssertionOptions 4 https://bugs.webkit.org/show_bug.cgi?id=238272 5 rdar://problem/90710080 6 7 Reviewed by Brent Fulgham. 8 9 There was a typo when refactoring code into this method. The kind passed to the function 10 should be used, instead of always ASCPublicKeyCredentialKindPlatform. 11 12 * UIProcess/WebAuthentication/Cocoa/WebAuthenticatorCoordinatorProxy.mm: 13 (WebKit::configureAssertionOptions): 14 1 15 2022-03-23 Kimmo Kinnunen <kkinnunen@apple.com> 2 16 -
trunk/Source/WebKit/UIProcess/WebAuthentication/Cocoa/WebAuthenticatorCoordinatorProxy.mm
r291625 r291761 256 256 if ([assertionOptions respondsToSelector:@selector(initWithKind:relyingPartyIdentifier:clientDataHash:userVerificationPreference:allowedCredentials:)]) { 257 257 auto nsHash = toNSData(hash); 258 [assertionOptions initWithKind: ASCPublicKeyCredentialKindPlatformrelyingPartyIdentifier:options.rpId clientDataHash:nsHash.get() userVerificationPreference:userVerification.get() allowedCredentials:allowedCredentials.get()];258 [assertionOptions initWithKind:kind relyingPartyIdentifier:options.rpId clientDataHash:nsHash.get() userVerificationPreference:userVerification.get() allowedCredentials:allowedCredentials.get()]; 259 259 } else { 260 260 auto challenge = WebCore::toNSData(options.challenge); 261 [assertionOptions initWithKind: ASCPublicKeyCredentialKindPlatformrelyingPartyIdentifier:options.rpId challenge:challenge.get() userVerificationPreference:userVerification.get() allowedCredentials:allowedCredentials.get()];261 [assertionOptions initWithKind:kind relyingPartyIdentifier:options.rpId challenge:challenge.get() userVerificationPreference:userVerification.get() allowedCredentials:allowedCredentials.get()]; 262 262 } 263 263 if (options.extensions)
Note: See TracChangeset
for help on using the changeset viewer.