diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2016-05-18 14:32:16 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2016-05-18 15:33:11 +0100 |
commit | 52832e470f5fe8c222249ae5b539aeb3c74cdb25 (patch) | |
tree | e8e3d7dd25fc034c3cebdba85d94538b6037edee /include/openssl/objects.h | |
parent | 9e20068958b8c1772067299dda7df0b8a82283b4 (diff) | |
download | openssl-52832e470f5fe8c222249ae5b539aeb3c74cdb25.tar.gz |
OID code tidy up.
Tidy up and simplify OBJ_dup() and OBJ_create().
Sanity check added OIDs: don't allow duplicates.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'include/openssl/objects.h')
-rw-r--r-- | include/openssl/objects.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/openssl/objects.h b/include/openssl/objects.h index 8b31e3dcfe..647a8ac81e 100644 --- a/include/openssl/objects.h +++ b/include/openssl/objects.h @@ -1088,6 +1088,7 @@ void ERR_load_OBJ_strings(void); /* Reason codes. */ # define OBJ_R_MALLOC_FAILURE 100 +# define OBJ_R_OID_EXISTS 102 # define OBJ_R_UNKNOWN_NID 101 #ifdef __cplusplus |