mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-06-24 20:01:28 +00:00
Document psk_list
parameter of ssl_server2 example program
This commit is contained in:
parent
c028afba53
commit
d0d01c584e
|
@ -220,8 +220,11 @@ int main( void )
|
||||||
#endif /* MBEDTLS_SSL_ASYNC_PRIVATE */
|
#endif /* MBEDTLS_SSL_ASYNC_PRIVATE */
|
||||||
|
|
||||||
#if defined(MBEDTLS_KEY_EXCHANGE__SOME__PSK_ENABLED)
|
#if defined(MBEDTLS_KEY_EXCHANGE__SOME__PSK_ENABLED)
|
||||||
#define USAGE_PSK \
|
#define USAGE_PSK \
|
||||||
" psk=%%s default: \"\" (in hex, without 0x)\n" \
|
" psk=%%s default: \"\" (in hex, without 0x)\n" \
|
||||||
|
" psk_list=%%s default: \"\"\n" \
|
||||||
|
" A list of (PSK identity, PSK value) pairs in (hex format, without 0x)\n" \
|
||||||
|
" id1,psk1[,id2,psk2[,...]]\n" \
|
||||||
" psk_identity=%%s default: \"Client_identity\"\n"
|
" psk_identity=%%s default: \"Client_identity\"\n"
|
||||||
#else
|
#else
|
||||||
#define USAGE_PSK ""
|
#define USAGE_PSK ""
|
||||||
|
|
Loading…
Reference in a new issue