Skip to content

Commit 84d9d27

Browse files
author
Hanno Becker
committed
Fix unused variable warning in ssl_parse_certificate_coordinate()
This was triggered in client-only builds.
1 parent bdf75eb commit 84d9d27

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

library/ssl_tls.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6020,6 +6020,8 @@ static int ssl_parse_certificate_coordinate( mbedtls_ssl_context *ssl,
60206020
return( SSL_CERTIFICATE_SKIP );
60216021
}
60226022
}
6023+
#else
6024+
((void) authmode);
60236025
#endif /* MBEDTLS_SSL_SRV_C */
60246026

60256027
return( SSL_CERTIFICATE_EXPECTED );

0 commit comments

Comments
 (0)