OpenSSL version: output of 'openssl version -a'
OpenSSL 0.9.7d 17 Mar 2004
built on: Thu Mar 25 21:53:07 2004
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 -
DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DDSO_WIN32
-DBN_ASM -DMD5_ASM -DSHA1_ASM -DRMD160_ASM /Fdout32dll -
DOPENSSL_NO_KRB5
OPENSSLDIR: "/usr/local/ssl"
OS Name, Version, Hardware platform
Windows XP Professional Version 5.1 (Build 2600.xpsp2.030422-1633 :
Service Pack 1)
Compiler Details (name, version)
Microsoft Visual C++ .NET (Visual Studio .NET 2003)
- Application Details (name, version)
openssl.exe ca command
- Problem Description (steps that will reproduce the problem, if
known)
1. Run the openssl ca command.
openssl ca -config openssl.cnf -out mycert -notext -batch -passin
stdin -policy policy_anything -infiles mycsr
2. Type the wrong CA private key when prompted and press enter.
3. openssl prints "unable to load CA private key".
4. openssl has an access violation:
Unhandled exception at 0x00426156 in openssl.exe: 0xC0000005: Access
violation reading location 0x00000004.
Stack trace:
> openssl.exe!free_index(ca_db_st * db=0x00000000) Line 1973 +
0x3 C
openssl.exe!ca_main(int argc=1, char * * argv=0x003a4484) Line
1506 + 0x9 C
openssl.exe!do_cmd(lhash_st * prog=0x00a44a00, int argc=13,
char * * argv=0x003a4454) Line 381 + 0xe C
openssl.exe!main(int Argc=13, char * * Argv=0x003a4454) Line
300 + 0x14 C
openssl.exe!mainCRTStartup() Line 398 + 0x11 C
kernel32.dll!77e814c7()
The free_index function was called with argument 1 of 1, db = NULL.
void free_index(CA_DB *db)
{
TXT_DB_free(db->db);
OPENSSL_free(db);
}
- Stack Traceback (if the application dumps core)
Stack trace:
> openssl.exe!free_index(ca_db_st * db=0x00000000) Line 1973 +
0x3 C
openssl.exe!ca_main(int argc=1, char * * argv=0x003a4484) Line
1506 + 0x9 C
openssl.exe!do_cmd(lhash_st * prog=0x00a44a00, int argc=13,
char * * argv=0x003a4454) Line 381 + 0xe C
openssl.exe!main(int Argc=13, char * * Argv=0x003a4454) Line
300 + 0x14 C
openssl.exe!mainCRTStartup() Line 398 + 0x11 C
kernel32.dll!77e814c7()
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]