Check if an oid equals an hex formatted object id.
oid structure.
input hex string of an object id.
0 in case of a match, -1 otherwise.
See Implementation
Check if an oid equals an hex formatted object id.