From fa12c318978281dc18c0d5d00a977e1b12436659 Mon Sep 17 00:00:00 2001 From: jsing <> Date: Tue, 24 Jan 2017 15:04:12 +0000 Subject: sk_free() checks for NULL so do not bother doing it from the callers. --- src/lib/libssl/s3_clnt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/lib/libssl/s3_clnt.c') diff --git a/src/lib/libssl/s3_clnt.c b/src/lib/libssl/s3_clnt.c index e44a025e57..ecd0f9e886 100644 --- a/src/lib/libssl/s3_clnt.c +++ b/src/lib/libssl/s3_clnt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: s3_clnt.c,v 1.172 2017/01/24 14:57:31 jsing Exp $ */ +/* $OpenBSD: s3_clnt.c,v 1.173 2017/01/24 15:04:12 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -1099,6 +1099,7 @@ err: EVP_PKEY_free(pkey); X509_free(x); sk_X509_pop_free(sk, X509_free); + return (ret); } -- cgit v1.2.3-55-g6feb