-fomit-frame-pointer ?

2003-02-14 Thread Jasper Spit
Hi, I have developed some c++ wrapper classes around openssl. Now I need to be able to throw exceptions from within the different openssl callbacks like e.g. the password & verification callback. This is not a problem on windows, but it is when using a gcc platform like e.g. linux. For this to wor

RE: SSL_accept hang

2003-02-07 Thread Jasper Spit
PROTECTED]] Namens David Schwartz Verzonden: vrijdag 7 februari 2003 0:52 Aan: [EMAIL PROTECTED] Onderwerp: RE: SSL_accept hang On Thu, 6 Feb 2003 20:34:23 +0100, Jasper Spit wrote: >I can confirm that. select() works fine for both blocking and >non-blocking i/o, even on Windows :)

RE: SSL_accept hang

2003-02-04 Thread Jasper Spit
: SSL_accept hang This doesn't really solve the problem of timeouts, as you will now have a dead thread lying around. Tim --- Jasper Spit <[EMAIL PROTECTED]> wrote: > Don't know if this is appropriate for you, but if > you're using a > multithreaded app, make sure the

RE: SSL_accept hang

2003-02-04 Thread Jasper Spit
Title: Bericht Don't know if this is appropriate for you, but if you're using a multithreaded app, make sure the SSL_accept call takes place in a seperate thread (dedicated for that client). That way if the connecting party never initiates or completes a handshake, your application will stil

Openssl 0.9.7 build error with Borland C++ Builder 6

2003-01-20 Thread Jasper Spit
Hi, I'm trying to build 0.9.7 with BC++ Builder 6, but it fails with the following error : bcc32 -otmp32\x_all.obj -Iinc32 -Itmp32 -DWIN32_LEAN_AND_MEAN -q -w-aus -w-par -w-inl -c -tWC -tWM -DOPENSSL_SYSNAME_WIN32 -DL_ENDIAN -DDSO_WIN32 -D_str icmp=stricmp -O2 -ff -fp -DBN_ASM -DMD5_ASM -

RE: Unhandled Exception

2002-12-22 Thread Jasper Spit
You have to add the threading library that was used to build openssl to your project as well to prevent these crashes. See the OpenSSL FAQ. -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Namens [EMAIL PROTECTED] Verzonden: donderdag 19 december 2002 14:35 Aan: [

write_PrivateKey (encrypted) access violation

2002-11-05 Thread Jasper Spit
Hi, I have a problem running my code on win32 (on linux it runs fine). On win32 I get an access violation on the PEM_write_PrivateKey call, but when I use a cipher to encrypt the private key on disk, without encryption it works fine. I've tried using PEM_write_bio_PrivateKey, that doesn't work e

RE: Here is how to build with BCB5 using nasm

2002-11-05 Thread Jasper Spit
Thanks, this works fine for me with BCB6. No compile errors/altering header files either. -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:owner-openssl-users@;openssl.org] Namens Keary Phillips Verzonden: zondag 3 november 2002 20:41 Aan: [EMAIL PROTECTED] Onderwerp: Here is how to

RE: Help w/ BC++ 5

2002-11-02 Thread Jasper Spit
Use the BCB4 build instructions. The other doesn't work with BCB5 or BCB6. -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:owner-openssl-users@;openssl.org] Namens Oblio Verzonden: vrijdag 1 november 2002 21:56 Aan: [EMAIL PROTECTED] Onderwerp: Help w/ BC++ 5 I'm completely new t

Multiple contexts - overhead ?

2002-10-21 Thread Jasper Spit
Hi, I know the advice is to use a single SSL context per application. My situation however is that I'm writing some software that will accept inbound connections and setup outbound connections as well. I don't want to be bound by using the same certificates for inbound and outbound connections. So

Getting private key from RSA* structure

2002-09-21 Thread Jasper Spit
Hi, How can I obtain the private key in an RSA* structure which is already in memory ? I need such a function for a class wrapper I'm writing : Cert A : root CA, loaded in memory Cert B : other cert, needs to be signed by Cert A So I need Cert A's private key :) (Reloading it from disk is not a

Certificate as license ?

2002-09-11 Thread Jasper Spit
Hi, The following scenario. I'm running a company that sells software. When selling software to a new client I create a certificate for that client and sign it using my company's root certificate. The software in turn on startup checks if the client's certificate was signed by my company, by matc