Skip to content

Commit

Permalink
tls_psk_credentials: const argument references
Browse files Browse the repository at this point in the history
  • Loading branch information
franku committed Sep 20, 2018
1 parent 9512002 commit 16a07b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/lib/tls_psk_credentials.h
Expand Up @@ -31,7 +31,7 @@ class PskCredentials
public:
PskCredentials() {}

PskCredentials(std::string &identity, std::string &psk)
PskCredentials(const std::string &identity, const std::string &psk)
: identity_(identity)
, psk_(psk) {
Dmsg2(100, "Construct PskCredentials: id=%s, passwd=%s\n", identity_.c_str(), psk_.c_str());
Expand Down

0 comments on commit 16a07b0

Please sign in to comment.