Re: Problem with Modules

2009-06-23 Thread Kyle Hamilton
CRYPTOKI_* is the series of functions which are defined in PKCS#11 to be able to access a hardware device which provides an API that matches the specification. CRYPTOKI_checkerr() is the function which gets the return code (if an error has been encountered by a CRYPTOKI call, akin to SSL_get_error

Re: Problem with pthread and OpenSSL

2009-06-23 Thread pcslara
Please Could someone have a simple example with pthread to show me! This program was compiled and run on an openSUSE 11.0 x86_64 kernel 2.6.25.18. The program exits with 'Segmentation fault'. pcslara wrote: > > Hi friends, > This is my fisrt message here! > I'm making a parallel version of BN_

Problem with Modules

2009-06-23 Thread Bram Cymet
Hi, I am trying to work with the pkcs11_engine from the opensc project and a vendor supplied module and I am running into some problems. This worked just fine on my SLES 10 SP2 server with an older version of openssl but when I try to get it to work on my SLES 11 server with openssl 0.9.8h it doe

RE: memory leak in openssl

2009-06-23 Thread Vivek Subbarao
The server forks out a thread and i am passing a pointer to the ssl object as a parameter to the thread which closes it just before exit. Like this Servermain() { CreateThread( SSL* ssl ); //user defined function } MyThread( void* p ) { SSL *ssl = (SSL*)p; // //do something // If