You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by do...@apache.org on 2002/03/10 01:29:50 UTC
cvs commit: httpd-2.0/modules/ssl mod_ssl.c ssl_engine_ext.c
dougm 02/03/09 16:29:50
Modified: modules/ssl mod_ssl.c ssl_engine_ext.c
Log:
no need to call SSL_clear() after SSL_new()
Revision Changes Path
1.47 +1 -1 httpd-2.0/modules/ssl/mod_ssl.c
Index: mod_ssl.c
===================================================================
RCS file: /home/cvs/httpd-2.0/modules/ssl/mod_ssl.c,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -r1.46 -r1.47
--- mod_ssl.c 10 Mar 2002 00:22:07 -0000 1.46
+++ mod_ssl.c 10 Mar 2002 00:29:49 -0000 1.47
@@ -264,7 +264,7 @@
c->aborted = 1;
return DECLINED; /* XXX */
}
- SSL_clear(ssl);
+
cpVHostMD5 = ap_md5_binary(c->pool, sc->szVHostID, sc->nVHostID_length);
if (!SSL_set_session_id_context(ssl, (unsigned char *)cpVHostMD5,
MD5_DIGESTSIZE*2)) {
1.10 +1 -1 httpd-2.0/modules/ssl/ssl_engine_ext.c
Index: ssl_engine_ext.c
===================================================================
RCS file: /home/cvs/httpd-2.0/modules/ssl/ssl_engine_ext.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- ssl_engine_ext.c 23 Aug 2001 00:06:27 -0000 1.9
+++ ssl_engine_ext.c 10 Mar 2002 00:29:49 -0000 1.10
@@ -322,7 +322,7 @@
ap_ctx_set(fb->ctx, "ssl", NULL);
return errmsg;
}
- SSL_clear(ssl);
+
cpVHostMD5 = ap_md5(r->pool, (unsigned char *)cpVHostID);
if (!SSL_set_session_id_context(ssl, (unsigned char *)cpVHostMD5, strlen(cpVHostMD5))) {
errmsg = ap_psprintf(r->pool, "Unable to set session id context to `%s': peer %s: %s",