]> git.ipfire.org Git - thirdparty/hostap.git/commit - src/crypto/tls_openssl.c
OpenSSL: Clean up function to fetch client/server random
authorJouni Malinen <jouni@qca.qualcomm.com>
Thu, 31 Dec 2015 16:15:09 +0000 (18:15 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 31 Dec 2015 16:15:09 +0000 (18:15 +0200)
commitdea20519aaebc079d4b654880c8fd09a08e39471
tree83359515692478a97995582ac8874e5224d6e7b0
parent9a42d859a27c10b9f5d589ebdc149143b93ca02d
OpenSSL: Clean up function to fetch client/server random

SSL_get_client_random() and SSL_get_server_random() will be added in
OpenSSL 1.1.0. Provide compatibility wrappers for older versions to
simplify the tls_connection_get_random() implementation.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/crypto/tls_openssl.c