Problems with GENERAL_NAMES on IMPLICIT mode

2003-05-30 Thread Fernando Moya
Hi, I am having problems with GENERAL_NAMES in the following sequence: : - DEFINITIONS IMPLICIT TAGS Seq1 ::= SEQUENCE { field1 INTEGER, field2 Seq2 } Seq2 ::= SEQUENCE { sub_field1 [0] Sub_seq_000 OPTIONAL, sub_field2

[openssl.org #630] Re : bounds bug in testsuite

2003-05-30 Thread Richard Levitte via RT
Thanks for the report, I just committed a fix. Ticket resolved. [EMAIL PROTECTED] - Tue May 27 08:33:05 2003]: Hi, I came upon a bounds bug in the testsuite program destest.c and set_key.c . I have attached the snippet of code from the files. The problem is that in the loop in destest.c

Build openssl-SNAP-20030529 (Windows)

2003-05-30 Thread p b
When I ccnfigure openssl-SNAP-20030529 with ms/do_ms, and then I compile with nmake -f ms\nt.mak, store.h is not copied in /inc32/openssl If I copy that file, there's an uncopatibility signed/unsigned in crypto/ecdh/ech_ossl.c line 193. I had made a cast (size_t), Then in

RE: Problems with GENERAL_NAMES on IMPLICIT mode

2003-05-30 Thread Steven Reddie
I think I recall that since GeneralName is a CHOICE that using it with IMPLICIT tags requires the implicit tag to be declared explicitly to avoid ambiguity. I'm not an ASN.1 expert but I've come across this problem before and had to work around it by reversing the implicit tag of GeneralName.

Re: Problems with GENERAL_NAMES on IMPLICIT mode

2003-05-30 Thread Dr. Stephen Henson
On Thu, May 29, 2003, Fernando Moya wrote: Hi, I am having problems with GENERAL_NAMES in the following sequence: : - DEFINITIONS IMPLICIT TAGS Seq1 ::= SEQUENCE { field1 INTEGER, field2 Seq2 } Seq2 ::=

Re: Problems with GENERAL_NAMES on IMPLICIT mode

2003-05-30 Thread Dr. Stephen Henson
On Fri, May 30, 2003, Steven Reddie wrote: I think I recall that since GeneralName is a CHOICE that using it with IMPLICIT tags requires the implicit tag to be declared explicitly to avoid ambiguity. I'm not an ASN.1 expert but I've come across this problem before and had to work around it

[openssl.org #624] [BUG] SMIME decrypt fails when encrypted file size is 9383 bytes

2003-05-30 Thread Richard Levitte via RT
I just made a test with the given files, using 0.9.8-dev on Solaris (Solaris 8, OpenSSL compiled with gcc). No problems with it... [EMAIL PROTECTED] - Thu May 22 15:47:06 2003]: -- Richard Levitte [EMAIL PROTECTED] __

RE: Problems with GENERAL_NAMES on IMPLICIT mode

2003-05-30 Thread Steven Reddie
Thanks for the clarification. Regards, Steven -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dr. Stephen Henson Sent: Friday, 30 May 2003 9:15 AM To: [EMAIL PROTECTED] Subject: Re: Problems with GENERAL_NAMES on IMPLICIT mode On Fri, May 30, 2003,

[openssl.org #633] Request

2003-05-30 Thread athma raman via RT
hi, For Apache version 2.0.42 (web server) which version of openssl is compatible Please kindly help me on this from athma __ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com

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.