mirror of
https://github.com/openvswitch/ovs
synced 2025-10-29 15:28:56 +00:00
add libressl compatibility
fixes undefined reference to ASN1_STRING_get0_data Submitted-at: https://github.com/openvswitch/ovs/pull/202 Signed-off-by: Stuart Cardall <developer@it-offshore.co.uk> Signed-off-by: Russell Bryant <russell@ovn.org>
This commit is contained in:
committed by
Russell Bryant
parent
4ee87ad31e
commit
b9fedfa61f
@@ -297,6 +297,7 @@ Sten Spans sten@blinkenlights.nl
|
||||
Stephane A. Sezer sas@cd80.net
|
||||
Stephen Finucane stephen@that.guru
|
||||
Steve Ruan ruansx@cn.ibm.com
|
||||
Stuart Cardall developer@it-offshore.co.uk
|
||||
Sugesh Chandran sugesh.chandran@intel.com
|
||||
SUGYO Kazushi sugyo.org@gmail.com
|
||||
Tadaaki Nagao nagao@stratosphere.co.jp
|
||||
|
||||
@@ -448,7 +448,7 @@ get_peer_common_name(const struct ssl_stream *sslv)
|
||||
}
|
||||
|
||||
const char *cn;
|
||||
#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
||||
#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined (LIBRESSL_VERSION_NUMBER)
|
||||
/* ASN1_STRING_data() is deprecated as of OpenSSL version 1.1 */
|
||||
cn = (const char *)ASN1_STRING_data(cn_data);
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user