From: Matt Caswell Date: Wed, 23 Dec 2015 09:45:02 +0000 (+0000) Subject: Fix inline build failure X-Git-Tag: OpenSSL_1_1_0-pre2~170 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=7ab09630cd069af0fe06a762e5d85b3e827b3b88 Fix inline build failure After the recent change to use ossl_inline, builds were failing on some platforms due to a missing usage of "inline". Reviewed-by: Richard Levitte --- diff --git a/ssl/statem/statem_clnt.c b/ssl/statem/statem_clnt.c index 733a683672..e7c941357a 100644 --- a/ssl/statem/statem_clnt.c +++ b/ssl/statem/statem_clnt.c @@ -164,7 +164,7 @@ # include #endif -static inline int cert_req_allowed(SSL *s); +static ossl_inline int cert_req_allowed(SSL *s); static int key_exchange_expected(SSL *s); static int ssl_set_version(SSL *s); static int ca_dn_cmp(const X509_NAME *const *a, const X509_NAME *const *b); @@ -179,7 +179,7 @@ static int ssl_cipher_list_to_bytes(SSL *s, STACK_OF(SSL_CIPHER) *sk, * 1: Yes * 0: No */ -static inline int cert_req_allowed(SSL *s) +static ossl_inline int cert_req_allowed(SSL *s) { /* TLS does not like anon-DH with client cert */ if ((s->version > SSL3_VERSION