Skip to content
Commit 7d2c13a7 authored by Matt Caswell's avatar Matt Caswell
Browse files

Simplify key_exchange_expected() logic

The static function key_exchange_expected() used to return -1 on error.
Commit 361a1191

 changed that so that it can never fail. This means that
some tidy up can be done to simplify error handling in callers of that
function.

Reviewed-by: default avatarEmilia Käsper <emilia@openssl.org>
parent 1b5c44b8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment