Election-Tech-Initiative / electionguard-cpp

A C++ implementation of ElectionGuard specification focused on encryption components.
https://www.electionguard.vote/
MIT License
23 stars 26 forks source link

When creating placeholders set the IsPlaceholder to true. #317

Closed SteveMaier-IRT closed 2 years ago

SteveMaier-IRT commented 2 years ago

Unit test added to make sure the value is read properly.

Issue

Link your PR to an issue

Fixes #316

Description

During encryption the placeholders will getting a flag set to false to tell that they were placeholders.

Testing

C++ unit test added to make sure things failed and then passed.