Fixed typo in Certificates.hpp.
Updated GenCErtificates.sh script to accomodate change.
This commit is contained in:
@@ -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 */];
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user