I think there is a bug in apps\x509 when it is used to print a certificate in text
form. Some serial numbers are not printed correctly. Probably when its (ASN.1) size is
bigger than 4 bytes. Consider, for example, the S/N 0xBF690001 (ASN.1[5]=00 BF 69 00
01):
openssl x509 -text -in cert.pem
Certificate:
Data:
Version: 3 (0x2)
Serial Number: -1083637759 (-0x4096ffff)
...
Best regards.
Nelson.
-----------------------
Windows NT 4.0 SP3
MSVC 5
openssl version -a
OpenSSL 0.9.4 09 Aug 1999
built on: Mon Oct 11 15:03:37 1999
platform: VC-WIN32
options: bn(64,32) md2(int) rc4(idx,int) des(idx,cisc,4,long) idea(int) blowfish(idx)
compiler: cl /MD /W3 /WX /G5 /Ox /O2 /Ob2 /Gs0 /GF /Gy /nologo -DWIN32
-DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DBN_ASM -DMD5_ASM -DSHA1_ASM -DRMD160_ASM /Fdout32dll
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]