From cc7113e8def99702ed59594e9eb7fea0bd1db518 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Fri, 27 May 2016 13:37:11 +0100 Subject: [PATCH] return error in ct_move_scts() Reviewed-by: Viktor Dukhovni --- ssl/ssl_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c index 83ad9ef107..3799db1030 100644 --- a/ssl/ssl_lib.c +++ b/ssl/ssl_lib.c @@ -3853,7 +3853,7 @@ static int ct_move_scts(STACK_OF(SCT) **dst, STACK_OF(SCT) *src, sct_source_t or err: if (sct != NULL) sk_SCT_push(src, sct); /* Put the SCT back */ - return scts_moved; + return -1; } /* -- 2.25.1