You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by od...@apache.org on 2010/08/26 17:04:33 UTC
svn commit: r989737 -
/harmony/enhanced/java/branches/omd/classlib/modules/x-net/src/main/native/jsse/shared/sslSession.c
Author: odeakin
Date: Thu Aug 26 15:04:33 2010
New Revision: 989737
URL: http://svn.apache.org/viewvc?rev=989737&view=rev
Log:
Fix build warning of unused variable.
Modified:
harmony/enhanced/java/branches/omd/classlib/modules/x-net/src/main/native/jsse/shared/sslSession.c
Modified: harmony/enhanced/java/branches/omd/classlib/modules/x-net/src/main/native/jsse/shared/sslSession.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/branches/omd/classlib/modules/x-net/src/main/native/jsse/shared/sslSession.c?rev=989737&r1=989736&r2=989737&view=diff
==============================================================================
--- harmony/enhanced/java/branches/omd/classlib/modules/x-net/src/main/native/jsse/shared/sslSession.c (original)
+++ harmony/enhanced/java/branches/omd/classlib/modules/x-net/src/main/native/jsse/shared/sslSession.c Thu Aug 26 15:04:33 2010
@@ -49,7 +49,6 @@ JNIEXPORT jstring JNICALL Java_org_apach
const char *cipherName = SSL_get_cipher(ssl);
char *protocol = SSL_get_cipher_version(ssl);
char *specName = NULL;
- char buf[256];
if (!strcmp(protocol, "TLSv1/SSLv3")) {
// We're in either TLS or SSLv3, now find the spec name
@@ -58,7 +57,7 @@ JNIEXPORT jstring JNICALL Java_org_apach
// Not in the TLS list, now search the SSL list
// TODO: Lists are likely to be the same - can this case ever occur?
specName = getSpecName(cipherName, getSSLv3OpenSSLNames(), getSSLv3SpecNames(), SSLv3_CIPHER_COUNT);
- }
+ }
} else {
// SSLv2 case
specName = getSpecName(cipherName, getSSLv2OpenSSLNames(), getSSLv2SpecNames(), SSLv2_CIPHER_COUNT);