File cups-2.2.7-bsc1234225c76.patch of Package cups.41695
--- cups/tls-gnutls.c.orig 2025-10-08 09:41:13.676911889 +0200
+++ cups/tls-gnutls.c 2025-10-09 15:11:12.160404606 +0200
@@ -1177,7 +1177,7 @@ _httpTLSRead(http_t *http, /* I - Conne
result = gnutls_record_recv(http->tls, buf, (size_t)len);
- if (result < 0 && !errno)
+ if (result < 0)
{
/*
* Convert GNU TLS error to errno value...
@@ -1681,7 +1681,7 @@ _httpTLSWrite(http_t *http, /* I -
result = gnutls_record_send(http->tls, buf, (size_t)len);
- if (result < 0 && !errno)
+ if (result < 0)
{
/*
* Convert GNU TLS error to errno value...