projects
/
platform
/
core
/
security
/
webauthn-ble.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a367695
)
Fix release build
48/308348/1
author
Krzysztof Jackiewicz
<k.jackiewicz@samsung.com>
Thu, 21 Mar 2024 15:13:09 +0000
(16:13 +0100)
committer
Krzysztof Jackiewicz
<k.jackiewicz@samsung.com>
Thu, 21 Mar 2024 15:29:40 +0000
(16:29 +0100)
Change-Id: I9582a453377f1051a4773426478bd84130a7e9b1
srcs/base64.cpp
patch
|
blob
|
history
diff --git
a/srcs/base64.cpp
b/srcs/base64.cpp
index 3b3caee3c82194822324694a49a5100dcb1e4cc7..71c78286a7929ee963518b75571558b780d8764b 100644
(file)
--- a/
srcs/base64.cpp
+++ b/
srcs/base64.cpp
@@
-23,7
+23,7
@@
std::string Base64UrlEncode(BufferView buff)
{
size_t len = (buff.size() + 2) / 3 * 4;
std::string res(len, '\0');
- auto outLen =
+
[[maybe_unused]]
auto outLen =
EVP_EncodeBlock(reinterpret_cast<uint8_t *>(res.data()), buff.data(), buff.size());
assert(len == static_cast<size_t>(outLen));
// Remove padding