Handle null c strings correctly.

This commit is contained in:
jimmy committed 2022-04-15 01:50:26 +00:00
1 parent fb34bc2e19
commit 7ed92656fa
3 files changed
+21 -7

No files matched your search

+2
View File
@@ -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);