On Sun, Jul 02, 2017, Salz, Rich via openssl-dev wrote:

> > I tried using OBJ_create() with NULL or an empty string for the OID, but 
> > currently it checks that the given OID is actually a valid one. Is there 
> > any workaround to avoid this other than issuing my own OID?
> 
> No.  Just get an OID ARC, such as from the IETF Enterprise MIB [it's free] 
> and throw it away.

If you create object without an OID it stops it being encoded or decoded as an
ASN1_OBJECT: this is sometimes useful. Unfortunately there is currently no way
to do this with OBJ_create().

Steve.
--
Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org
-- 
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev

Reply via email to