URL:
https://github.com/SSSD/sssd/pull/945
Title: #945: p11_child: add 'soft_ocsp' and 'soft_crl options
alexey-tikhonov commented:
"""
Coverity complains:
```
Error: CLANG_WARNING:
sssd-2.2.3/src/p11_child/p11_child_openssl.c:779:17: warning: Value stored to
'ret' is never read
# ret = EINVAL;
# ^ ~~~~~~
sssd-2.2.3/src/p11_child/p11_child_openssl.c:779:17: note: Value stored to 'ret'
is never read
# ret = EINVAL;
# ^ ~~~~~~
# 777| ret,
# 778| X509_verify_cert_error_string(ret));
# 779|-> ret = EINVAL;
# 780| goto done;
# 781| }
Error: CLANG_WARNING:
sssd-2.2.3/src/p11_child/p11_child_openssl.c:793:13: warning: Value stored to
'ret' is never read
# ret = EINVAL;
# ^ ~~~~~~
sssd-2.2.3/src/p11_child/p11_child_openssl.c:793:13: note: Value stored to 'ret'
is never read
# ret = EINVAL;
# ^ ~~~~~~
# 791| DEBUG(SSSDBG_OP_FAILURE, "X509_verify_cert failed
[%d][%s].\n",
# 792| ret, X509_verify_cert_error_string(ret));
# 793|-> ret = EINVAL;
# 794| goto done;
# 795| }
```
"""
See the full comment at
https://github.com/SSSD/sssd/pull/945#issuecomment-559205920