mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 11:05:54 +00:00
Fix unused function warning
This commit is contained in:
@@ -305,14 +305,6 @@ static DH* handleTmpDh (SSL* ssl, int is_export, int iKeyLength)
|
||||
|
||||
#if ! defined (RIPPLE_MAIN_PART) || RIPPLE_MAIN_PART == 4
|
||||
|
||||
// This is for PeerDoor and WSDoor
|
||||
// Generate DH for SSL connection.
|
||||
static DH* handleTmpDh (SSL* ssl, int is_export, int iKeyLength)
|
||||
{
|
||||
// VFALCO TODO eliminate this horrendous dependency on theApp and LocalCredentials
|
||||
return 512 == iKeyLength ? getApp ().getLocalCredentials ().getDh512 () : getApp ().getLocalCredentials ().getDh1024 ();
|
||||
}
|
||||
|
||||
#include "src/cpp/ripple/ripple_UniqueNodeList.cpp"
|
||||
#include "src/cpp/ripple/ripple_InboundLedger.cpp"
|
||||
#include "src/cpp/ripple/ripple_SqliteDatabase.cpp"
|
||||
|
||||
Reference in New Issue
Block a user