bug in EVP_get_digestbyname

2003-09-05 Thread Fernando Moya
Hello, I think there is a bug in EVP_get_digestbyname when argument passed is SHA because it returns NULL. It only happens to me with SHA, I try with others algorithms like MD5 and SHA1 and no problem. Regards, Fernando Moya

Re: d2i and ASN1_CHOICE

2003-06-30 Thread Fernando Moya
I found the error. At the end, the problem was a bad definition of Sub_seq100. I have fixed it and ASN1_CHOICE works fine now. Thanks to all. Regards. Fernando Moya Bernal. University of Malaga. Spain. Hi, I am having problems with CHOICE in the following ASN.1 sequence

d2i and ASN1_CHOICE

2003-06-26 Thread Fernando Moya
call d2i_Seq1 with DER output from i2d_Seq1, it returns NULL. I think it could be an incorrect definition of ASN1_CHOICE(Seq1). Does Anybody know what is wrong? Thanks in advance. Fernando Moya Bernal. University of Malaga. Spain

Problems with GENERAL_NAMES on IMPLICIT mode

2003-05-30 Thread Fernando Moya
this IMPLICIT tag in DER output? Thanks in advance. Fernando Moya Bernal. University of Malaga. Spain. __ OpenSSL Project http://www.openssl.org Development Mailing List

Re: Problems with GENERAL_NAMES on IMPLICIT mode

2003-05-30 Thread Fernando Moya
So instead of doing: ASN1_IMP_OPT(Seq2, Sub_field2, GENERAL_NAMES,1), do: ASN1_IMP_SEQUENCE_OF_OPT(Seq2, Sub_field2, GENERAL_NAME,1), Steve It works ok. Thanks a lot. Fernando Moya Bernal. University of Malaga