lib: Accomodate FreeBSD return value for ssl connection.
authorEd Maste <emaste@adaranet.com>
Tue, 23 Oct 2012 13:50:10 +0000 (13:50 +0000)
committerBen Pfaff <blp@nicira.com>
Tue, 23 Oct 2012 15:32:55 +0000 (08:32 -0700)
commitdd445b79f7862580104c4c08edb9c65d42ad314c
tree21bed10215dfa12e55d4ca5e2f1c3822d93de64f
parent666d0863b0cba6c01cb4e326a76a047b1f248258
lib: Accomodate FreeBSD return value for ssl connection.

On FreeBSD I see ECONNRESET being returned from check_connection_completion
in ssl_connect.  This happens before entering the SSL states, which return
EPROTO on failure.

Signed-off-by: Ed Maste <emaste@adaranet.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
tests/test-vconn.c