fix error code

This commit is contained in:
Dr. Stephen Henson
2012-03-12 14:50:55 +00:00
parent b0cbdd3eba
commit 48819f4d54
3 changed files with 3 additions and 1 deletions

View File

@@ -442,7 +442,7 @@ int dtls1_check_timeout_num(SSL *s)
if (s->d1->timeout.num_alerts > DTLS1_TMO_ALERT_COUNT)
{
/* fail the connection, enough alerts have been sent */
SSLerr(SSL_F_DTLS1_HANDLE_TIMEOUT,SSL_R_READ_TIMEOUT_EXPIRED);
SSLerr(SSL_F_DTLS1_CHECK_TIMEOUT_NUM,SSL_R_READ_TIMEOUT_EXPIRED);
return -1;
}