Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small fixes #241

Merged
merged 3 commits into from
Dec 14, 2024
Merged

Small fixes #241

merged 3 commits into from
Dec 14, 2024

Conversation

khevessy
Copy link
Contributor

Hi,
couple of small changes:

  1. Pretty sure by this - vanetza::security::v3::save_certificate_to_file() has certificate parameter const in header but not const in implementation. Adding it there requires that vanetza::security::v3::serialize() for certificate has this parameter also const. Further, small comment fix.
  2. Small cleanup - remove <future> header inclusion from vanetza/security/v2/sign_service.cpp and vanetza/security/v2/signature.hpp as it seems not needed here, just in vanetza/security/signature.hpp. This was just for my convenience when building library for C++/CLI wrapper, since that does not support <future> and I wanted it in as few places as possible. Please ignore this if you think it is not needed.

@riebl
Copy link
Owner

riebl commented Dec 13, 2024

An almost perfect PR :-)
Please leave #include <future> in for v2::DeferredSignService.

@khevessy
Copy link
Contributor Author

I was trying really hard :D
Hope now it is ok.

@riebl riebl merged commit 9a2af6b into riebl:master Dec 14, 2024
4 checks passed
@khevessy khevessy deleted the small_fixes branch December 14, 2024 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants