From 8a09af3f673b8d1e4975b094a1d42c8092bb8fe2 Mon Sep 17 00:00:00 2001 From: "jiayl@webrtc.org" Date: Fri, 30 May 2014 23:24:08 +0000 Subject: [PATCH] Fix the build error from OpenSSLStreamAdapter::SSLVerifyCallback TBR=pthatcher@webrtc.org BUG= Review URL: https://webrtc-codereview.appspot.com/17639004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@6296 4adac7df-926f-26a2-2b94-8c16560cd09d --- talk/base/opensslstreamadapter.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/talk/base/opensslstreamadapter.cc b/talk/base/opensslstreamadapter.cc index 5ad9d9fabb..218f656be1 100644 --- a/talk/base/opensslstreamadapter.cc +++ b/talk/base/opensslstreamadapter.cc @@ -779,7 +779,7 @@ int OpenSSLStreamAdapter::SSLVerifyCallback(int ok, X509_STORE_CTX* store) { return 0; } X509* cert = X509_STORE_CTX_get_current_cert(store); - int depth = X509_STORE_CTX_get_error_depth(ctx); + int depth = X509_STORE_CTX_get_error_depth(store); // For now We ignore the parent certificates and verify the leaf against // the digest.