Skip to content

Commit 4c219f3

Browse files
GabeNIJens-G
authored andcommitted
Change SSL_get_verify_result() return value from int to long
1 parent e0d4692 commit 4c219f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/cpp/src/thrift/transport/TSSLSocket.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -705,7 +705,7 @@ void TSSLSocket::initializeHandshake() {
705705
}
706706

707707
void TSSLSocket::authorize() {
708-
int rc = SSL_get_verify_result(ssl_);
708+
long rc = SSL_get_verify_result(ssl_);
709709
if (rc != X509_V_OK) { // verify authentication result
710710
throw TSSLException(string("SSL_get_verify_result(), ") + X509_verify_cert_error_string(rc));
711711
}

0 commit comments

Comments
 (0)