OID code tidy up.
authorDr. Stephen Henson <steve@openssl.org>
Wed, 18 May 2016 13:32:16 +0000 (14:32 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 18 May 2016 14:33:11 +0000 (15:33 +0100)
commit52832e470f5fe8c222249ae5b539aeb3c74cdb25
treee8e3d7dd25fc034c3cebdba85d94538b6037edee
parent9e20068958b8c1772067299dda7df0b8a82283b4
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>
crypto/objects/obj_dat.c
crypto/objects/obj_err.c
crypto/objects/obj_lib.c
include/openssl/objects.h