diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-04-28 11:17:04 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-04-28 11:17:04 +0200 |
commit | 0aec57d4a0a7da07d2f09738e1a4e187e9f61c19 (patch) | |
tree | e68921fd57aabd0d50800eb7c4b78199c66ea531 /src/cli.c | |
parent | 9fce428f14810e601960adbc9ba07e89bbe7c0d2 (diff) | |
download | gnutls-0aec57d4a0a7da07d2f09738e1a4e187e9f61c19.tar.gz |
only fail DANE verification if status is non-zero
Diffstat (limited to 'src/cli.c')
-rw-r--r-- | src/cli.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -488,7 +488,7 @@ static int cert_verify_callback(gnutls_session_t session) gnutls_free(out.data); } - if (!insecure && !ssh) + if (status != 0 && !insecure && !ssh) return -1; } |