Topic: [SOLVED] -313, revcd alert fatal error when calling wolfSSL_read()
I implement a process based on wolfssl in QNX platform.
The Cipher Suit set ECDHE-ECDSA-AES128-GCM-SHA256.
Server accept a connect and ssl handshake is ok. Then Server calling wolfSSL_read().
The first call can read correct data, but the second call wolfSSL_read() return -313.
And the error 80 is not found in wolfssl source code.
What can be the cause of it and how can I solve this?
Thank You.
Here is some error log:
wolfSSL Entering wolfSSL_read()
wolfSSL Entering wolfSSL_read_internal()
wolfSSL Entering ReceiveData()
growing input buffer
wolfSSL Entering AesGcmDecrypt
received record layer msg
got ALERT!
Got alert
wolfSSL error occurred, error = 80
wolfSSL error occurred, error = -313
wolfSSL Leaving wolfSSL_read_internal(), return -313
wolfSSL Entering SSL_get_error
wolfSSL Leaving SSL_get_error, return -313