summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-11-23 15:38:32 +0000
committerMatt Caswell <matt@openssl.org>2016-11-23 15:38:32 +0000
commit6530c4909ffbf4fd655416cbd765b1e7174b9b83 (patch)
tree9c1f634ca4ffb15cec05cf4faaa2421f8d26281d /apps
parentf5ca0b04bbc98b5b8a41f5cd7b4ee35e345c1e6c (diff)
Fix some style issues with TLSv1.3 state machine PR
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'apps')
-rw-r--r--apps/s_server.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/s_server.c b/apps/s_server.c
index eebbb56ba3..f3494120e0 100644
--- a/apps/s_server.c
+++ b/apps/s_server.c
@@ -553,6 +553,10 @@ static int get_ocsp_resp_from_responder(SSL *s, tlsextstatusctx *srctx,
err:
ret = SSL_TLSEXT_ERR_ALERT_FATAL;
done:
+ /*
+ * If we parsed aia we need to free; otherwise they were copied and we
+ * don't
+ */
if (aia != NULL) {
OPENSSL_free(host);
OPENSSL_free(path);