[Webkit-unassigned] [Bug 165111] New: CryptoAlgorithm::generateKey() should take CryptoAlgorithmParameters by lvalue const reference

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 28 13:56:53 PST 2016


https://bugs.webkit.org/show_bug.cgi?id=165111

            Bug ID: 165111
           Summary: CryptoAlgorithm::generateKey() should take
                    CryptoAlgorithmParameters by lvalue const reference
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Local Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: dbates at webkit.org
                CC: ap at webkit.org, jiewen_tan at apple.com

CryptoAlgorithm::generateKey() and its overrides always expect to receive a non-null pointer to a CryptoAlgorithmParameter object and never take ownership of it. Currently the CryptoAlgorithmParameter object is passed as a lvalue reference to a std::unique_ptr<CryptoAlgorithmParameter> const. It is sufficient to pass it as a lvalue reference to a CryptoAlgorithmParameter const.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20161128/83bf9060/attachment.html>


More information about the webkit-unassigned mailing list