diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2013-10-27 16:15:29 -0700 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2013-10-27 16:15:29 -0700 |
commit | 01fbdf74967f8e22e3ea2d15f195898c64d34cc3 (patch) | |
tree | 2b381fa94df9d498f162ee8ec446cc976a6dc44b | |
parent | 42e0a81b0e12ff44da75c0646db01e02b3c54253 (diff) | |
parent | 300f6d330862ada81041c0c46600f8c00a7a361a (diff) | |
download | cryptography-01fbdf74967f8e22e3ea2d15f195898c64d34cc3.tar.gz cryptography-01fbdf74967f8e22e3ea2d15f195898c64d34cc3.tar.bz2 cryptography-01fbdf74967f8e22e3ea2d15f195898c64d34cc3.zip |
Merge pull request #181 from reaperhulk/error-handling
Add some error parsing macros
-rw-r--r-- | cryptography/bindings/openssl/err.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cryptography/bindings/openssl/err.py b/cryptography/bindings/openssl/err.py index 76c34a03..39ae315c 100644 --- a/cryptography/bindings/openssl/err.py +++ b/cryptography/bindings/openssl/err.py @@ -51,4 +51,9 @@ int ERR_get_next_error_library(); """ MACROS = """ +unsigned long ERR_PACK(int, int, int); +int ERR_GET_LIB(unsigned long); +int ERR_GET_FUNC(unsigned long); +int ERR_GET_REASON(unsigned long); +int ERR_FATAL_ERROR(unsigned long); """ |