We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6f2f01 commit b35a946Copy full SHA for b35a946
include/jwt-cpp/jwt.h
@@ -1146,9 +1146,9 @@ namespace jwt {
1146
: secret(helper::raw2bn(key).release()), md(md), alg_name(std::move(name)) {}
1147
hmacsha(const hmacsha& other) : secret(BN_dup(other.secret)), md(other.md), alg_name(other.alg_name) {}
1148
hmacsha(hmacsha&& other) : secret(nullptr), md(std::move(other.md)), alg_name(std::move(other.alg_name)) {
1149
- if(BN_copy(other.secret, secret) == nullptr) throw std::runtime_error("failed to copy BN");
+ if (BN_copy(other.secret, secret) == nullptr) throw std::runtime_error("failed to copy BN");
1150
}
1151
- ~hmacsha(){ BN_free(secret); }
+ ~hmacsha() { BN_free(secret); }
1152
hmacsha& operator=(const hmacsha& other) = delete;
1153
hmacsha& operator=(hmacsha&& other) = delete;
1154
0 commit comments