add warning log info

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1585 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
joss17 2009-09-02 19:20:46 +00:00
parent 055f9141a6
commit d00a33ca14

View File

@ -425,6 +425,9 @@ int AuthSSL::InitAuth(const char *cert_file, const char *priv_key_file,
std::cerr << "AuthSSL::InitAuth()";
std::cerr << std::endl;
#endif
if ( passwd == NULL || strlen(passwd) == 0) {
std::cerr << "Warning : AuthSSL::InitAuth passwd empty." << std::endl;
}
static int initLib = 0;
if (!initLib)