Lines Matching refs:sdb
1472 security_debug_ex *sdb = ex; in security_callback_debug() local
1477 rv = sdb->old_cb(s, ctx, op, bits, nid, other, ex); in security_callback_debug()
1478 if (rv == 1 && sdb->verbose < 2) in security_callback_debug()
1480 BIO_puts(sdb->out, "Security callback: "); in security_callback_debug()
1491 BIO_printf(sdb->out, "Version=%s", lookup(nid, ssl_versions, "???")); in security_callback_debug()
1507 BIO_printf(sdb->out, "%s=", nm); in security_callback_debug()
1512 BIO_puts(sdb->out, SSL_CIPHER_get_name(other)); in security_callback_debug()
1522 BIO_puts(sdb->out, cname); in security_callback_debug()
1531 BIO_puts(sdb->out, OBJ_nid2sn(sig_nid)); in security_callback_debug()
1536 BIO_printf(sdb->out, "Public key missing"); in security_callback_debug()
1542 BIO_printf(sdb->out, "%s, bits=%d", in security_callback_debug()
1556 BIO_printf(sdb->out, "%s", nm); in security_callback_debug()
1558 BIO_printf(sdb->out, "s_cb.c:security_callback_debug op=0x%x", op); in security_callback_debug()
1562 BIO_printf(sdb->out, " scheme=%s", sname); in security_callback_debug()
1570 BIO_printf(sdb->out, " digest=%s, algorithm=%s", hash_str, alg_str); in security_callback_debug()
1572 BIO_printf(sdb->out, " scheme=unknown(0x%04x)", raw_sig_code); in security_callback_debug()
1579 BIO_printf(sdb->out, ", security bits=%d", bits); in security_callback_debug()
1580 BIO_printf(sdb->out, ": %s\n", rv ? "yes" : "no"); in security_callback_debug()
1586 static security_debug_ex sdb; in ssl_ctx_security_debug() local
1588 sdb.out = bio_err; in ssl_ctx_security_debug()
1589 sdb.verbose = verbose; in ssl_ctx_security_debug()
1590 sdb.old_cb = SSL_CTX_get_security_callback(ctx); in ssl_ctx_security_debug()
1592 SSL_CTX_set0_security_ex_data(ctx, &sdb); in ssl_ctx_security_debug()