aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/net/SecureSocket.cpp
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@ubuntu.com>2018-06-04 21:05:54 -0400
committerLibravatarUnit 193 <unit193@ubuntu.com>2018-06-04 21:05:54 -0400
commit4d1efbbd1aa971401202bb1bd436742c57170980 (patch)
treea3eb68d768223982546ee6bf35bd533b1e0905bc /src/lib/net/SecureSocket.cpp
parent5f6625ebd476340745d578b08620dbe4d27d1a9b (diff)
parent4a8bfd06e73d7f051f0b39e19e57616c7bbb8ad1 (diff)
Update upstream source from tag 'upstream/2.1.1+dfsg'
Update to upstream version '2.1.1+dfsg' with Debian dir fae8a5463c58b9ee303cb04f24606a56a5a08fba
Diffstat (limited to 'src/lib/net/SecureSocket.cpp')
-rw-r--r--src/lib/net/SecureSocket.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/net/SecureSocket.cpp b/src/lib/net/SecureSocket.cpp
index 1fefae0..6670f5f 100644
--- a/src/lib/net/SecureSocket.cpp
+++ b/src/lib/net/SecureSocket.cpp
@@ -23,6 +23,7 @@
#include "mt/Lock.h"
#include "arch/XArch.h"
#include "base/Log.h"
+#include "common/DataDirectories.h"
#include <openssl/ssl.h>
#include <openssl/err.h>
@@ -699,7 +700,7 @@ SecureSocket::verifyCertFingerprint()
String trustedServersFilename;
trustedServersFilename = barrier::string::sprintf(
"%s/%s/%s",
- ARCH->getProfileDirectory().c_str(),
+ DataDirectories::profile().c_str(),
kFingerprintDirName,
kFingerprintTrustedServersFilename);