Ecore_con: preventing _init_con_ssl_init_count to go below zero.
authorSrivardhan Hebbar <sri.hebbar@samsung.com>
Wed, 4 Feb 2015 13:09:24 +0000 (14:09 +0100)
committerCedric BAIL <cedric@osg.samsung.com>
Wed, 4 Feb 2015 13:09:38 +0000 (14:09 +0100)
commit6fedf6819a1c6aa9b7bfb205a591788fa3cbd7a3
tree3671f3041c2118eabb4aaf6f5b8795cb4add4b4c
parent7143bd7fb5196f97003216528bfbfb8bec4826bd
Ecore_con: preventing _init_con_ssl_init_count to go below zero.

Summary: _init_con_ssl_init_count should not go below zero. This can occur if a developer mistakenly calls ssl shutdown before calling ssl init. So adding the check to prevent this.

Reviewers: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1925

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
src/lib/ecore_con/ecore_con_ssl.c