Branch: Tag:

2015-06-17

2015-06-17 13:13:36 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Pike 8.0: SSL.sslfile has been obsoleted by SSL.File.

Update to the new API, and remove some old-style code.

Improved compatibility with Pike 8.1.

752: Inside #if defined(THREADS)
   if (mixed err = catch (url=Standards.URI(args["cached-href"])))    RXML.parse_error ("Invalid URL: %s\n", describe_error (err));    - #if constant(SSL.sslfile) + #if constant(SSL.File)    if(url->scheme!="http" && url->scheme!="https")    error("Protocols.HTTP can't handle %O or any other protocols than HTTP or HTTPS\n",    url->scheme);       con->https= (url->scheme=="https")? 1 : 0;   #else -  if(url->scheme!="http" ) +  if(url->scheme!="http")    error("Protocols.HTTP can't handle %O or any other protocol than HTTP\n",    url->scheme);