Move auto Host adding to query_responder
authorDr. Stephen Henson <steve@openssl.org>
Sat, 17 Oct 2015 23:16:23 +0000 (00:16 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Sun, 18 Oct 2015 13:36:21 +0000 (14:36 +0100)
commit76e0cd12f68f0b8173bc71ee6e9ad3ca453d5a28
tree16b482caec9e7a9665ea68ef8dd5d2c0396dcd0b
parentbb7fc98c43e29b9169522f6e25aa5988ce931c6c
Move auto Host adding to query_responder

Check for Host header in query_responder instead of process_responder. This
also fixes a memory leak in the old code if the headers was NULL.

Reviewed-by: Richard Levitte <levitte@openssl.org>
apps/ocsp.c