Constify SSL_dup_CA_list()
Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3015)
This commit is contained in:
parent
5969a2dd2c
commit
86135bedd5
2 changed files with 2 additions and 2 deletions
|
@ -1743,7 +1743,7 @@ __owur long SSL_get_default_timeout(const SSL *s);
|
|||
#endif
|
||||
|
||||
__owur char *SSL_CIPHER_description(const SSL_CIPHER *, char *buf, int size);
|
||||
__owur STACK_OF(X509_NAME) *SSL_dup_CA_list(STACK_OF(X509_NAME) *sk);
|
||||
__owur STACK_OF(X509_NAME) *SSL_dup_CA_list(const STACK_OF(X509_NAME) *sk);
|
||||
|
||||
__owur SSL *SSL_dup(SSL *ssl);
|
||||
|
||||
|
|
|
@ -466,7 +466,7 @@ static void set0_CA_list(STACK_OF(X509_NAME) **ca_list,
|
|||
*ca_list = name_list;
|
||||
}
|
||||
|
||||
STACK_OF(X509_NAME) *SSL_dup_CA_list(STACK_OF(X509_NAME) *sk)
|
||||
STACK_OF(X509_NAME) *SSL_dup_CA_list(const STACK_OF(X509_NAME) *sk)
|
||||
{
|
||||
int i;
|
||||
STACK_OF(X509_NAME) *ret;
|
||||
|
|
Loading…
Reference in a new issue