Branch: Tag:

2004-02-02

2004-02-02 23:01:37 by Martin Nilsson <mani@lysator.liu.se>

Use Nettle

Rev: lib/modules/Protocols.pmod/HTTP.pmod/Query.pike:1.65
Rev: lib/modules/Protocols.pmod/HTTP.pmod/Server.pmod/SSLPort.pike:1.7
Rev: lib/modules/Protocols.pmod/IRC.pmod/Client.pike:1.12
Rev: lib/modules/Protocols.pmod/LDAP.pmod/client.pike:1.52
Rev: lib/modules/SSL.pmod/Cipher.pmod:1.11
Rev: lib/modules/SSL.pmod/client.pike:1.6
Rev: lib/modules/SSL.pmod/session.pike:1.32
Rev: lib/modules/SSL.pmod/state.pike:1.22
Rev: lib/modules/Standards.pmod/PKCS.pmod/PFX.pmod:1.10
Rev: lib/modules/Standards.pmod/PKCS.pmod/Signature.pmod:1.8

2:      // LDAP client protocol implementation for Pike.   // - // $Id: client.pike,v 1.51 2004/01/11 00:49:02 nilsson Exp $ + // $Id: client.pike,v 1.52 2004/02/02 23:00:50 nilsson Exp $   //   // Honza Petrous, hop@unibase.cz   //
360:    void create(string|void url, object|void context)    {    -  info = ([ "code_revision" : ("$Revision: 1.51 $"/" ")[1] ]); +  info = ([ "code_revision" : ("$Revision: 1.52 $"/" ")[1] ]);       if(!url || !sizeof(url))    url = LDAP_DEFAULT_URL;
408: Inside #if constant(SSL.sslfile)
     #if constant(SSL.sslfile)    if(lauth->scheme == "ldaps") { -  context->random = Crypto.randomness.reasonably_random()->read; +  context->random = Crypto.Random.random_string;    ::create(SSL.sslfile(::_fd, context, 1,1));    info->tls_version = ldapfd->version;    } else