diff options
author | Jay Satiro <raysatiro@yahoo.com> | 2015-04-02 01:51:07 -0400 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2015-04-02 17:18:42 +0200 |
commit | 0b5efa57ad7118735659542c11e725666447bf5f (patch) | |
tree | 03e72af6d9afcdc6385d059372749a9536cadce9 /tests/data/test1069 | |
parent | 21e82bd635124881a4a2ac08b3b9b28efe98afee (diff) |
cyassl: Fix certificate load check
SSL_CTX_load_verify_locations can return negative values on fail,
therefore to check for failure we check if load is != 1 (success)
instead of if load is == 0 (failure), the latter being incorrect given
that behavior.
Diffstat (limited to 'tests/data/test1069')
0 files changed, 0 insertions, 0 deletions