fix psk define w/ opensslextra

This commit is contained in:
toddouska 2014-06-02 11:22:47 -07:00
parent 66eb3caac5
commit 24b556689f

View File

@ -8204,7 +8204,7 @@ static void PickHashSigAlgo(CYASSL* ssl,
}
#endif /* HAVE_ECC */
#if defined(OPENSSL_EXTRA) || !defined(NO_PSK)
#if defined(OPENSSL_EXTRA) && !defined(NO_PSK)
if (ssl->specs.kea == dhe_psk_kea) {
if ((*inOutIdx - begin) + OPAQUE16_LEN > size)
return BUFFER_ERROR;