aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/_cffi_src/openssl/ec.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/_cffi_src/openssl/ec.py b/src/_cffi_src/openssl/ec.py
index 0635ca29..f0be0783 100644
--- a/src/_cffi_src/openssl/ec.py
+++ b/src/_cffi_src/openssl/ec.py
@@ -213,7 +213,11 @@ typedef struct {
int nid;
const char *comment;
} EC_builtin_curve;
-typedef long point_conversion_form_t;
+typedef enum {
+ POINT_CONVERSION_COMPRESSED = 0,
+ POINT_CONVERSION_UNCOMPRESSED = 1,
+ POINT_CONVERSION_HYBRID = 2,
+} point_conversion_form_t;
static const int OPENSSL_EC_NAMED_CURVE = 0;