summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralexei.volkov.bugs%sun.com <devnull@localhost>2006-05-13 00:15:37 +0000
committeralexei.volkov.bugs%sun.com <devnull@localhost>2006-05-13 00:15:37 +0000
commit10a0345fcd1f31f414f84a410e29c6fc0a7f76aa (patch)
treefef307d00fd5127208054dea6213aa53b3f7aa01
parent173f7f6cfd065e6ac87b00803165e1a7715a142e (diff)
downloadnss-hg-10a0345fcd1f31f414f84a410e29c6fc0a7f76aa.tar.gz
Patch contributed by jonsmirl@yahoo.com
[Bug 336932] Coverity 163, dead code in mozilla/security/nss/lib/ssl/ssl3con.c. r=nelson
-rw-r--r--security/nss/lib/ssl/ssl3con.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/security/nss/lib/ssl/ssl3con.c b/security/nss/lib/ssl/ssl3con.c
index 217060b95..586086f27 100644
--- a/security/nss/lib/ssl/ssl3con.c
+++ b/security/nss/lib/ssl/ssl3con.c
@@ -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));