coverity 177409: dont bother assigning ignored second SSL_shutdown return value

No security impact
This commit is contained in:
Andy Green 2017-03-06 14:01:46 +08:00
parent 688b819112
commit b6e0c89750

View file

@ -458,7 +458,7 @@ just_kill_connection:
lwsl_info("%s: shutting down SSL connection: %p (ssl %p, sock %d, state %d)\n", __func__, wsi, wsi->ssl, (int)(long)wsi->desc.sockfd, wsi->state);
n = SSL_shutdown(wsi->ssl);
if (n == 0) /* Complete bidirectional SSL shutdown */
n = SSL_shutdown(wsi->ssl);
SSL_shutdown(wsi->ssl);
n = shutdown(wsi->desc.sockfd, SHUT_WR);
}
else