Skip to content

Commit 2eb36f7

Browse files
committed
Revert "OSX error code changes (#232)"
This reverts commit 177cac5.
1 parent b6e8c08 commit 2eb36f7

File tree

8 files changed

+544
-276
lines changed

8 files changed

+544
-276
lines changed

ssh2/error_codes.c

Lines changed: 84 additions & 39 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ssh2/error_codes.pxd

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,5 +80,8 @@ cdef extern from "libssh2.h" nogil:
8080
_LIBSSH2_ERROR_RANDGEN "LIBSSH2_ERROR_RANDGEN"
8181
_LIBSSH2_ERROR_MISSING_USERAUTH_BANNER "LIBSSH2_ERROR_MISSING_USERAUTH_BANNER"
8282
_LIBSSH2_ERROR_ALGO_UNSUPPORTED "LIBSSH2_ERROR_ALGO_UNSUPPORTED"
83+
_LIBSSH2_ERROR_MAC_FAILURE "LIBSSH2_ERROR_MAC_FAILURE"
84+
_LIBSSH2_ERROR_HASH_INIT "LIBSSH2_ERROR_HASH_INIT"
85+
_LIBSSH2_ERROR_HASH_CALC "LIBSSH2_ERROR_HASH_CALC"
8386

8487
_LIBSSH2CHANNEL_EAGAIN "LIBSSH2_ERROR_EAGAIN"

ssh2/error_codes.pyx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,3 +84,6 @@ LIBSSH2_ERROR_KEYFILE_AUTH_FAILED = \
8484
LIBSSH2_ERROR_RANDGEN = error_codes._LIBSSH2_ERROR_RANDGEN
8585
LIBSSH2_ERROR_MISSING_USERAUTH_BANNER = error_codes._LIBSSH2_ERROR_MISSING_USERAUTH_BANNER
8686
LIBSSH2_ERROR_ALGO_UNSUPPORTED = error_codes._LIBSSH2_ERROR_ALGO_UNSUPPORTED
87+
LIBSSH2_ERROR_MAC_FAILURE = error_codes._LIBSSH2_ERROR_MAC_FAILURE
88+
LIBSSH2_ERROR_HASH_INIT = error_codes._LIBSSH2_ERROR_HASH_INIT
89+
LIBSSH2_ERROR_HASH_CALC = error_codes._LIBSSH2_ERROR_HASH_CALC

0 commit comments

Comments
 (0)