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

version» Context lines:

pike.git/lib/modules/SSL.pmod/Session.pike:548:    key = cipher_spec->prf(master_secret, "key expansion",    server_random + client_random, required);       SSL3_DEBUG_MSG("key_block: %O\n", key);    return key;   }      #ifdef SSL3_DEBUG   protected void printKey(string name, string key)   { -  werror("%s: len:%d \t\t%s\n", name, sizeof(key), String.string2hex(key)); +  werror("%s: len:%d \t\t%x\n", name, sizeof(key), key);   }   #endif      //! Generates keys appropriate for the SSL version given in @[version],   //! based on the @[client_random] and @[server_random].   //! @returns   //! @array   //! @elem string 0   //! Client write MAC secret   //! @elem string 1