mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-10-12 21:40:57 -04:00
switched rs_usernp into rs_useopenpgpsdk
This commit is contained in:
parent
126ce6607e
commit
ed0105f44c
3 changed files with 15 additions and 15 deletions
|
@ -8,10 +8,10 @@
|
|||
|
||||
#include "pgp/pgpkeyutil.h"
|
||||
#include "pgp/rscertificate.h"
|
||||
#ifdef USE_RNP_LIB
|
||||
#include "pgp/rnppgphandler.h"
|
||||
#else
|
||||
#ifdef USE_OPENPGPSDK
|
||||
#include "pgp/openpgpsdkhandler.h"
|
||||
#else
|
||||
#include "pgp/rnppgphandler.h"
|
||||
#endif
|
||||
|
||||
#include "friendserver.h"
|
||||
|
@ -397,10 +397,10 @@ FriendServer::FriendServer(const std::string& base_dir,const std::string& listen
|
|||
std::string pgp_private_keyring_path = RsDirUtil::makePath(base_dir,"pgp_private_keyring") ; // not used.
|
||||
std::string pgp_trustdb_path = RsDirUtil::makePath(base_dir,"pgp_trustdb") ; // not used.
|
||||
|
||||
#ifdef USE_RNP_LIB
|
||||
mPgpHandler = new RNPPGPHandler(pgp_public_keyring_path,pgp_private_keyring_path,pgp_trustdb_path,pgp_lock_path);
|
||||
#else
|
||||
#ifdef USE_OPENPGPSDK
|
||||
mPgpHandler = new OpenPGPSDKHandler(pgp_public_keyring_path,pgp_private_keyring_path,pgp_trustdb_path,pgp_lock_path);
|
||||
#else
|
||||
mPgpHandler = new RNPPGPHandler(pgp_public_keyring_path,pgp_private_keyring_path,pgp_trustdb_path,pgp_lock_path);
|
||||
#endif
|
||||
|
||||
// Random bias. Should be cryptographically safe.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue