Skip to content

Commit

Permalink
Addendum
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Kürzeder committed Jul 25, 2019
1 parent 70f762b commit 47bde17
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions module/CFunctions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ int CFunctions::sign_jwt_token(lua_State* lua_vm)
case JWT_ALGORITHM_HS512:
return jwt.sign(jwt::algorithm::hs512{ private_key });
case JWT_ALGORITHM_RS256:
return jwt.sign(jwt::algorithm::rs256{ "", private_key });
return jwt.sign(jwt::algorithm::rs256{ std::string(), private_key });
case JWT_ALGORITHM_RS384:
return jwt.sign(jwt::algorithm::rs384{ "", private_key });
return jwt.sign(jwt::algorithm::rs384{ std::string(), private_key });
case JWT_ALGORITHM_RS512:
return jwt.sign(jwt::algorithm::rs512{ "", private_key });
return jwt.sign(jwt::algorithm::rs512{ std::string(), private_key });
default:
break;
}
Expand Down

0 comments on commit 47bde17

Please sign in to comment.