Branch: Tag:

2014-08-08

2014-08-08 12:38:03 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Pike 8.0: More SSL/TLS API changes.

2548: Inside #if constant(Standards.X509)
   return;    }    -  if (sizeof(ctx->cert_pairs)) { +  // FIXME: Only do this if there are certs loaded?    // We must reset the set of certificates.    ctx = SSLContext();    set_version();    filter_preferred_suites(); -  } +        mapping(string:array(int)) cert_lookup = ([]);    foreach(decoded_certs; int no; Standards.X509.TBSCertificate tbs) {
2601: Inside #if constant(Standards.X509)
   ctx->add_cert(key, rows(certificates, cert_nos), ({ name }));    }    + #if 0 +  // FIXME: How do this in current Pike 8.0?    if (!sizeof(ctx->cert_pairs)) {    CERT_ERROR(Certificates,    LOC_M(0,"No matching keys and certificates found.\n"));
2610: Inside #if constant(Standards.X509)
   cert_failure = 1;    return;    } + #endif       if (!bound) {    bind (ignore_eaddrinuse);