Don't assert protocol equality
authorRichard Levitte <levitte@openssl.org>
Wed, 10 Feb 2016 19:23:40 +0000 (20:23 +0100)
committerRichard Levitte <levitte@openssl.org>
Wed, 10 Feb 2016 19:35:02 +0000 (20:35 +0100)
commit07aa1e0459da67de3f0a866f2c7bc48193698597
tree87aa9ab2eb7145a35ca799f2a8879653a098c56e
parent1c37fd96d89f95202f2e54db8d2834cbf1fd8b88
Don't assert protocol equality

It seems that some platforms' getaddrinfo don't fill in the
ai_protocol field properly.  On those, the assertion
'protocol == BIO_ADDRINFO_protocol(res)' will fail.  Best to remove
it.

Reviewed-by: Kurt Roeckx <kurt@openssl.org>
apps/s_socket.c