mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-29 18:27:29 +02:00
higher priority of cipher suite is on top of stack
This commit is contained in:
@ -47180,7 +47180,12 @@ WOLF_STACK_OF(WOLFSSL_CIPHER) *wolfSSL_get_ciphers_compat(const WOLFSSL *ssl)
|
||||
#if defined(OPENSSL_ALL) || defined(WOLFSSL_QT)
|
||||
int j;
|
||||
#endif
|
||||
#if defined(WOLFSSL_QT)
|
||||
/* higher priority of cipher suite will be on top of stack */
|
||||
for (i = suites->suiteSz - 2; i >=0; i-=2) {
|
||||
#else
|
||||
for (i = 0; i < suites->suiteSz; i+=2) {
|
||||
#endif
|
||||
WOLFSSL_STACK* add;
|
||||
|
||||
/* A couple of suites are placeholders for special options,
|
||||
|
Reference in New Issue
Block a user