File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1142,9 +1142,9 @@ namespace jwt {
11421142 : secret(helper::raw2bn(key).release()), md(md), alg_name(std::move(name)) {}
11431143 hmacsha (const hmacsha& other) : secret(BN_dup(other.secret)), md(other.md), alg_name(other.alg_name) {}
11441144 hmacsha (hmacsha&& other) : secret(nullptr ), md(std::move(other.md)), alg_name(std::move(other.alg_name)) {
1145- if (BN_copy (other.secret , secret) == nullptr ) throw std::runtime_error (" failed to copy BN" );
1145+ if (BN_copy (other.secret , secret) == nullptr ) throw std::runtime_error (" failed to copy BN" );
11461146 }
1147- ~hmacsha (){ BN_free (secret); }
1147+ ~hmacsha () { BN_free (secret); }
11481148 hmacsha& operator =(const hmacsha& other) = delete ;
11491149 hmacsha& operator =(hmacsha&& other) = delete ;
11501150
You can’t perform that action at this time.
0 commit comments