Bug 191178 - Replace CommonRandom SPI with API
Summary: Replace CommonRandom SPI with API
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Jiewen Tan
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-11-01 17:05 PDT by Jiewen Tan
Modified: 2018-11-01 23:36 PDT (History)
4 users (show)

See Also:


Attachments
Patch (12.73 KB, patch)
2018-11-01 17:17 PDT, Jiewen Tan
no flags Details | Formatted Diff | Diff
Patch (12.82 KB, patch)
2018-11-01 17:31 PDT, Jiewen Tan
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jiewen Tan 2018-11-01 17:05:54 PDT
Replace CommonRandom SPI with API as the SPI is out dated.
Comment 1 Jiewen Tan 2018-11-01 17:06:55 PDT
<rdar://problem/45722391>
Comment 2 Jiewen Tan 2018-11-01 17:17:07 PDT
Created attachment 353666 [details]
Patch
Comment 3 Jiewen Tan 2018-11-01 17:25:35 PDT
Sad that the header before macOS 10.14 doesn't include:
#include <CommonCrypto/CommonCryptoError.h>.

Will modify the patch to include the additional header.
Comment 4 Jiewen Tan 2018-11-01 17:31:29 PDT
Created attachment 353668 [details]
Patch
Comment 5 Brent Fulgham 2018-11-01 18:26:45 PDT
Comment on attachment 353668 [details]
Patch

Oh great! API is always >> SPI!
Comment 6 Jiewen Tan 2018-11-01 23:10:04 PDT
Comment on attachment 353668 [details]
Patch

Thanks Brent for r+ the patch.
Comment 7 WebKit Commit Bot 2018-11-01 23:36:05 PDT
Comment on attachment 353668 [details]
Patch

Clearing flags on attachment: 353668

Committed r237721: <https://trac.webkit.org/changeset/237721>
Comment 8 WebKit Commit Bot 2018-11-01 23:36:07 PDT
All reviewed patches have been landed.  Closing bug.