Tweak the client side PSK callback
authorMatt Caswell <matt@openssl.org>
Fri, 16 Jun 2017 15:26:25 +0000 (16:26 +0100)
committerMatt Caswell <matt@openssl.org>
Wed, 21 Jun 2017 13:45:35 +0000 (14:45 +0100)
commitdc87d5a92288df394f5a887be5c788a530992185
tree1320a450ef1ce05133b4fe853808ad1dbb8ec4e2
parent801d9fbd97e5f29b19851562a72b8be4c5fd0783
Tweak the client side PSK callback

Ensure that we properly distinguish between successful return (PSK
provided), successful return (no PSK provided) and failure.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3670)
apps/s_client.c