summaryrefslogtreecommitdiff
path: root/ace/SSL
diff options
context:
space:
mode:
Diffstat (limited to 'ace/SSL')
-rw-r--r--ace/SSL/SSL_Context.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ace/SSL/SSL_Context.cpp b/ace/SSL/SSL_Context.cpp
index c7a27309619..32820e4f025 100644
--- a/ace/SSL/SSL_Context.cpp
+++ b/ace/SSL/SSL_Context.cpp
@@ -461,7 +461,7 @@ ACE_SSL_Context::dh_params (const char *file_name,
DH *ret=0;
FILE *dhfp = 0;
- if ((dhfp = ACE_OS::fopen (this->dh_params_.file_name (), ACE_TEXT ("r"))) == NULL)
+ if ((dhfp = ACE_OS::fopen (ACE_TEXT_CHAR_TO_TCHAR(this->dh_params_.file_name ()), ACE_TEXT ("r"))) == NULL)
return -1;
ret = PEM_read_DHparams (dhfp, NULL, NULL, NULL);