Hello,

Currently, I'm workig on adding SSL support (for https) to a KDE
application.. kio_http.  kio_http is what's known as a ioslave, and it
just handles the grunt work in communicating (in this case) with an http
server.   Previously I'd added support for digest authentication which
uses md5 digests to validate itself.  However, once I tried to include
ssh.h, I got errors complaining about conflicting types for MD5_CTX.  Sure
enough, I the SSLeay idea of what that structure looked like varied
slightly from what the FreeBSD code thought it should look like (fbsd uses
arrays, SSLeay uses four members).

Here's the problem:

While this will likely only conflict with [Free]BSD boxen, as I think
Linux and other OSes don't ship with MD5 code by default, this is a
problem because making local changes to either my FreeBSD system of copy
of OpenSSL are out of the question.  I want the digest authentication code
to be independant of the SSL code.  I can think of three possible
solutions:

* Rename the structure
* Change it to match the FreeBSD one
* ifdef some code so that the system implementation of MD5*() is used

I'm hardly an expert on SSLeay/OpenSSL, but how receptive are you guys to
perhaps one of these changes (If yes, I can probably come up with some
diffs)?

- alex

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to