pike.git / lib / modules / SSL.pmod / https.pike

version» Context lines:

pike.git/lib/modules/SSL.pmod/https.pike:38: Inside #if constant(SSL.Cipher.CipherAlgorithm) and #if undefined(HTTPS_CLIENT)
     protected string fmt_cipher_suites(array(int) s)   {    String.Buffer b = String.Buffer();    mapping(int:string) ciphers = ([]);    foreach([array(string)]indices(SSL.Constants), string id)    if( has_prefix(id, "SSL_") || has_prefix(id, "TLS_") ||    has_prefix(id, "SSL2_") )    ciphers[SSL.Constants[id]] = id;    foreach(s, int c) -  b->add(sprintf(" %-6d: %09x: %s\n", +  b->add(sprintf(" %-6d: %010x: %s\n",    c, cipher_suite_sort_key(c), ciphers[c]||"unknown"));    return (string)b;   }   #endif      string my_certificate = MIME.decode_base64(    "MIIBxDCCAW4CAQAwDQYJKoZIhvcNAQEEBQAwbTELMAkGA1UEBhMCREUxEzARBgNV\n"    "BAgTClRodWVyaW5nZW4xEDAOBgNVBAcTB0lsbWVuYXUxEzARBgNVBAoTClRVIEls\n"    "bWVuYXUxDDAKBgNVBAsTA1BNSTEUMBIGA1UEAxMLZGVtbyBzZXJ2ZXIwHhcNOTYw\n"    "NDMwMDUzNjU4WhcNOTYwNTMwMDUzNjU5WjBtMQswCQYDVQQGEwJERTETMBEGA1UE\n"