mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
mbedtls-x509: coverity: remove needless check
ip can't be NULL, it's set to the address of another object.
This commit is contained in:
parent
a00703f500
commit
6e9c25d1f7
1 changed files with 0 additions and 3 deletions
|
@ -220,9 +220,6 @@ lws_tls_mbedtls_cert_info(mbedtls_x509_crt *x509, enum lws_tls_cert_info type,
|
|||
|
||||
buf->ns.len = 0;
|
||||
|
||||
if (!ip)
|
||||
return 1;
|
||||
|
||||
while (ip) {
|
||||
if (akid.keyIdentifier.MBEDTLS_PRIVATE(tag) != MBEDTLS_ASN1_OCTET_STRING ||
|
||||
!ip->MBEDTLS_PRIVATE(buf).MBEDTLS_PRIVATE(p) ||
|
||||
|
|
Loading…
Add table
Reference in a new issue