Blame SOURCES/jss-bad-error-string-pointer.patch
|
|
b93447 |
--- jss-4.2.6.orig/mozilla/security/jss/org/mozilla/jss/ssl/SSLServerSocket.c 2010-11-17 18:54:56.000000000 -0500
|
|
|
b93447 |
+++ jss-4.2.6/mozilla/security/jss/org/mozilla/jss/ssl/SSLServerSocket.c 2010-11-18 09:46:34.000000000 -0500
|
|
|
b93447 |
@@ -124,20 +124,16 @@
|
|
|
b93447 |
/* Clean up after PR_interrupt. */
|
|
|
b93447 |
PR_NT_CancelIo(sock->fd);
|
|
|
b93447 |
#endif
|
|
|
b93447 |
- JSSL_throwSSLSocketException(env,
|
|
|
b93447 |
- "Accept operation interrupted with error code " + err);
|
|
|
b93447 |
+ JSSL_throwSSLSocketException(env, "Accept operation interrupted");
|
|
|
b93447 |
} else if( err == PR_IO_TIMEOUT_ERROR ) {
|
|
|
b93447 |
#ifdef WINNT
|
|
|
b93447 |
PR_NT_CancelIo(sock->fd);
|
|
|
b93447 |
#endif
|
|
|
b93447 |
- JSSL_throwSSLSocketException(env,
|
|
|
b93447 |
- "Accept operation timed out with error code " + err);
|
|
|
b93447 |
+ JSSL_throwSSLSocketException(env, "Accept operation timed out");
|
|
|
b93447 |
} else if( err == PR_IO_ERROR ) {
|
|
|
b93447 |
- JSSL_throwSSLSocketException(env,
|
|
|
b93447 |
- "Accept operation received IO error with error code " + err);
|
|
|
b93447 |
+ JSSL_throwSSLSocketException(env, "Accept operation received IO error");
|
|
|
b93447 |
} else {
|
|
|
b93447 |
- JSSL_throwSSLSocketException(env,
|
|
|
b93447 |
- "Accept operation failed with error code " + err);
|
|
|
b93447 |
+ JSSL_throwSSLSocketException(env, "Accept operation failed");
|
|
|
b93447 |
}
|
|
|
b93447 |
goto finish;
|
|
|
b93447 |
}
|