Re: [htdig] SSL Patch


Subject: Re: [htdig] SSL Patch
From: Gilles Detillieux (grdetil@scrc.umanitoba.ca)
Date: Fri Nov 17 2000 - 12:25:34 PST


According to Michael Arndt:
> When applying SSL.0 or SSL.2 (SSL.1 doesnt apply) to a htdig 3.1.5 fresh
> from Server, i get Problems when trying to compile on a linux box:
...
> Server.cc: In method `Server::Server(char *, int, int, StringList * = 0)':
> Server.cc:44: passing `const char *' as argument 1 of `String::operator =(char *)' discards qualifiers

Try replacing lines 43-44 of the patched Server.cc with the following
construct to see if it would keep your compiler happy:

    String url = "http://";
    if (ssl) url = "https://";

-- 
Gilles R. Detillieux              E-mail: <grdetil@scrc.umanitoba.ca>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930

------------------------------------ To unsubscribe from the htdig mailing list, send a message to htdig-unsubscribe@htdig.org You will receive a message to confirm this. List archives: <http://www.htdig.org/mail/menu.html> FAQ: <http://www.htdig.org/FAQ.html>



This archive was generated by hypermail 2b28 : Fri Nov 17 2000 - 12:33:13 PST