net/tls: fix log flooding and data aborts
authorJunyeon LEE <junyeon2.lee@samsung.com>
Thu, 6 Apr 2017 08:12:22 +0000 (17:12 +0900)
committerHeesub Shin <heesub.shin@samsung.com>
Tue, 18 Apr 2017 03:02:08 +0000 (12:02 +0900)
commit10c020f0e5f2e780be65fe20d59c52a2a84993f6
treeb2051cf3feec709f821e9f539d0566cf3c2e9f8b
parentfbe3d749de9248d1509dd9fd3e1d70560ac1bd24
net/tls: fix log flooding and data aborts

This commit fixes two minor tls issues:
 . Log flooding when CONFIG_HW_DH_PARAM is enabled
 . Data abort at security APIs when called before see_init()

Change-Id: Ied77bc66adc732b21c472a9005fb28fe3eb421e3
Signed-off-by: Junyeon LEE <junyeon2.lee@samsung.com>
os/net/tls/see_api.c
os/net/tls/ssl_srv.c