From 88953b623d2065db56bb8f700204c9302788da8b Mon Sep 17 00:00:00 2001 From: Azim Khan Date: Thu, 22 Feb 2018 17:46:48 +0000 Subject: [PATCH] Fix comment explaining ECDSA public key format --- programs/x509/cert_write.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/x509/cert_write.c b/programs/x509/cert_write.c index be867adcb..2dca1a180 100644 --- a/programs/x509/cert_write.c +++ b/programs/x509/cert_write.c @@ -447,7 +447,7 @@ int load_pubkey_from_remote( const char * remote_info, mbedtls_pk_context * ctx int key_idx = 0, offset = 0, ret = 0; const char * serial_port = NULL; unsigned char func_buffer[2]; /* Op code: 1 + key Id: 1 */ - unsigned char pub_key_buf[65]; /* ECDSA Pub key: 64 + ASN.1 overhead: 1 */ + unsigned char pub_key_buf[65]; /* ECDSA Pub key: 64 + EC octet string format tag: 1 */ size_t rx_len = 0; static mbedtls_ecp_keypair ecp_key;