summaryrefslogtreecommitdiff
path: root/methods/aptmethod.h
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2025-01-08 19:17:42 +0100
committerJulian Andres Klode <julian.klode@canonical.com>2025-01-08 19:22:36 +0100
commit20c9b6894790ef5f9b763e429dbd8f51c2e091e2 (patch)
tree723d38897811816952ee3329fa68ba7a416b622e /methods/aptmethod.h
parenta8be42ef4de786b4dacdc175419df92ab0193ed9 (diff)
ssl: Explictly return -1 (error) or 0 (server closed connection)
SSL_read() and SSL_write may return 0 for errors, whereas our callers only expect -1 for errors and 0 for closed connections, so map this accordingly.
Diffstat (limited to 'methods/aptmethod.h')
0 files changed, 0 insertions, 0 deletions