From: arijitnayak Date: Thu, 31 Dec 2015 07:38:54 +0000 (+0530) Subject: Wrong definition of the macro SSL_set1_sigalgs in ssl.h X-Git-Tag: OpenSSL_1_0_2f~23 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=75fdee04827;p=oweals%2Fopenssl.git Wrong definition of the macro SSL_set1_sigalgs in ssl.h Error in the definition of the macro SSL_set1_sigalgs(ctx, slist, slistlen): the third parameter 'slistlen' not used in the substitution code; used 'clistlen' instead. As a result of this, compilation error occurs when any application uses this macro. Signed-off-by: Rich Salz Reviewed-by: Kurt Roeckx --- diff --git a/ssl/ssl.h b/ssl/ssl.h index afec1f5bf2..f118829efd 100644 --- a/ssl/ssl.h +++ b/ssl/ssl.h @@ -2092,7 +2092,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION) # define SSL_CTX_set1_sigalgs_list(ctx, s) \ SSL_CTX_ctrl(ctx,SSL_CTRL_SET_SIGALGS_LIST,0,(char *)s) # define SSL_set1_sigalgs(ctx, slist, slistlen) \ - SSL_ctrl(ctx,SSL_CTRL_SET_SIGALGS,clistlen,(int *)slist) + SSL_ctrl(ctx,SSL_CTRL_SET_SIGALGS,slistlen,(int *)slist) # define SSL_set1_sigalgs_list(ctx, s) \ SSL_ctrl(ctx,SSL_CTRL_SET_SIGALGS_LIST,0,(char *)s) # define SSL_CTX_set1_client_sigalgs(ctx, slist, slistlen) \