Skip to content

Commit 8608a3b

Browse files
authored
Fix for djarek#70: missing inline for detail::set_server_hostname (djarek#71)
1 parent 2d719a9 commit 8608a3b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/boost/certify/impl/https_verification.ipp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ verify_server_certificates(int preverified, X509_STORE_CTX* ctx) noexcept
3333
return false;
3434
}
3535

36-
void
36+
BOOST_CERTIFY_DECL void
3737
set_server_hostname(::X509_VERIFY_PARAM* param, string_view hostname, system::error_code& ec)
3838
{
3939
::X509_VERIFY_PARAM_set_hostflags(param,
@@ -46,7 +46,7 @@ set_server_hostname(::X509_VERIFY_PARAM* param, string_view hostname, system::er
4646
ec = {};
4747
}
4848

49-
void
49+
BOOST_CERTIFY_DECL void
5050
set_server_hostname(::SSL* handle, string_view hostname, system::error_code& ec)
5151
{
5252
auto* param = ::SSL_get0_param(handle);

0 commit comments

Comments
 (0)