fixes some errors from Jenkins Expected Configurations Build # 111

This commit is contained in:
Moisés Guimarães 2015-12-29 10:19:27 -03:00
parent 0a14e6f3c6
commit 6ba14fa241

View File

@ -6153,11 +6153,13 @@ int wolfSSL_DTLS_SetCookieSecret(WOLFSSL* ssl,
WOLFSSL_MSG("accept state CERT_SENT");
case CERT_SENT :
#ifndef NO_CERTS
if (!ssl->options.resuming)
if ( (ssl->error = SendCertificateStatus(ssl)) != 0) {
WOLFSSL_ERROR(ssl->error);
return SSL_FATAL_ERROR;
}
#endif
ssl->options.acceptState = CERT_STATUS_SENT;
WOLFSSL_MSG("accept state CERT_STATUS_SENT");