Created by
GEORGE LIU
| diff --git src/sslpp/sslcontext.cpp src/sslpp/sslcontext.cpp
index 00ea34d..b56b71f 100644
--- src/sslpp/sslcontext.cpp
+++ src/sslpp/sslcontext.cpp
@@ -1180,7 +1180,7 @@ SSLContext *SSLContext::config(const XmlNode *pNode)
const char *pDHParam = pNode->getChildValue("DHParam");
if (pDHParam)
{
- if (ConfigCtx::getCurConfigCtx()->getValidPath(achCAPath,
pDHParam,
+ if (ConfigCtx::getCurConfigCtx()->getValidFile(achCAPath,
pDHParam,
"DH Parameter file") != 0)
{
ConfigCtx::getCurConfigCtx()->logWarn("invalid path for
DH paramter: %s, ignore and use built-in DH parameter!",
|