Re: OBJ_create - a little problem.

2006-02-15 Thread Katie Lucas
On Mon, Feb 13, 2006 at 08:03:41PM +0100, Dr. Stephen Henson wrote: > On Mon, Feb 13, 2006, [EMAIL PROTECTED] wrote: > > > Hi everybody! > > > > Here is the sample code: > > > >int nid; > >nid = OBJ_create("1.2.3.4", "MyAlias", "My Test > > Alias Extension"); > >X509V3_EXT_add_alias(

Re: OBJ_create - a little problem.

2006-02-13 Thread Dr. Stephen Henson
On Mon, Feb 13, 2006, [EMAIL PROTECTED] wrote: > Hi everybody! > > Here is the sample code: > >int nid; >nid = OBJ_create("1.2.3.4", "MyAlias", "My Test > Alias Extension"); >X509V3_EXT_add_alias(nid, NID_netscape_comment); >add_ext(x, nid, "Test Extension..."); > > It works fin

OBJ_create - a little problem.

2006-02-13 Thread dsf
Hi everybody! Here is the sample code: int nid; nid = OBJ_create("1.2.3.4", "MyAlias", "My Test Alias Extension"); X509V3_EXT_add_alias(nid, NID_netscape_comment); add_ext(x, nid, "Test Extension..."); It works fine :) But I want to change the first parameter in OBJ_create() and I fa