]> git.ipfire.org Git - thirdparty/hostap.git/commit
OpenSSL: Fix build with OpenSSL 1.0.2
authorJouni Malinen <jouni@codeaurora.org>
Thu, 14 Mar 2019 22:33:33 +0000 (00:33 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 14 Mar 2019 22:33:33 +0000 (00:33 +0200)
commitc675397cc3876e676630afb400c834785d32bd14
treeead19d833ae5b482c5d5851ff9cda4b0e2ea54c1
parent3507968fd2d494da313aff814b7d89e7db205441
OpenSSL: Fix build with OpenSSL 1.0.2

X509_get_subject_name() in OpenSSL 1.0.2 does not mark its argument as a
const pointer, so need to type cast this to avoid a build warning.

Fixes: 841205a1ceb1 ("OpenSSL: Add 'check_cert_subject' support for TLS server")
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
src/crypto/tls_openssl.c