Dynamic engine problems

2005-01-17 Thread Dmitry Belyavsky
Hello! We are implementing custom engine providing GOST algorithms. We get a SEGFAULT on app_shutdown. We didn't find out what is wrong with our code. Engine code is attached. We use 20050112 snapshot of 0.9.8 branch. -- SY, Dmitry Belyavsky (ICQ UIN 6575) #include string.h #include

Re: Dynamic engine problems

2005-01-17 Thread Richard Levitte - VMS Whacker
In message [EMAIL PROTECTED] on Mon, 17 Jan 2005 11:06:49 +0300 (MSK), Dmitry Belyavsky [EMAIL PROTECTED] said: beldmit We are implementing custom engine providing GOST algorithms. beldmit We get a SEGFAULT on app_shutdown. That's because of the call to ENGINE_unregister_ciphers() in

Re: Dynamic engine problems

2005-01-17 Thread Dmitry Belyavsky
Hello! On Mon, 17 Jan 2005, Richard Levitte - VMS Whacker wrote: beldmit We are implementing custom engine providing GOST algorithms. beldmit We get a SEGFAULT on app_shutdown. That's because of the call to ENGINE_unregister_ciphers() in cce_destroy(). Can I suggest you take a look at, for

Re: Dynamic engine problems

2005-01-17 Thread Richard Levitte - VMS Whacker
In message [EMAIL PROTECTED] on Mon, 17 Jan 2005 13:27:03 +0300 (MSK), Dmitry Belyavsky [EMAIL PROTECTED] said: beldmit Thank you very much. Should we call ENGINE_unregister_ciphers beldmit any time really? What are they for? It's a function to be called from the application when wanting

Writing to a mem BIO instead of using SSL_Write

2005-01-17 Thread Rodrigo Strauss
Hi. I'm trying (with no success) to detach SSL from a socket, and use it to crypt/decrypt using a mem BIO. Instead of using SSL_write, I want to write the encrypted data to a mem BIO (or just a buffer) and send it by myself (and do the reverse operation on receive). I will do this just after the

using OpenSSL and NSS in same project

2005-01-17 Thread Aftab Alam
Hi All, I am trying to use OpenSSL and NSS(Mozilla) toolkit in the same project. When I try to compile the project It gives me an error error C2733: second C linkage of overloaded function 'SHA1_Update' not allowed c:\open.tar\openssl_debug_updated\openssl-0.9.7e\inc32\openssl\sha.h(116) : see

Re: SSL (or alike) over UDP

2005-01-17 Thread Ben Laurie
Peter 'Luna' Runestig wrote: On Fri, 14 Jan 2005 21:10 pm, Eduardo Pérez wrote: Do you know if it's possible to use SSL (or some other protocol) over UDP running totally in user space. The OpenVPN project http://openvpn.net/ runs OpenSSL over UDP, works great. No, it doesn't. It uses SSL do

Re: SSL (or alike) over UDP

2005-01-17 Thread Shaun Lipscombe
* Ben Laurie wrote: Peter 'Luna' Runestig wrote: On Fri, 14 Jan 2005 21:10 pm, Eduardo Pérez wrote: Do you know if it's possible to use SSL (or some other protocol) over UDP running totally in user space. The OpenVPN project http://openvpn.net/ runs OpenSSL over UDP, works great.

Re: SSL (or alike) over UDP

2005-01-17 Thread Andrew Mann
Shaun Lipscombe wrote: * Ben Laurie wrote: Peter 'Luna' Runestig wrote: On Fri, 14 Jan 2005 21:10 pm, Eduardo Pérez wrote: Do you know if it's possible to use SSL (or some other protocol) over UDP running totally in user space. The OpenVPN project http://openvpn.net/ runs OpenSSL over UDP,

RE: Writing to a mem BIO instead of using SSL_Write

2005-01-17 Thread David Schwartz
I'm trying (with no success) to detach SSL from a socket, and use it to crypt/decrypt using a mem BIO. Instead of using SSL_write, I want to write the encrypted data to a mem BIO (or just a buffer) and send it by myself (and do the reverse operation on receive). I will do this just after the

EVP routines

2005-01-17 Thread Antonio Andrés Espallardo
Hi everybody. I'm developing an aplication in C++ which uses some OpenSSL crypto operations. Concretely, I need to offer support to cipher operations, that is, there is a method whis initializes an encrypt operation, an operation which encrypts an input data and which will be called

RE: Writing to a mem BIO instead of using SSL_Write

2005-01-17 Thread Henry Su
Try to find some source code for EAP-TTLS or EAP-PEAP, these use mem BIO and SSL. You can try to read some source code FreeRadius or Open.1X. Good luck. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of David Schwartz Sent: Monday, January 17, 2005 11:56 AM

Re: Writing to a mem BIO instead of using SSL_Write

2005-01-17 Thread Ben Laurie
Henry Su wrote: Try to find some source code for EAP-TTLS or EAP-PEAP, these use mem BIO and SSL. You can try to read some source code FreeRadius or Open.1X. Good luck. Or mod_ssl in Apache 2. -- http://www.apache-ssl.org/ben.html http://www.thebunker.net/ There is no limit to what a man can