Multithreaded application crash

2007-04-23 Thread brajesh tiwari
Hi: I have develope a multi threaded client using open ssl.( openssl-0.9.6g) . My client application crashes in SslClose. Below is the stack trace: SslClose 0 0x3ff805c1ac8 in __nxm_thread_kill(...) in /usr/shlib/libpthread.so #1 0x3ff805ba120 in pthread_kill(...) in /usr/shlib/libpthread.

openssl pkcs12 don't want to prompt password

2007-04-23 Thread Janet N
Hi, I'm using openssl pkcs12 to export the usercert and userkey PEM files out of pkcs12. I don't want the openssl pkcs12 to prompt the user for the import and pem pass phrase. What are the password flags to be used? I got an invalid password when I do the following: -bash-3.1$ openssl pkcs12

RE: BIGNUM library

2007-04-23 Thread Edward Chan
Christophe, you're right. I just looked at my coe again, and I was not checking the return value of DH_compute_key() for the size of the computed shared secret; I was assuming it to be the same size as that returned by DH_size(), which is obviously not a valid assumption. All the other libs retur

Re: Modifying the request subject DN while signing it

2007-04-23 Thread Victor Duchovni
On Mon, Apr 23, 2007 at 07:03:19PM +0500, Arsen Hayrapetyan wrote: > The user created a PKCS#10 request using 'openssl req -subj...' and > specified some subject distinguished name (DN), say > '/C=AM/O=Org/OU=Dep/DN=ABC'. When the certification authority signs this > request (for example, with

Modifying the request subject DN while signing it

2007-04-23 Thread Arsen Hayrapetyan
Hello, The user created a PKCS#10 request using 'openssl req -subj...' and specified some subject distinguished name (DN), say '/C=AM/O=Org/OU=Dep/DN=ABC'. When the certification authority signs this request (for example, with command 'openssl ca...'), can it modify the DN, say, set it to '/C