Lines Matching refs:default_nid
3205 static int tls1_check_sig_alg(SSL_CONNECTION *s, X509 *x, int default_nid) in tls1_check_sig_alg() argument
3212 if (default_nid == -1) in tls1_check_sig_alg()
3215 if (default_nid) in tls1_check_sig_alg()
3216 return sig_nid == default_nid ? 1 : 0; in tls1_check_sig_alg()
3343 int default_nid; in tls1_check_chain() local
3348 default_nid = 0; in tls1_check_chain()
3354 default_nid = NID_sha1WithRSAEncryption; in tls1_check_chain()
3359 default_nid = NID_dsaWithSHA1; in tls1_check_chain()
3364 default_nid = NID_ecdsa_with_SHA1; in tls1_check_chain()
3369 default_nid = NID_id_GostR3411_94_with_GostR3410_2001; in tls1_check_chain()
3374 default_nid = NID_id_tc26_signwithdigest_gost3410_2012_256; in tls1_check_chain()
3379 default_nid = NID_id_tc26_signwithdigest_gost3410_2012_512; in tls1_check_chain()
3383 default_nid = -1; in tls1_check_chain()
3391 if (default_nid > 0 && c->conf_sigalgs) { in tls1_check_chain()
3415 } else if (!tls1_check_sig_alg(s, x, default_nid)) { in tls1_check_chain()
3422 if (!tls1_check_sig_alg(s, sk_X509_value(chain, i), default_nid)) { in tls1_check_chain()