diff options
| author | Julian Andres Klode <julian.klode@canonical.com> | 2025-01-08 19:17:42 +0100 |
|---|---|---|
| committer | Julian Andres Klode <julian.klode@canonical.com> | 2025-01-08 19:22:36 +0100 |
| commit | 20c9b6894790ef5f9b763e429dbd8f51c2e091e2 (patch) | |
| tree | 723d38897811816952ee3329fa68ba7a416b622e /apt-pkg/deb | |
| parent | a8be42ef4de786b4dacdc175419df92ab0193ed9 (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 'apt-pkg/deb')
0 files changed, 0 insertions, 0 deletions
