clang compiler warnings removed.
FossilOrigin-Name: 179e90601fb6ee448cc57a7c7f5fe503b32181072f0db1171cd5481d6a3c06f4
This commit is contained in:
parent
be45c3cef0
commit
371dfa3b13
@ -404,7 +404,7 @@ int dtls_openssl_psk_key2bn(const char *psk_key, unsigned char *psk, unsigned in
|
||||
psk_len = BN_bn2bin(bn, psk);
|
||||
BN_free(bn);
|
||||
|
||||
if (psk_len < 0)
|
||||
if (psk_len <= 0)
|
||||
goto out_err;
|
||||
return psk_len;
|
||||
out_err:
|
||||
|
Loading…
Reference in New Issue
Block a user