Hello,
Help says that the gnutls_error_is_fatal() function returns -1 for
unknown error value but code doesn't seem to do that.
Is the code shouldn't be modified like in the following patch ?
diff --git a/lib/gnutls_errors.c b/lib/gnutls_errors.c
index 7dd6499..77b4b71 100644
--- a/lib/gnutls_errors.c
+++ b/lib/gnutls_errors.c
@@ -345,7 +345,7 @@ static const gnutls_error_entry error_algorithms[] = {
int
gnutls_error_is_fatal (int error)
{
- int ret = 1;
+ int ret = -1;
const gnutls_error_entry *p;
/* Input sanitzation. Positive values are not errors at all, and
Thanks,
Joe
_______________________________________________
Gnutls-help mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gnutls-help