apps: clean up the http server code
authorPauli <pauli@openssl.org>
Sun, 16 May 2021 23:26:48 +0000 (09:26 +1000)
committerPauli <pauli@openssl.org>
Tue, 18 May 2021 03:24:41 +0000 (13:24 +1000)
commitcef71ebb5c757bafd15926dd6f6f2a2779b9d71a
treebd8707fde7ace7a5a4ed59e130fa5b9f6b243485
parentc9cddf05424c3292956123e7fa4c16cb80867b3f
apps: clean up the http server code

Clean up some of the null checking in the http server code.

This also "fixes" the false positive from coverity CID 1484883.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/15300)
apps/lib/http_server.c