Handle null c strings correctly.
This commit is contained in:
1 parent
fb34bc2e19
commit
7ed92656fa
3 files changed
+21
-7
No files matched your search
@@ -27,3 +27,5 @@ std::string gen_token(
|
||||
const std::string &priv_key,
|
||||
const std::chrono::time_point<std::chrono::system_clock> &issue_time,
|
||||
const std::chrono::time_point<std::chrono::system_clock> &expr_time);
|
||||
|
||||
std::string toString(const char* c_str);
|
||||
Reference in new issue
Block a user