From 5b1d857177a23507fb5e8d2502e3ce53954d8b7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?= <grubba@grubba.org> Date: Tue, 23 Jun 1998 15:46:39 +0200 Subject: [PATCH] Implemented work-around for bug in SSLeay 0.9. The identity is now 16 bytes (only 8 variant). Rev: lib/modules/SSL.pmod/context.pike:1.5 --- lib/modules/SSL.pmod/context.pike | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/modules/SSL.pmod/context.pike b/lib/modules/SSL.pmod/context.pike index 0a26017ec9..cb3ac9bd47 100644 --- a/lib/modules/SSL.pmod/context.pike +++ b/lib/modules/SSL.pmod/context.pike @@ -1,4 +1,4 @@ -/* $Id: context.pike,v 1.4 1997/05/31 22:03:54 grubba Exp $ +/* $Id: context.pike,v 1.5 1998/06/23 13:46:39 grubba Exp $ * * Keeps track of global data for an SSL server, * such as preferred encryption algorithms and session cache. @@ -72,7 +72,8 @@ object lookup_session(string id) object new_session() { object s = Session(); - s->identity = (use_cache) ? sprintf("%4c%4c", time(), session_number++) : ""; + s->identity = (use_cache) ? sprintf("%4cPikeSSL3%4c", + time(), session_number++) : ""; return s; } -- GitLab