fix sanity check for DHE-PSK cipher suite handshake