Skip to content
Snippets Groups Projects
Commit 5532e1c7 authored by Martin Nilsson's avatar Martin Nilsson
Browse files

Import SSL.Constants

Rev: lib/modules/Protocols.pmod/HTTP.pmod/Query.pike:1.49
Rev: lib/modules/Protocols.pmod/LDAP.pmod/client.pike:1.47
parent e254441b
No related branches found
No related tags found
No related merge requests found
#pike __REAL_VERSION__ #pike __REAL_VERSION__
// $Id: Query.pike,v 1.48 2003/01/20 17:44:00 nilsson Exp $ // $Id: Query.pike,v 1.49 2003/02/07 01:00:04 nilsson Exp $
//! Open and execute an HTTP query. //! Open and execute an HTTP query.
...@@ -30,7 +30,7 @@ int timeout=120; // seconds ...@@ -30,7 +30,7 @@ int timeout=120; // seconds
// internal // internal
#if constant(SSL.sslfile) #if constant(SSL.sslfile)
import SSL.constants; import SSL.Constants;
SSL.sslfile ssl; SSL.sslfile ssl;
#endif #endif
int(0..1) https = 0; int(0..1) https = 0;
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// LDAP client protocol implementation for Pike. // LDAP client protocol implementation for Pike.
// //
// $Id: client.pike,v 1.46 2002/11/27 22:04:32 marcus Exp $ // $Id: client.pike,v 1.47 2003/02/07 01:00:38 nilsson Exp $
// //
// Honza Petrous, hop@unibase.cz // Honza Petrous, hop@unibase.cz
// //
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
#include "ldap_errors.h" #include "ldap_errors.h"
#if constant(SSL.sslfile) #if constant(SSL.sslfile)
import SSL.constants; import SSL.Constants;
#endif #endif
#ifdef LDAP_PROTOCOL_PROFILE #ifdef LDAP_PROTOCOL_PROFILE
...@@ -360,7 +360,7 @@ int _prof_gtim; ...@@ -360,7 +360,7 @@ int _prof_gtim;
void create(string|void url, object|void context) void create(string|void url, object|void context)
{ {
info = ([ "code_revision" : ("$Revision: 1.46 $"/" ")[1] ]); info = ([ "code_revision" : ("$Revision: 1.47 $"/" ")[1] ]);
if(!url || !sizeof(url)) if(!url || !sizeof(url))
url = LDAP_DEFAULT_URL; url = LDAP_DEFAULT_URL;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment