mirror of
				https://github.com/Mbed-TLS/mbedtls.git
				synced 2025-11-03 20:33:16 +03:00 
			
		
		
		
	Fix a typo
Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
This commit is contained in:
		@@ -3405,7 +3405,7 @@ static int ssl_write_client_key_exchange( mbedtls_ssl_context *ssl )
 | 
				
			|||||||
            return( MBEDTLS_ERR_SSL_HW_ACCEL_FAILED );
 | 
					            return( MBEDTLS_ERR_SSL_HW_ACCEL_FAILED );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        /* Export the public part of the ECDH private key from PSA.
 | 
					        /* Export the public part of the ECDH private key from PSA.
 | 
				
			||||||
         * The export format is an ECPoint structre as expected by TLS,
 | 
					         * The export format is an ECPoint structure as expected by TLS,
 | 
				
			||||||
         * but we just need to add a length byte before that. */
 | 
					         * but we just need to add a length byte before that. */
 | 
				
			||||||
        unsigned char *own_pubkey = ssl->out_msg + header_len + 1;
 | 
					        unsigned char *own_pubkey = ssl->out_msg + header_len + 1;
 | 
				
			||||||
        unsigned char *end = ssl->out_msg + MBEDTLS_SSL_OUT_CONTENT_LEN;
 | 
					        unsigned char *end = ssl->out_msg + MBEDTLS_SSL_OUT_CONTENT_LEN;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user