<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - cryptographicallyRandomValuesFromOS should use CCRandomCopyBytes when available."
   href="https://bugs.webkit.org/show_bug.cgi?id=148439#c24">Comment # 24</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - cryptographicallyRandomValuesFromOS should use CCRandomCopyBytes when available."
   href="https://bugs.webkit.org/show_bug.cgi?id=148439">bug 148439</a>
              from <span class="vcard"><a class="email" href="mailto:darin&#64;apple.com" title="Darin Adler &lt;darin&#64;apple.com&gt;"> <span class="fn">Darin Adler</span></a>
</span></b>
        <pre>Comment on <span class=""><a href="attachment.cgi?id=260648&amp;action=diff" name="attach_260648" title="Patch">attachment 260648</a> <a href="attachment.cgi?id=260648&amp;action=edit" title="Patch">[details]</a></span>
Patch

View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=260648&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=260648&amp;action=review</a>

<span class="quote">&gt; Source/WTF/wtf/OSRandomSource.cpp:47
&gt; +#if OS(DARWIN)
&gt; +typedef struct __CCRandom* CCRandomRef;
&gt; +extern const CCRandomRef kCCRandomDefault;
&gt; +extern &quot;C&quot; int CCRandomCopyBytes(CCRandomRef rnd, void *bytes, size_t count);
&gt; +#endif</span >

This is not the correct idiom for new uses of SPI in WebKit. See examples like WTF/wtf/spi/darwin/XPCSPI.h and WTF/wtf/spi/cocoa/NSMapTableSPI.h for the way we now do it.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>