examples/tls_server: make retry count configurable
authorJunyeon Lee <junyeon2.lee@samsung.com>
Fri, 17 Mar 2017 08:35:18 +0000 (17:35 +0900)
committerHeesub Shin <heesub.shin@samsung.com>
Mon, 17 Apr 2017 10:56:46 +0000 (19:56 +0900)
commit3a4fca63236e92884d24ab43f5692bd8931a14ab
tree37fe4a802df8489c3405409b148638629c4c038b
parentc3aea1098ec442af4ae5711e5513a79a116ac7d3
examples/tls_server: make retry count configurable

The number of retry counts was constant and hardcoded, not allowing to
change at runtime. Let the TLS server use the value passed through the
command line argument when it does handshake. For example:

    $ tls_server retry=100

Change-Id: I972c012777d66163902c736ef182820cc36783c2
Signed-off-by: Junyeon Lee <junyeon2.lee@samsung.com>
apps/examples/tls_server/tls_server_main.c