It's working now, Thanks a lot Steve!!!
Rogerio On Jan 23, 2014, at 22:55 , Dr. Stephen Henson <[email protected]> wrote: > On Thu, Jan 23, 2014, Rogerio Saulo wrote: > >> OK, I Understand now...but cannot make it work... >> >> I tried this, but without success : >> >> int id_spq_ets_uri = OBJ_create("1.2.840.113549.1.9.16.5.1", >> "id_spq_ets_uri", "id_spq_ets_uri"); >> pQInfo->pqualid = OBJ_nid2obj(id_spq_ets_uri); >> pQInfo->d.other = ASN1_TYPE_new(); >> char *urlPolitica = "http://politicas.icpbrasil.gov.br/PA_AD_RT_v2_1.der"; >> ASN1_TYPE_set(pQInfo->d.other, V_ASN1_IA5STRING, urlPolitica); >> > > You need to use an ASN1_IA5STRING structure, set its value and pass the > pointer to the structure to ASN1_TYPE_set. > > Steve. > -- > Dr Stephen N. Henson. OpenSSL project core developer. > Commercial tech support now available see: http://www.openssl.org > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > User Support Mailing List [email protected] > Automated List Manager [email protected]
