Print this page
3882 remove xmod & friends

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libldap5/sources/ldap/common/open.c
          +++ new/usr/src/lib/libldap5/sources/ldap/common/open.c
↓ open down ↓ 393 lines elided ↑ open up ↑
 394  394                  memset( ver, 0, sizeof(*ver) );
 395  395                  ver->sdk_version = (int)(VI_PRODUCTVERSION * 100);
 396  396                  ver->protocol_version = LDAP_VERSION_MAX * 100;
 397  397                  ver->SSL_version = SSL_VERSION * 100;
 398  398                  /* 
 399  399                   * set security to none by default 
 400  400                   */
 401  401  
 402  402                  ver->security_level = LDAP_SECURITY_NONE;
 403  403  #if defined(LINK_SSL)
 404      -#if defined(NS_DOMESTIC)
 405  404                  ver->security_level = 128;
 406      -#elif defined(NSS_EXPORT)
 407      -                ver->security_level = 40;
 408  405  #endif
 409      -#endif
 410  406  
 411  407          }
 412  408          return (int)(VI_PRODUCTVERSION * 100);
 413  409  }
 414  410  
 415  411  /*
 416  412   * ldap_open - initialize and connect to an ldap server.  A magic cookie to
 417  413   * be used for future communication is returned on success, NULL on failure.
 418  414   * "host" may be a space-separated list of hosts or IP addresses
 419  415   *
↓ open down ↓ 390 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX