summaryrefslogtreecommitdiff
path: root/ace/SSL/SSL_Context.cpp
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2001-09-28 19:47:19 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2001-09-28 19:47:19 +0000
commitec1f1ebc5a0575d42a44c70ad884b6137c24acfe (patch)
tree15a86617b4dd35945e2e9fdb70e0c7fec0deda66 /ace/SSL/SSL_Context.cpp
parentb423ffd8aa33aaf0cd88e2f896a587b7799c5f89 (diff)
downloadATCD-ec1f1ebc5a0575d42a44c70ad884b6137c24acfe.tar.gz
ChangeLogTag:Fri Sep 28 12:46:25 2001 Ossama Othman <ossama@uci.edu>
Diffstat (limited to 'ace/SSL/SSL_Context.cpp')
-rw-r--r--ace/SSL/SSL_Context.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/ace/SSL/SSL_Context.cpp b/ace/SSL/SSL_Context.cpp
index 419bc00e790..ccecca3ad86 100644
--- a/ace/SSL/SSL_Context.cpp
+++ b/ace/SSL/SSL_Context.cpp
@@ -327,6 +327,9 @@ ACE_SSL_Context::seed_file (const char * seed_file, long bytes)
void
ACE_SSL_Context::report_error (unsigned long error_code)
{
+ if (error_code == 0)
+ return;
+
ACE_TCHAR error_string[256];
(void) ::ERR_error_string (error_code, error_string);