]> git.sur5r.net Git - openldap/blobdiff - libraries/libldap/digest.c
Braced ldap_connect_to_path() in #ifdef LDAP_PF_LOCAL so as to compile
[openldap] / libraries / libldap / digest.c
index a0ca3a7a2aa4605fcab8cd33202b009b1605ded8..69aa80c1200e173923867135a34fa9f7e417a490 100644 (file)
@@ -1,3 +1,4 @@
+/* $OpenLDAP$ */
 /*
  * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
@@ -6,14 +7,16 @@
  *     DIGEST-MD5 routines
  */
 
-#include <portable.h>
+#include "portable.h"
+
+#ifdef DIGEST_MD5
 
 #include <ac/ctype.h>
 #include <ac/string.h>
 #include <ac/time.h>
 
 #include "ldap-int.h"
-#include <ldap_pvt.h>
+#include "ldap_pvt.h"
 
 #define TK_NOENDQUOTE  -2
 #define TK_OUTOFMEM    -1
@@ -375,3 +378,5 @@ parse_value_list(
        *valuesp = values;
        return rc;
 }
+
+#endif