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_0d~63 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=64e3965d63c452edb590a76b81b9bdf5118af623;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) (cherry picked from commit fb3ae0e830097a3a2a41a0ea82c7ad725f05a451) --- diff --git a/include/openssl/ssl.h b/include/openssl/ssl.h index ccb2d35533..bab3ee66eb 100644 --- a/include/openssl/ssl.h +++ b/include/openssl/ssl.h @@ -1241,7 +1241,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) \