diff options
Diffstat (limited to 'src/lib/libcrypto/objects/objects.h')
-rw-r--r-- | src/lib/libcrypto/objects/objects.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/libcrypto/objects/objects.h b/src/lib/libcrypto/objects/objects.h index f859d859b8..7242f76fb0 100644 --- a/src/lib/libcrypto/objects/objects.h +++ b/src/lib/libcrypto/objects/objects.h | |||
@@ -966,7 +966,10 @@ | |||
966 | #define OBJ_NAME_TYPE_COMP_METH 0x04 | 966 | #define OBJ_NAME_TYPE_COMP_METH 0x04 |
967 | #define OBJ_NAME_TYPE_NUM 0x05 | 967 | #define OBJ_NAME_TYPE_NUM 0x05 |
968 | 968 | ||
969 | #define OBJ_NAME_ALIAS 0x8000 | 969 | #define OBJ_NAME_ALIAS 0x8000 |
970 | |||
971 | #define OBJ_BSEARCH_VALUE_ON_NOMATCH 0x01 | ||
972 | #define OBJ_BSEARCH_FIRST_VALUE_ON_MATCH 0x02 | ||
970 | 973 | ||
971 | 974 | ||
972 | #ifdef __cplusplus | 975 | #ifdef __cplusplus |
@@ -1010,6 +1013,8 @@ int OBJ_sn2nid(const char *s); | |||
1010 | int OBJ_cmp(const ASN1_OBJECT *a,const ASN1_OBJECT *b); | 1013 | int OBJ_cmp(const ASN1_OBJECT *a,const ASN1_OBJECT *b); |
1011 | const char * OBJ_bsearch(const char *key,const char *base,int num,int size, | 1014 | const char * OBJ_bsearch(const char *key,const char *base,int num,int size, |
1012 | int (*cmp)(const void *, const void *)); | 1015 | int (*cmp)(const void *, const void *)); |
1016 | const char * OBJ_bsearch_ex(const char *key,const char *base,int num, | ||
1017 | int size, int (*cmp)(const void *, const void *), int flags); | ||
1013 | 1018 | ||
1014 | int OBJ_new_nid(int num); | 1019 | int OBJ_new_nid(int num); |
1015 | int OBJ_add_object(const ASN1_OBJECT *obj); | 1020 | int OBJ_add_object(const ASN1_OBJECT *obj); |