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
This commit is contained in:
parent
360507b12b
commit
8a09af3f67
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user