From 122f648fd8a8caf57bc48c774595a300d199e3a6 Mon Sep 17 00:00:00 2001 From: Sean Parkinson Date: Mon, 6 Mar 2017 09:19:01 +1000 Subject: [PATCH] Only support client preference order as default for WPAS. --- src/internal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/internal.c b/src/internal.c index c20646f37..ac5d11d4f 100644 --- a/src/internal.c +++ b/src/internal.c @@ -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) {