pike.git / lib / modules / Protocols.pmod / LDAP.pmod / client.pike

version» Context lines:

pike.git/lib/modules/Protocols.pmod/LDAP.pmod/client.pike:1470:    Sequence(    ({    // size    Integer(0x7fffffff),    cookie, // cookie    }))->get_der(),    sizeof(cookie->value))});    },);    object controls;    if (sizeof(ctrls)) { -  controls = .ldap_privates.asn1_sequence(0, ctrls); +  controls = ASN1_CONTEXT_SEQUENCE(0, ctrls);    }       string|int raw;    if(intp(raw = do_op(search_request, controls))) {    THROW(({error_string()+"\n",backtrace()}));    return 0;    }    entry = .ldap_privates.ldap_der_decode (raw);    });   
pike.git/lib/modules/Protocols.pmod/LDAP.pmod/client.pike:1608:    }       object ctrls;    if (controls) {    array(object) control_list = allocate (sizeof (controls));    int i;    foreach (controls; string type; array(int|string) data)    control_list[i++] =    make_control (type, [string] data[1], [int] data[0]);    if (sizeof (control_list)) -  ctrls = .ldap_privates.asn1_sequence(0, control_list); +  ctrls = ASN1_CONTEXT_SEQUENCE(0, control_list);    }       object entry;    PROFILE ("send_get_op", {    string|int raw;    if(intp(raw = do_op(search_request, ctrls))) {    THROW(({error_string()+"\n",backtrace()}));    return 0;    }    entry = .ldap_privates.ldap_der_decode (raw);