examples/tls: tls initialize failure without psk
authorJunyeon LEE <junyeon2.lee@samsung.com>
Wed, 10 May 2017 15:39:34 +0000 (00:39 +0900)
committerHeesub Shin <heesub.shin@samsung.com>
Tue, 23 May 2017 12:40:00 +0000 (21:40 +0900)
commit03a6a7f8662f0625a74908904cd31f90e92c2031
tree23c891ec6a5f24ad9326df86450981d018a43603
parent86ba2db41123fe4c75041eac7630f9c0af902db8
examples/tls: tls initialize failure without psk

This commit fixes tls example's minor bug.
  . without psk tls initilze failed
  . wrong parameter in examples make data abort

Change-Id: Ic2238c138430bf762293c0338e5c878dbe3dbeb3
Signed-off-by: Junyeon LEE <junyeon2.lee@samsung.com>
apps/examples/tls_client/tls_client_main.c
apps/examples/tls_server/tls_server_main.c