[openssl.org #332] [Fwd: Bug#168070: openssl's x509 CA serial documentation is incorrect/disagrees with itself]

2002-11-07 Thread Christoph Martin via RT

__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



Bug [and fix] in apps/ca.c in latest 0.9.7 snapshot on Windows

2002-11-07 Thread Steven Reddie
I've just downloaded the November 5th 0.9.7 snapshot and found a bug on
Windows.  The fix is a single liner, so I haven't gone to the trouble of
preparing a patch:

apps/ca.c line#96 needs to be changed from:

#  elif !defined(OPENSSL_SYS_VXWORKS)

to:

#  elif !defined(OPENSSL_SYS_VXWORKS)  !defined(OPENSSL_SYS_WINDOWS)

to keep sys/file.h from being included on Windows platforms (it doesn't
exist).

I guess some recent change has resulted in ca.c not indirectly including
e_os.h, because it was the inclusion of the definitions in this file that
prevented this bug from showing up previously.

Regards,

Steven

__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



Re: [openssl.org #331] openssl-0.9.7beta3, ocsp_asn.c

2002-11-07 Thread Dr. Stephen Henson
On Thu, Nov 07, 2002,  Á¤ ±æ·Ä  via RT wrote:

 
 I think that ASN1_IMP(OCSP_RESPID, value.byKey, ASN1_OCTET_STRING, 2) is wrong.
 I think that ASN1_EXP(OCSP_RESPID, value.byKey, ASN1_OCTET_STRING, 2) is right.
 

Yes you are correct, I hadn't noticed that the default tagging was EXPLICIT.
I've checked in a fix.

Steve.
--
Dr. Stephen Henson  [EMAIL PROTECTED]
OpenSSL Project http://www.openssl.org/~steve/
__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



Re: Bug [and fix] in apps/ca.c in latest 0.9.7 snapshot on Windows

2002-11-07 Thread Richard Levitte - VMS Whacker
In message [EMAIL PROTECTED] on Fri, 8 Nov 2002 
00:14:54 +1100, Steven Reddie [EMAIL PROTECTED] said:

smr apps/ca.c line#96 needs to be changed from:
smr 
smr#  elif !defined(OPENSSL_SYS_VXWORKS)
smr 
smr to:
smr 
smr#  elif !defined(OPENSSL_SYS_VXWORKS)  !defined(OPENSSL_SYS_WINDOWS)
smr 
smr to keep sys/file.h from being included on Windows platforms (it doesn't
smr exist).

Thanks, I just committed that change.

-- 
Richard Levitte   \ Spannvägen 38, II \ [EMAIL PROTECTED]
Redakteur@Stacken  \ S-168 35  BROMMA  \ T: +46-8-26 52 47
\  SWEDEN   \ or +46-708-26 53 44
Procurator Odiosus Ex Infernis-- [EMAIL PROTECTED]
Member of the OpenSSL development team: http://www.openssl.org/

Unsolicited commercial email is subject to an archival fee of $400.
See http://www.stacken.kth.se/~levitte/mail/ for more info.
__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



RE: Bug [and fix] in apps/ca.c in latest 0.9.7 snapshot on Windows

2002-11-07 Thread Steven Reddie
Thanks.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:owner-openssl-dev;openssl.org]On Behalf Of Richard Levitte - VMS
Whacker
Sent: Friday, 8 November 2002 8:40 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Bug [and fix] in apps/ca.c in latest 0.9.7 snapshot on
Windows


In message [EMAIL PROTECTED] on Fri, 8 Nov
2002 00:14:54 +1100, Steven Reddie [EMAIL PROTECTED] said:

smr apps/ca.c line#96 needs to be changed from:
smr
smr#  elif !defined(OPENSSL_SYS_VXWORKS)
smr
smr to:
smr
smr#  elif !defined(OPENSSL_SYS_VXWORKS)  !defined(OPENSSL_SYS_WINDOWS)
smr
smr to keep sys/file.h from being included on Windows platforms (it doesn't
smr exist).

Thanks, I just committed that change.

--
Richard Levitte   \ Spannvägen 38, II \ [EMAIL PROTECTED]
Redakteur@Stacken  \ S-168 35  BROMMA  \ T: +46-8-26 52 47
\  SWEDEN   \ or +46-708-26 53 44
Procurator Odiosus Ex Infernis-- [EMAIL PROTECTED]
Member of the OpenSSL development team: http://www.openssl.org/

Unsolicited commercial email is subject to an archival fee of $400.
See http://www.stacken.kth.se/~levitte/mail/ for more info.
__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]

__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]