ssh_libssh2.c
25.7 KB
-
ssh: refactor to avoid using error state · 9a9f2201
The error handling in the ssh certificate callback is straightforward. There's no error messages from an external library that need to be saved, we populate the error message ourselves. Since there's nothing custom here, it does not need to use the error saving mechanism.
Edward Thomson committed