openssl: add null check in complete_handshake
This patch adds a check that 'session' is not NULL in g_tls_connection_openssl_complete_handshake, before calling SSL_SESSION_get_protocol_version.
This patch adds a check that 'session' is not NULL in g_tls_connection_openssl_complete_handshake, before calling SSL_SESSION_get_protocol_version.