Commit 3d055ffc authored by Bastien Durel's avatar Bastien Durel
Browse files

return rc on error

parent 34af9055
Pipeline #30 failed with stage
......@@ -32,7 +32,7 @@ int do_dane_verification(gnutls_session_t* sess, const char* host, int port) {
int rc = rc;
if (dane_state_init(&s, 0) != DANE_E_SUCCESS) {
fprintf(stderr, "Cannot initialize DANE: %s\n", dane_strerror(rc));
return DANE_E_ERROR;
return rc;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment