From 4f4e6f21409868212e1830460b2b16a5309a0c2d Mon Sep 17 00:00:00 2001 From: yhirose Date: Thu, 20 Jun 2019 12:43:17 -0400 Subject: [PATCH] Use 'inline' --- httplib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httplib.h b/httplib.h index de378a1..03ff00c 100644 --- a/httplib.h +++ b/httplib.h @@ -77,7 +77,7 @@ typedef int socket_t; #include #if OPENSSL_VERSION_NUMBER < 0x10100000L -static const unsigned char *ASN1_STRING_get0_data(const ASN1_STRING *asn1) { +inline const unsigned char *ASN1_STRING_get0_data(const ASN1_STRING *asn1) { return M_ASN1_STRING_data(asn1); } #endif