aboutsummaryrefslogtreecommitdiff
path: root/.patch/cpp-jwt/0002-missing-decl.patch
diff options
context:
space:
mode:
Diffstat (limited to '.patch/cpp-jwt/0002-missing-decl.patch')
-rw-r--r--.patch/cpp-jwt/0002-missing-decl.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/.patch/cpp-jwt/0002-missing-decl.patch b/.patch/cpp-jwt/0002-missing-decl.patch
new file mode 100644
index 0000000000..cd5175dbe0
--- /dev/null
+++ b/.patch/cpp-jwt/0002-missing-decl.patch
@@ -0,0 +1,13 @@
+diff --git a/include/jwt/algorithm.hpp b/include/jwt/algorithm.hpp
+index 0e3b843..1156e6a 100644
+--- a/include/jwt/algorithm.hpp
++++ b/include/jwt/algorithm.hpp
+@@ -64,6 +64,8 @@ using verify_func_t = verify_result_t (*) (const jwt::string_view key,
+ const jwt::string_view head,
+ const jwt::string_view jwt_sign);
+
++verify_result_t is_secret_a_public_key(const jwt::string_view secret);
++
+ namespace algo {
+
+ //Me: TODO: All these can be done using code generaion.