From: Matt Caswell Date: Fri, 30 Dec 2016 17:11:09 +0000 (+0000) Subject: Fix the SSL_set1_sigalgs() macro X-Git-Tag: OpenSSL_1_1_1-pre1~2812 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=fb3ae0e830097a3a2a41a0ea82c7ad725f05a451;p=oweals%2Fopenssl.git Fix the SSL_set1_sigalgs() macro This macro has a typo in it which makes it unusable. This issue was already fixed in 1.0.2 in commit 75fdee04827, but the same fix was not applied to other branches. Reviewed-by: Tim Hudson (Merged from https://github.com/openssl/openssl/pull/2160) --- diff --git a/include/openssl/ssl.h b/include/openssl/ssl.h index e746a814c7..68c13d4c97 100644 --- a/include/openssl/ssl.h +++ b/include/openssl/ssl.h @@ -1258,7 +1258,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) \