diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2023-05-05 14:05:34 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2023-05-05 14:05:34 +0000 |
commit | 4c8b1bd7c95b8c9ad74cf890d29d2feabcb5eb3c (patch) | |
tree | 55e34cd8c2e77e951cf6b98e9f6d845d7d1fdad7 /include | |
parent | eb2e2c31677c2e6a97b691d677e1ef806ad1c8c5 (diff) |
Fix error handling in tls_check_common_name()
A calloc failure should be a fatal error, so make it return -1.
Also switch the default rv to -1 and distinguish error cases with
acceptable situations with goto err/goto done.
ok jsing
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions