1

(1 replies, posted in wolfSSL)

I am trying to debug an issue with not receiving any data after the TLS handshake and happened to stumble across this

Verify callback overriding error!

It's printed after calling the verification callback and the code looks like this:

ok = ssl->verifyCallback(0, store);
if (ok) {
   WOLFSSL_MSG("Verify callback overriding error!");
   ret = 0;
}

Right now I return WOLFSSL_SUCCESS (1) which triggers the error message. I assume it's not an actual error since the following flow looks correct and an alert would be sent otherwise. Is it as simple as an incorrect message?