What's so bogus? There's a prototype for this member in context.pike, but it's never defined. Ideally, the problem should be fixed in the context object, but there was apparently a reason why it wasn't set there in the first place.
Bill
On Wed, 26 Jan 2005, Martin Stjernholm, Roxen IS @ Pike developers forum wrote:
The following looks entirely bogus to me. Whatever the problem is, it can hardly be there. What's the story?
revision 1.79 date: 2004/10/13 23:53:21; author: bill; state: Exp; lines: +3 -1 for some reason, context->random doesn't get set when using sslfile. this should be fixed now.
@@ -356,6 +356,8 @@ stream->set_close_callback (0); stream->set_id (1);
if(!ctx->random)
ctx->random = Crypto.Random.random_string;
conn = SSL.connection (!is_client, ctx);
if(is_blocking) {