fix coding style and unnecessary assignment
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
diff --git a/library/ssl_tls13_server.c b/library/ssl_tls13_server.c
index 20cb5c5..a5b414e 100644
--- a/library/ssl_tls13_server.c
+++ b/library/ssl_tls13_server.c
@@ -226,13 +226,12 @@
* PSK is established or default to SHA-256 if no such algorithm is defined.
*
*/
- psk_hash_alg = PSA_ALG_SHA_256;
/*
* Search for a matching ciphersuite
*/
- for ( const unsigned char *p = cipher_suites ;
- p < cipher_suites_end ; p += 2 )
+ for ( const unsigned char *p = cipher_suites;
+ p < cipher_suites_end; p += 2 )
{
uint16_t cipher_suite;
const mbedtls_ssl_ciphersuite_t *ciphersuite_info;