Changeset 174156 in webkit


Ignore:
Timestamp:
Oct 1, 2014 7:31:35 AM (10 years ago)
Author:
mitz@apple.com
Message:

REGRESSION (r173423): [iOS] Sites with EV certificates appear as normal HTTPS sites
https://bugs.webkit.org/show_bug.cgi?id=137262

Reviewed by Antti Koivisto.

No new tests, because the API test harness doesn’t run an HTTP server to test against.

  • platform/network/cf/ResourceResponseCFNet.cpp:

(WebCore::ResourceResponse::platformCertificateInfo): Return a CertificateInfo initialized
with the certificate array from the response.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r174142 r174156  
     12014-10-01  Dan Bernstein  <mitz@apple.com>
     2
     3        REGRESSION (r173423): [iOS] Sites with EV certificates appear as normal HTTPS sites
     4        https://bugs.webkit.org/show_bug.cgi?id=137262
     5
     6        Reviewed by Antti Koivisto.
     7
     8        No new tests, because the API test harness doesn’t run an HTTP server to test against.
     9
     10        * platform/network/cf/ResourceResponseCFNet.cpp:
     11        (WebCore::ResourceResponse::platformCertificateInfo): Return a CertificateInfo initialized
     12        with the certificate array from the response.
     13
    1142014-09-30  Yusuke Suzuki  <utatane.tea@gmail.com>
    215
  • trunk/Source/WebCore/platform/network/cf/ResourceResponseCFNet.cpp

    r173425 r174156  
    3131#include "HTTPParsers.h"
    3232#include "MIMETypeRegistry.h"
     33#include "WebCoreSystemInterface.h"
    3334#include <CFNetwork/CFURLResponsePriv.h>
    3435#include <wtf/RetainPtr.h>
     
    116117CertificateInfo ResourceResponse::platformCertificateInfo() const
    117118{
     119#if PLATFORM(COCOA)
     120    return CertificateInfo(adoptCF(wkCopyNSURLResponseCertificateChain(nsURLResponse())));
     121#endif
    118122    return CertificateInfo();
    119123}
Note: See TracChangeset for help on using the changeset viewer.