mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-08-04 21:03:50 +00:00
Fix intantiation of Gnss_Crypto() with GnuTLS
This commit is contained in:
parent
a704c10044
commit
8ea75116ac
@ -56,6 +56,15 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
Gnss_Crypto::Gnss_Crypto()
|
||||||
|
{
|
||||||
|
#if USE_OPENSSL_FALLBACK
|
||||||
|
#else // GnuTLS
|
||||||
|
gnutls_global_init();
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
Gnss_Crypto::Gnss_Crypto(const std::string& certFilePath, const std::string& merkleTreePath)
|
Gnss_Crypto::Gnss_Crypto(const std::string& certFilePath, const std::string& merkleTreePath)
|
||||||
{
|
{
|
||||||
#if USE_OPENSSL_FALLBACK
|
#if USE_OPENSSL_FALLBACK
|
||||||
|
@ -36,7 +36,7 @@
|
|||||||
class Gnss_Crypto
|
class Gnss_Crypto
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
Gnss_Crypto() = default;
|
Gnss_Crypto();
|
||||||
Gnss_Crypto(const std::string& certFilePath, const std::string& merkleTreePath);
|
Gnss_Crypto(const std::string& certFilePath, const std::string& merkleTreePath);
|
||||||
~Gnss_Crypto();
|
~Gnss_Crypto();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user