From d00a33ca14f9f87b263c5d59c060cfaee64741b1 Mon Sep 17 00:00:00 2001 From: joss17 Date: Wed, 2 Sep 2009 19:20:46 +0000 Subject: [PATCH] add warning log info git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1585 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- libretroshare/src/pqi/authssl.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libretroshare/src/pqi/authssl.cc b/libretroshare/src/pqi/authssl.cc index 5eae87485..013450c55 100644 --- a/libretroshare/src/pqi/authssl.cc +++ b/libretroshare/src/pqi/authssl.cc @@ -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)