forked from wolfSSL/wolfssl
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)
|
#if defined(OPENSSL_ALL) || defined(WOLFSSL_QT)
|
||||||
int j;
|
int j;
|
||||||
#endif
|
#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) {
|
for (i = 0; i < suites->suiteSz; i+=2) {
|
||||||
|
#endif
|
||||||
WOLFSSL_STACK* add;
|
WOLFSSL_STACK* add;
|
||||||
|
|
||||||
/* A couple of suites are placeholders for special options,
|
/* A couple of suites are placeholders for special options,
|
||||||
|
Reference in New Issue
Block a user