[Webkit-unassigned] [Bug 191498] [Curl] implement CertificateInfo::summaryInfo
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jul 19 02:13:40 PDT 2019
https://bugs.webkit.org/show_bug.cgi?id=191498
--- Comment #27 from Takashi Komori <Takashi.Komori at sony.com> ---
(In reply to Fujii Hironori from comment #20)
> Comment on attachment 373889 [details]
> Patch
>
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=373889&action=review
>
> > Source/WebCore/platform/network/curl/CertificateInfoCurl.cpp:76
> > + auto commonName = OpenSSL::createPtr<uint8_t>();
>
> Looks so bad. The previous your code looks better: OpenSSL::Ptr commonName;
> You can specify a lambda as deleter of std::unique_ptr. Google "lambda
> deleter std::unique_ptr".
> You can improve more.
By reconsidering how to use unique pointer, converting function became simpler.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190719/0d980a7c/attachment.html>
More information about the webkit-unassigned
mailing list