Fixed typo in Certificates.hpp.

Updated GenCErtificates.sh script to accomodate change.
This commit is contained in:
2019-09-10 10:51:32 +01:00
parent 152bc721e1
commit 3cc7032cf4
2 changed files with 2 additions and 2 deletions

View File

@@ -21,4 +21,4 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
extern uint8_t attestCert[/* attestation certificate size */];
extern uint8_t attestPrivKey[/* attestation private key size */];
extern uint8_t attestPubKey[/* attestion public key size */];
extern uint8_t attestPubKey[/* attestation public key size */];

View File

@@ -28,4 +28,4 @@ pubSize="$(printf "%s" "${pubkey}" | wc -w)"
printf "%s\n" "${pubkey}" | sed -e '/\/\/ Generate public key here/{r/dev/stdin
d }' Keys/Certificates.cpp.template.2 > Certificates.cpp
sed -e "s/\\/\\* attestation certificate size \\*\\//${certificateSize}/; s/\\/\\* attestation private key size \\*\\//${privSize}/; s/\\/\\* attestion public key size \\*\\//${pubSize}/" Certificates.hpp.template > Certificates.hpp
sed -e "s/\\/\\* attestation certificate size \\*\\//${certificateSize}/; s/\\/\\* attestation private key size \\*\\//${privSize}/; s/\\/\\* attestation public key size \\*\\//${pubSize}/" Certificates.hpp.template > Certificates.hpp