Bug 164942

Summary: [Mac] Get rid of magic number 16384 in CryptoKeyRSAMac.cpp
Product: WebKit Reporter: Jiewen Tan <jiewen_tan>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: ahmad.saleem792, bfulgham, jiewen_tan, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Jiewen Tan
Reported 2016-11-18 11:55:22 PST
Get rid of magic number 16384 in CryptoKeyRSAMac.cpp.
Attachments
Radar WebKit Bug Importer
Comment 1 2017-01-05 18:15:58 PST
Ahmad Saleem
Comment 2 2024-01-02 09:20:33 PST
We have this FIXME: https://searchfox.org/wubkat/rev/af9971e796398c1d012ef5df9a09ed580d19bd17/Source/WebCore/crypto/mac/CryptoKeyRSAMac.cpp#47 // FIXME: We should get rid of magic number 16384. It assumes that the length of provided key will not exceed 16KB. In function 'getPublicKeyComponents'.
Note You need to log in before you can comment on or make changes to this bug.