error: Add ssh_reset_error() function

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
(cherry picked from commit 0aad4de5f4)
This commit is contained in:
Andreas Schneider
2018-08-27 09:25:24 +02:00
parent 06c5dd9c84
commit 598d04d5d9
2 changed files with 16 additions and 0 deletions

View File

@@ -232,6 +232,7 @@ void _ssh_set_error_oom(void *error, const char *function);
_ssh_set_error_invalid(error, __func__)
void _ssh_set_error_invalid(void *error, const char *function);
void ssh_reset_error(void *error);
/* server.c */
#ifdef WITH_SERVER