Fix static analysis issue 01/238801/3
authorTomasz Swierczek <t.swierczek@samsung.com>
Fri, 17 Jul 2020 09:35:10 +0000 (11:35 +0200)
committerTomasz Swierczek <t.swierczek@samsung.com>
Fri, 17 Jul 2020 10:48:22 +0000 (12:48 +0200)
commit662d5009f51115f078998dcec2c1252fc5ebace6
tree794d54f61141b7d2cf3f24a82e1b796b7d4fd61d
parentcd5ade8ce65240e9016e0d427f0ee2d6299cc6c3
Fix static analysis issue

src/key.c: openssl_password_cb

according to openssl examples, password is considered a null-terminated string
(https://www.openssl.org/docs/man1.1.1/man3/SSL_CTX_set_default_passwd_cb.html)

Change-Id: I3b2fc13043e4adb7f5885d4140453297311e74f3
src/key.c