diff --git a/libretroshare/src/pqi/authgpg.cc b/libretroshare/src/pqi/authgpg.cc index 2e3ab1c34..1f2bd198d 100644 --- a/libretroshare/src/pqi/authgpg.cc +++ b/libretroshare/src/pqi/authgpg.cc @@ -34,7 +34,7 @@ //#define GPG_DEBUG 1 -// initialisation du pointeur de singleton à zéro +// initialisation du pointeur de singleton à zéro AuthGPG *AuthGPG::instance_gpg = new AuthGPG(); /* Turn a set of parameters into a string */ @@ -94,7 +94,7 @@ gpg_error_t pgp_pwd_callback(void *hook, const char *uid_hint, const char *passp #endif text = ""; } else { - text = rsicontrol->getNotify().askForPassword(uid_hint); + text = rsicontrol->getNotify().askForPassword(uid_hint, prev_was_bad); #ifdef GPG_DEBUG std::cerr << "pgp_pwd_callback() got GPG passwd from gui." << std::endl; #endif