This is an automated email from the ASF dual-hosted git repository.

tillt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git


The following commit(s) were added to refs/heads/master by this push:
     new 0fbe381  Fixed typo in recent commit.
0fbe381 is described below

commit 0fbe38176f24d0518cc861f4696624e5724e61a7
Author: Till Toenshoff <[email protected]>
AuthorDate: Wed Aug 21 15:20:15 2019 +0200

    Fixed typo in recent commit.
---
 3rdparty/libprocess/src/openssl.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/3rdparty/libprocess/src/openssl.cpp 
b/3rdparty/libprocess/src/openssl.cpp
index 4aeab85..ef2883a 100644
--- a/3rdparty/libprocess/src/openssl.cpp
+++ b/3rdparty/libprocess/src/openssl.cpp
@@ -887,8 +887,8 @@ Try<Nothing> verify(
             // Current name is a DNS name, let's check it.
             const string dns_name =
 #if OPENSSL_VERSION_NUMBER < 0x10100000L
-              // `ASN1_STRING_get_data` is deprecated since OpenSSL 1.1.0.
-              reinterpret_cast<char*>(ASN1_STRING_get_data(
+              // `ASN1_STRING_data` is deprecated since OpenSSL 1.1.0.
+              reinterpret_cast<char*>(ASN1_STRING_data(
 #else
               reinterpret_cast<const char*>(ASN1_STRING_get0_data(
 #endif // OPENSSL_VERSION_NUMBER < 0x10100000L

Reply via email to