aboutsummaryrefslogtreecommitdiffstats
path: root/src/_cffi_src/openssl/objects.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/_cffi_src/openssl/objects.py')
-rw-r--r--src/_cffi_src/openssl/objects.py15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/_cffi_src/openssl/objects.py b/src/_cffi_src/openssl/objects.py
index 9c480b37..265ac75c 100644
--- a/src/_cffi_src/openssl/objects.py
+++ b/src/_cffi_src/openssl/objects.py
@@ -9,6 +9,14 @@ INCLUDES = """
"""
TYPES = """
+typedef struct {
+ int type;
+ int alias;
+ const char *name;
+ const char *data;
+} OBJ_NAME;
+
+static const long OBJ_NAME_TYPE_MD_METH;
"""
FUNCTIONS = """
@@ -24,13 +32,10 @@ int OBJ_obj2txt(char *, int, const ASN1_OBJECT *, int);
int OBJ_cmp(const ASN1_OBJECT *, const ASN1_OBJECT *);
ASN1_OBJECT *OBJ_dup(const ASN1_OBJECT *);
int OBJ_create(const char *, const char *, const char *);
+void OBJ_NAME_do_all(int, void (*) (const OBJ_NAME *, void *), void *);
+/* OBJ_cleanup became a macro in 1.1.0 */
void OBJ_cleanup(void);
"""
-MACROS = """
-"""
-
CUSTOMIZATIONS = """
"""
-
-CONDITIONAL_NAMES = {}