harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From odea...@apache.org
Subject svn commit: r989737 - /harmony/enhanced/java/branches/omd/classlib/modules/x-net/src/main/native/jsse/shared/sslSession.c
Date Thu, 26 Aug 2010 15:04:33 GMT
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);



Mime
View raw message