OBJ_new_nid

Allocate one or more new numeric object identifiers (NIDs).

Synopsis

Declared in <openssl/objects.h>

int
OBJ_new_nid(int num);

Return Value

First newly allocated NID, or NID_undef on failure.

Parameters

NameDescription
numNumber of consecutive NIDs to reserve.