Skip to content

Commit

Permalink
security: DummySignService copies signer info
Browse files Browse the repository at this point in the history
Avoids trouble when value passed at construction goes out of scope.
  • Loading branch information
riebl committed Aug 20, 2023
1 parent 9691ab5 commit fc6d69e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vanetza/security/v2/sign_service.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class DummySignService : public SignService

private:
const Runtime& m_runtime;
const SignerInfo& m_signer_info;
SignerInfo m_signer_info;
};

} // namespace v2
Expand Down

0 comments on commit fc6d69e

Please sign in to comment.