mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-15 17:28:29 +00:00
Use 'inline'
This commit is contained in:
parent
a28e3620a2
commit
4f4e6f2140
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ typedef int socket_t;
|
||||||
#include <openssl/x509v3.h>
|
#include <openssl/x509v3.h>
|
||||||
|
|
||||||
#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
#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);
|
return M_ASN1_STRING_data(asn1);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue