From 7670d830a70363af4fbc55a24e6d2718d4bb9391 Mon Sep 17 00:00:00 2001 From: "alexei.volkov.bugs%sun.com" Date: Sat, 13 May 2006 00:15:43 +0000 Subject: [PATCH] Patch contributed by jonsmirl@yahoo.com [Bug 336932] Coverity 163, dead code in mozilla/security/nss/lib/ssl/ssl3con.c. r=nelson git-svn-id: svn://10.0.0.236/branches/NSS_3_11_BRANCH@196440 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/security/nss/lib/ssl/ssl3con.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mozilla/security/nss/lib/ssl/ssl3con.c b/mozilla/security/nss/lib/ssl/ssl3con.c index c65b243ee31..9c4d568a825 100644 --- a/mozilla/security/nss/lib/ssl/ssl3con.c +++ b/mozilla/security/nss/lib/ssl/ssl3con.c @@ -39,7 +39,7 @@ * the terms of any one of the MPL, the GPL or the LGPL. * * ***** END LICENSE BLOCK ***** */ -/* $Id: ssl3con.c,v 1.76.2.10 2006-04-23 03:05:42 nelson%bolyard.com Exp $ */ +/* $Id: ssl3con.c,v 1.76.2.11 2006-05-13 00:15:37 alexei.volkov.bugs%sun.com Exp $ */ #include "nssrenam.h" #include "cert.h" @@ -8019,9 +8019,9 @@ process_it: case content_handshake: rv = ssl3_HandleHandshake(ss, databuf); break; - case content_application_data: - rv = SECSuccess; - break; + /* + case content_application_data is handled before this switch + */ default: SSL_DBG(("%d: SSL3[%d]: bogus content type=%d", SSL_GETPID(), ss->fd, cText->type));