diff options
Diffstat (limited to 'src/backend/libpq/be-secure.c')
-rw-r--r-- | src/backend/libpq/be-secure.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/backend/libpq/be-secure.c b/src/backend/libpq/be-secure.c index d1beda871f8..b391af34fb9 100644 --- a/src/backend/libpq/be-secure.c +++ b/src/backend/libpq/be-secure.c @@ -887,7 +887,6 @@ open_server_SSL(Port *port) (errcode(ERRCODE_PROTOCOL_VIOLATION), errmsg("could not initialize SSL connection: %s", SSLerrmessage()))); - close_SSL(port); return -1; } if (!my_SSL_set_fd(port->ssl, port->sock)) @@ -896,7 +895,6 @@ open_server_SSL(Port *port) (errcode(ERRCODE_PROTOCOL_VIOLATION), errmsg("could not set SSL socket: %s", SSLerrmessage()))); - close_SSL(port); return -1; } @@ -944,7 +942,6 @@ aloop: err))); break; } - close_SSL(port); return -1; } @@ -973,7 +970,6 @@ aloop: { /* shouldn't happen */ pfree(peer_cn); - close_SSL(port); return -1; } @@ -987,7 +983,6 @@ aloop: (errcode(ERRCODE_PROTOCOL_VIOLATION), errmsg("SSL certificate's common name contains embedded null"))); pfree(peer_cn); - close_SSL(port); return -1; } |