Re: Error Definitions?

1999-08-03 Thread Bodo Moeller
> Is the following reasonable to do on a call to SSL_read()? Will it > return the propper error string? > if( ( nReturnVal = SSL_read( con, cReadBuffer, READ_BUFFER_SIZE ) ) < 1 ) { > unsigned long nErrorVal = SSL_get_error( con, nReturnVal ); > char *cErrorString = ERR_error_string(

Re: Error Definitions?

1999-08-03 Thread auto16240
>> Maybe I am blind, but I have not been able to locate a list of >> errors that are returned by SSL_get_error(). If anyone can point me >> in the right direction I would appreciate it. > >What about the implementation of SSL_get_error? Or ssl.h. Sorry about the elementary questions. I am obv

Re: Net::SSLeay 1.03 make_form behaviour

1999-08-03 Thread Sampo Kellomaki
Ed Eddington <[EMAIL PROTECTED]> writes: > The problem I noticed was in the "make_form" logic. In creating the > key-value pairs for the request, this routine leaves a trailing '=' if the > last key has no value. MY code was leaving a trailing '=' already. Then > "make_form" added a second trai

Re: no Configure output on Win32??

1999-08-03 Thread Bodo Moeller
>> < Firstly you should run Configure: >> < >> < > perl Configure VC-WIN32 >> < >> < Next you need to build the Makefiles and optionally the assembly language >> >> < files. >> [...] > I'm sorry, but for me what to do for this step was not obvious. I've now changed >>

Re: Error Definitions?

1999-08-03 Thread Bodo Moeller
[EMAIL PROTECTED]: > Maybe I am blind, but I have not been able to locate a list of > errors that are returned by SSL_get_error(). If anyone can point me > in the right direction I would appreciate it. What about the implementation of SSL_get_error? Or ssl.h. #define SSL_ERROR_NONE

Re: ERRORS Compiling Latest openssl-SNAP-19990802

1999-08-03 Thread Bodo Moeller
Howard Uman <[EMAIL PROTECTED]>: > When I issue my usual request to ./Configure the openssl-SNAP-19990802, I > have been using "solaris-usparc-cc" as my compiler, but that option appears > to be gone This worked as recently as the openssl-SNAP19990725 file. > What to do? Simply trying "./co

Re: Net::SSLeay perl module 1.04 released, supports OpenSSL-0.9.3a FINALLY

1999-08-03 Thread Lars Eggert
-BEGIN PGP SIGNED MESSAGE- sampo> That symbol is supposed to come from libssl.a. Please check with sampo> nm. Then verify or experiment with compiler flags to see that it is sampo> indeed getting linked. Investigate if this has anything to do with sampo> OpenSSL library being dyna

Re: ssl_con->cert->key->x509 NULL after successful load?

1999-08-03 Thread Bodo Moeller
"Simon J. Gerraty" <[EMAIL PROTECTED]>: >> The comment in ssl_lib.c says: [...] >> This says what was changed, but gives no justification for it. >> Is there some class of problem which is solved by this change? Yes. The code that handled all those data structures (and used the SSL_CTX's cert

Error Definitions?

1999-08-03 Thread auto16240
Maybe I am blind, but I have not been able to locate a list of errors that are returned by SSL_get_error(). If anyone can point me in the right direction I would appreciate it. Alternatively, can anyone tell me what an error 6 is after a call to SSL_read()? Thank you in advance. Chris Ge

Re: ANNOUNCE: Net::SSLeay perl module 1.05

1999-08-03 Thread Sampo Kellomaki
Tran Duc Trung <[EMAIL PROTECTED]> writes: > Miguel Ángel Monjas Llorente <[EMAIL PROTECTED]> writes: > > Any clue? > > I had to modify Makefile.PL to be able to compile > > 1) added .exe suffix to the test of executability of openssl > > orig: > until (-x "$openssl_path/bin/openssl") { >

Re: Net::SSLeay perl module 1.04 released, supports OpenSSL-0.9.3a FINALLY

1999-08-03 Thread Sampo Kellomaki
Lars Eggert <[EMAIL PROTECTED]> writes: > -BEGIN PGP SIGNED MESSAGE- > > sampo> I just wrapped a new release. This is quite rough and badly tested > sampo> release so if you are in production environment and happy with 1.03, > sampo> don't upgrade yet. If on the other hand you have

Re: Net::SSLeay (1.05) and Windows NT

1999-08-03 Thread Sampo Kellomaki
"Miguel Angel Fraga" <[EMAIL PROTECTED]> writes: > I got a lot of errors, so after some changes it looks better... > but i don't know how to resolve this error message (and i don't > know if it is the last one...): > > Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86 >

ERRORS Compiling Latest openssl-SNAP-19990802

1999-08-03 Thread Howard Uman
When I issue my usual request to ./Configure the openssl-SNAP-19990802, I have been using "solaris-usparc-cc" as my compiler, but that option appears to be gone This worked as recently as the openssl-SNAP19990725 file. What to do? Thanks -H ~ Howard Uman - [EMAIL PROTECTED] Netegrity, Inc.,

Net::SSLeay 1.03

1999-08-03 Thread Ed Eddington
I noticed a "slight" bug in the previous version Net::SSleay-0.9.1c generating the HTTPS POST request (post_https). It may be present in the new release, I don't know. The problem I noticed was in the "make_form" logic. In creating the key-value pairs for the request, this routine leaves a tra

Re: ANNOUNCE: Net::SSLeay perl module 1.05

1999-08-03 Thread Miguel Ángel Monjas Llorente
Tran Duc Trung wrote: > > Miguel Ángel Monjas Llorente <[EMAIL PROTECTED]> writes: > > > [...] > > > > has anyone tested the Windows support? > > > > I've seen that the Makefile.PL is almost the same. So, I haven't been > > able to make anything. > > > > Any clue? > > I had to modify Makefile.P

SSLrsh updated for OpenSSL

1999-08-03 Thread Simon J. Gerraty
A long time coming... ftp://ftp.quick.com.au/pub/sjg/SSLrsh-2.2.0.tar.gz contains the latest version of SSLr* which builds ok against OpenSSL-0.9.3a Also, for those wanting shared libs: ftp://ftp.quick.com.au/pub/sjg/build-openssl-093a.tar.gz contains BSD Makefiles (and a perl script for gene

Re: ssl_con->cert->key->x509 NULL after successful load?

1999-08-03 Thread Simon J. Gerraty
Bodo Moeller writes: >"Simon J. Gerraty" <[EMAIL PROTECTED]>: >> A quick look though CHANGES and apps/* did not show much in the way >> of API changes [...] but after a successful call to >> SSL_CTX_use_PrivateKey_file(), SSL_get_certificate(ssl_con) returns >> NULL. >Actually this may be mention

Generating a certificate

1999-08-03 Thread KonectaNet
Hi i am trying to generate a working set of certs for an Apachessl server using openssl 0.9.3a .. everything seems to generate okay , but when installing the crts in a secure server it hangs on start. with this error message [Tue Aug 3 12:02:52 1999] [notice] SIGHUP received. Attempting t

DES

1999-08-03 Thread Alberto Velo
Hello, hope not to bore anybody here, but I'm new to the list and to SSLeay/OpenSSL. I suppose OpenSSL is the evolution of SSLeay, and began testing with SSLeay. I got SSLeay, and did some tests on my NT machine using SSLeay binaries ; now I'd like to do a simple application, which gets an ascii

Re: Newbie question on 3.X browsers and mod_SSL/OpenSSL

1999-08-03 Thread Larry Leszczynski
Hi Tim - > Moving a site from an old Stronghold DEC UNIX Alpha server to a > Solaris 2.6 server running > > Apache/1.3.6 (Unix) ApacheJServ/1.0 PHP/3.0.9 mod_perl/1.19 > mod_ssl/2.3.1 OpenSSL/0.9.3a. > > The site in question uses SSL and everything works just fine for > recent MS and

Re: no Configure output on Win32??

1999-08-03 Thread Brian Hooper
Hi Daniel, Thanks a lot for the tip. I think for some newbies (such as myself), the second step isn't very clear - would there be anything wrong with making it more explicit (i.e. writing out the command, or an example)? I will try to read more carefully in the future. --Brian "Daniel Reiche

Re: no Configure output on Win32??

1999-08-03 Thread Brian Hooper
Hi, > Read on in INSTALL.W32. > > < Firstly you should run Configure: > < > < > perl Configure VC-WIN32 > < > < Next you need to build the Makefiles and optionally the assembly language > > < files. > [...] I'm sorry, but for me what to do for this step was not obvious. Since I am new to

Re: ssl_con->cert->key->x509 NULL after successful load?

1999-08-03 Thread Simon J. Gerraty
> Re-ordering everything so that the first call to SSL_new() is after the > reading of the private key will complicate things in ugly ways. And that Yay! Sorry for the noise. The addition of SSL_CTX_set_verify() and SSL_CTX_set_cipher_list() mean that I can indeed defer calling SSL_new() until

Re: ssl_con->cert->key->x509 NULL after successful load?

1999-08-03 Thread Simon J. Gerraty
Bodo Moeller writes: >"Simon J. Gerraty" <[EMAIL PROTECTED]>: >Actually this may be mentioned in CHANGES, because the problem >could be that the program first calls SSL_new and then >SSL_CTX_use_PrivateKey_file: Hmmm. Yes, when it wants to defer reading the PEM pass phrase until it is known to be

Re: SSL_accept return values

1999-08-03 Thread Bodo Moeller
On Tue, Aug 03, 1999 at 10:33:21AM +0200, Anssi Bragge wrote: > I've built a dedicated SSL-server with SSLeay (not WWW server) and it > has run smoothly for it's purpose. Now, I was just fooling around and > did a 'stupid' test with connecting to the port with Netscape, and was > surprised

Hello

1999-08-03 Thread Roman Borovits
Hi guys!   I'm using an apache 1.3.1 Web Server with mod_ssl 2.0.10. Also installed is SSLeay-o.9.0b.   Can anybody help me: Now I want to use OpenSSL because I read a lot about it and I am very interested in it. But how can I manage this. Is it possible to use OpenSSL instead of SSLeay with

Re: ANNOUNCE: Net::SSLeay perl module 1.05

1999-08-03 Thread Tran Duc Trung
Miguel Ángel Monjas Llorente <[EMAIL PROTECTED]> writes: > [...] > > has anyone tested the Windows support? > > I've seen that the Makefile.PL is almost the same. So, I haven't been > able to make anything. > > Any clue? I had to modify Makefile.PL to be able to compile 1) added .exe suffix

SSL_accept return values

1999-08-03 Thread Anssi Bragge
Hi, I've built a dedicated SSL-server with SSLeay (not WWW server) and it has run smoothly for it's purpose. Now, I was just fooling around and did a 'stupid' test with connecting to the port with Netscape, and was surprised at the result. The server ran smoothly past the SSL_ac