From: Dr. Stephen Henson Date: Fri, 27 May 2016 12:37:11 +0000 (+0100) Subject: return error in ct_move_scts() X-Git-Tag: OpenSSL_1_1_0-pre6~639 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=cc7113e8def99702ed59594e9eb7fea0bd1db518;p=oweals%2Fopenssl.git return error in ct_move_scts() Reviewed-by: Viktor Dukhovni --- 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; } /*