Use OID_STR_MAX for size of oid dot string