Only support client preference order as default for WPAS.

This commit is contained in:
Sean Parkinson
2017-03-06 09:19:01 +10:00
parent 7897d04145
commit 122f648fd8

View File

@ -18841,7 +18841,7 @@ int DoSessionTicket(WOLFSSL* ssl, const byte* input, word32* inOutIdx,
if (ssl->suites == NULL)
return SUITES_ERROR;
#ifdef OPENSSL_EXTRA
#ifdef WOLFSSL_WPAS
if (ssl->options.mask | SSL_OP_CIPHER_SERVER_PREFERENCE) {
/* Server order */
for (i = 0; i < ssl->suites->suiteSz; i += 2) {