From 300f6d330862ada81041c0c46600f8c00a7a361a Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Sat, 26 Oct 2013 11:30:01 -0500 Subject: add some error parsing macros --- cryptography/bindings/openssl/err.py | 5 +++++ 1 file changed, 5 insertions(+) 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); """ -- cgit v1.2.3