Skip to content
Permalink
Browse files
2008-04-23 Daniel Zucker <zucker@wake3.com>
        Reviewed by Adam Roben.

        Move the location of #if USE(CFNETWORK) to fix a cairo/curl build error.
        <https://bugs.webkit.org/show_bug.cgi?id=18470>

        * WebError.cpp:
        (WebError::sslPeerCertificate):



Canonical link: https://commits.webkit.org/25751@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@32441 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
Matt Lilek committed Apr 23, 2008
1 parent ed8c9bf commit 1a042eedb358b12a24bf31874a488e35ff7d371b
Showing 2 changed files with 11 additions and 1 deletion.
@@ -1,3 +1,13 @@
2008-04-23 Daniel Zucker <zucker@wake3.com>

Reviewed by Adam Roben.

Move the location of #if USE(CFNETWORK) to fix a cairo/curl build error.
<https://bugs.webkit.org/show_bug.cgi?id=18470>

* WebError.cpp:
(WebError::sslPeerCertificate):

2008-04-22 Jon Honeycutt <jhoneycutt@apple.com>

Reviewed by Sam.
@@ -207,6 +207,7 @@ HRESULT STDMETHODCALLTYPE WebError::sslPeerCertificate(
return E_POINTER;
*result = 0;

#if USE(CFNETWORK)
if (!m_cfErrorUserInfoDict) {
// copy userinfo from CFErrorRef
CFErrorRef cfError = m_error;
@@ -216,7 +217,6 @@ HRESULT STDMETHODCALLTYPE WebError::sslPeerCertificate(
if (!m_cfErrorUserInfoDict)
return E_FAIL;

#if USE(CFNETWORK)
void* data = wkGetSSLPeerCertificateData(m_cfErrorUserInfoDict.get());
if (!data)
return E_FAIL;

0 comments on commit 1a042ee

Please sign in to comment.