mirror of
https://github.com/pissnet/pissircd.git
synced 2025-07-27 05:22:24 +01:00
- Updated SSL error for underlying syscall error a bit (#0001615).
This commit is contained in:
parent
9ba52eea92
commit
f58c46a334
3 changed files with 9 additions and 5 deletions
1
Changes
1
Changes
|
@ -2989,3 +2989,4 @@ seen. gmtime warning still there
|
|||
- Q comes after P. Thanks to Rocko for reminding us! (fixes /stats P bug ;p).
|
||||
- Added 90% of RC2 release notes.
|
||||
- Cosmetic doc updates (#0001596) reported by HERZ.
|
||||
- Updated SSL error for underlying syscall error a bit (#0001615).
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
<font size="4"><a href="http://www.unrealircd.com">http://www.unrealircd.com</a></font><br>
|
||||
<font size="4">Version: 3.2</font><br>
|
||||
<b>Current Version:</b> 3.2 RC1 *CVS*<br>
|
||||
<b>Last doc update:</b> 2004-02-19</div>
|
||||
<b>Last doc update:</b> 2004-03-02</div>
|
||||
<b>Head Coders:</b> Stskeeps / codemastr / Syzop / Luke / McSkaf<br>
|
||||
<b>Contributors:</b> Zogg / NiQuiL / assyrian / chasm / DrBin / llthangel / Griever / nighthawk<br>
|
||||
<b>Documentation:</b> CKnight^ / Syzop<br>
|
||||
|
@ -184,8 +184,8 @@ Windows:<br>
|
|||
<p><b>Installation Instructions</b><br>
|
||||
Linux:<br>
|
||||
<ol>
|
||||
<li>gunzip -d Unreal3.2-beta13.tar.gz
|
||||
<li>tar xvf Unreal3.2-beta13.tar
|
||||
<li>gunzip -d Unreal3.2-RC1.tar.gz
|
||||
<li>tar xvf Unreal3.2-RC1.tar
|
||||
<li>cd Unreal3.2
|
||||
<li>./Config
|
||||
<li>Answer these questions to the best of your knowledge. Generally if your not
|
||||
|
|
|
@ -83,6 +83,8 @@ LRESULT SSLPassDLG(HWND hDlg, UINT Message, WPARAM wParam, LPARAM lParam) {
|
|||
|
||||
char *ssl_error_str(int err)
|
||||
{
|
||||
static char ssl_errbuf[256];
|
||||
|
||||
char *ssl_errstr = NULL;
|
||||
switch(err) {
|
||||
case SSL_ERROR_NONE:
|
||||
|
@ -101,7 +103,8 @@ char *ssl_error_str(int err)
|
|||
ssl_errstr = "OpenSSL requested a X509 lookup which didn`t arrive";
|
||||
break;
|
||||
case SSL_ERROR_SYSCALL:
|
||||
ssl_errstr = "Underlying syscall error";
|
||||
snprintf(ssl_errbuf, sizeof(ssl_errbuf), "Underlying syscall error [%s]", strerror(ERRNO));
|
||||
ssl_errstr = ssl_errbuf;
|
||||
break;
|
||||
case SSL_ERROR_ZERO_RETURN:
|
||||
ssl_errstr = "Underlying socket operation returned zero";
|
||||
|
@ -112,7 +115,7 @@ char *ssl_error_str(int err)
|
|||
default:
|
||||
ssl_errstr = "Unknown OpenSSL error (huh?)";
|
||||
}
|
||||
return (ssl_errstr);
|
||||
return ssl_errstr;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue