Title: [174156] trunk/Source/WebCore
- Revision
- 174156
- Author
- m...@apple.com
- Date
- 2014-10-01 07:31:35 -0700 (Wed, 01 Oct 2014)
Log 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.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (174155 => 174156)
--- trunk/Source/WebCore/ChangeLog 2014-10-01 11:19:07 UTC (rev 174155)
+++ trunk/Source/WebCore/ChangeLog 2014-10-01 14:31:35 UTC (rev 174156)
@@ -1,3 +1,16 @@
+2014-10-01 Dan Bernstein <m...@apple.com>
+
+ 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.
+
2014-09-30 Yusuke Suzuki <utatane....@gmail.com>
CSS JIT: Enable multiple stack references allocation by allocateUninitialized
Modified: trunk/Source/WebCore/platform/network/cf/ResourceResponseCFNet.cpp (174155 => 174156)
--- trunk/Source/WebCore/platform/network/cf/ResourceResponseCFNet.cpp 2014-10-01 11:19:07 UTC (rev 174155)
+++ trunk/Source/WebCore/platform/network/cf/ResourceResponseCFNet.cpp 2014-10-01 14:31:35 UTC (rev 174156)
@@ -30,6 +30,7 @@
#include "HTTPParsers.h"
#include "MIMETypeRegistry.h"
+#include "WebCoreSystemInterface.h"
#include <CFNetwork/CFURLResponsePriv.h>
#include <wtf/RetainPtr.h>
@@ -115,6 +116,9 @@
CertificateInfo ResourceResponse::platformCertificateInfo() const
{
+#if PLATFORM(COCOA)
+ return CertificateInfo(adoptCF(wkCopyNSURLResponseCertificateChain(nsURLResponse())));
+#endif
return CertificateInfo();
}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes