Date: Fri, 25 Apr 2003 08:31:16 +0200
From: "Vorldnder, Martin" <MV@PDV-SYSTEME.DE>
To: htdig-general@lists.sourceforge.net
Cc: stevens@americanmensa.org
Subject: RE: [htdig] htdig 3.1.6 and SSL

I posted an improved version of Mari's patch on 23-Oct-2002.
I'll append it in case you or someone else wants it (and boldly
call it ssl.11). The differences are mainly that it

- is governed by a HAVE_SSL macro. As I don't know much about
  autoconf, I didn't implement detecting and setting it in
  configure.in .

- implements use of a RANDFILE for platforms that don't have
  /dev/u?random or EGD (like OpenVMS). This is governed by the macro
  SSL_NEED_RANDFILE. It's use is mandatory for OpenSSL 0.9.5+.

- uses the more recent OpenSSL API rather than the old SSLeay one

- prints SSL error messages

Of course, OpenSSL has to be installed on your system, with the
environment variable OPENSSL pointing to it.

Hope it helps,
  Martin
-- 
  OpenVMS:                | Martin Vorlaender  |  VMS & WNT programmer
   The operating system   | work: mv@pdv-systeme.de
   God runs the           |   http://www.pdv-systeme.de/users/martinv/
   earth simulation on.   | home: martin@radiogaga.harz.de

###########################################################################
CHANGES to this patch:

- Added EGD socket environment variable to htlib/Connection.cc

If you define an environment variable called EGD_SOCKET in your rundig
script pointing to the random pool socket of prngd/egd, then htdig will 
get a faster random seed for SSL connection.

CHANGED BY:	Thomas Binder, arago AG

CHANGE DATE:	12.06.2003
