mirror of
https://github.com/OpenVPN/openvpn3.git
synced 2024-09-20 12:12:15 +02:00
8ea9b68138
Errors fixed from gcc: openvpn/openssl/pki/extpki.hpp: In static member function ‘static ECDSA_SIG* openvpn::ExternalPKIECImpl::ecdsa_sign_sig(const unsigned char*, int, const BIGNUM*, const BIGNUM*, EC_KEY*)’: openvpn/openssl/pki/extpki.hpp:366:11: warning: variable ‘out’ set but not used [-Wunused-but-set-variable] From Converity scan: >>> CID 351295: Null pointer dereferences (REVERSE_INULL) >>> Null-checking "rsa_meth" suggests that it may be null, but it has already been dereferenced on all paths leading to the check. 117 if (rsa_meth) 118 RSA_meth_free(rsa_meth); 119 } Remove also check from sigout.size() > siglen. The buffer will throw an exception if the decoded bytes do not fit. |
||
---|---|---|
.. | ||
bio | ||
crypto | ||
pki | ||
sign | ||
ssl | ||
util | ||
compat.hpp |