Compilation issues on WIN32

2002-04-20 Thread zero . knowledge
I've tried both openssl-0.9.7-stable-SNAP-20020419 and openssl-SNAP-20020419 on WIN32 (using VC++ 6). openssl-0.9.7-stable-SNAP-20020419 In order to successfully compile the library I slightly modified two files: in s3_pkt.c there are two mismatch signed/unsigned one for the variable extra (I

Re: Re: Incomplete implementation of ASN1_GENERALIZEDTIME

2001-09-28 Thread zero . knowledge
> I've just checked in a fix to the development version. Let me know of > any problems. > Steve. I've just tried your fix and it works correctly. Thank you very much. Regards, MD __ Abbonati a Tiscali! Con VoceViva puoi anche

Re: Incomplete implementation of ASN1 GENERALIZEDTIME ?

2001-09-25 Thread zero . knowledge
>OpenSSL doesn't fully support BER encoded GeneralizedTime however for >many of the purposes which it is used in OpenSSL (e.g. in certificates) >the full form isn't allowed. For example from RFC2259 4.1.2.5.2: > >>For the purposes of this profile, GeneralizedTime values MUST be >>express

Incomplete implementation of ASN1_GENERALIZEDTIME ?

2001-09-25 Thread zero . knowledge
Hello, I was checking the implementation of Generalized Time in OpenSSL and seems to me that isn't not compliant with the X.680 specification. Indeed according to the specification it's possible to have fractional seconds. The function ASN1_GENERALIZEDTIME_check enforces checkings that admits (if

Problem with DER encoding of BIT STRING

2001-09-10 Thread zero . knowledge
Hello, I'm experiencing with some problems with the DER encoding of a BIT STRING. Indeed when you have to produce an BIT STRING with all the bit set to zero if you use the ASN1_BIT_STRING_set passing to it such a string what you obtain is that the final encoding of the bit string is 03 02 00 CD th

A question about the new ASN.1 code

2001-07-10 Thread zero . knowledge
I'd like to make a question to the developers about the new ASN.1 code. For some projects in which we are involved, we added new structures using the old code. Now I looked briefly at the new code in the snapshots and I realized that many things are changing (with big improvements IMHO reading REA