Searched refs:MAX_CERT_DEPTH (Results 1 - 2 of 2) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openvpn-2.3.1/src/openvpn/
H A Dssl_verify.h53 #define MAX_CERT_DEPTH 16 macro
62 struct cert_hash *ch[MAX_CERT_DEPTH]; /**< Array of certificate hashes */
H A Dssl_verify.c196 if (error_depth >= 0 && error_depth < MAX_CERT_DEPTH)
218 for (i = 0; i < MAX_CERT_DEPTH; ++i)
235 for (i = 0; i < MAX_CERT_DEPTH; ++i)
247 for (i = 0; i < MAX_CERT_DEPTH; ++i)
275 for (i = 0; i < MAX_CERT_DEPTH; ++i)
638 if (cert_depth >= MAX_CERT_DEPTH)
640 msg (D_TLS_ERRORS, "TLS Error: Convoluted certificate chain detected with depth [%d] greater than %d", cert_depth, MAX_CERT_DEPTH);

Completed in 101 milliseconds