Skip to content

Commit

Permalink
Print the attributes EAP-TLS extension attribute we're not going to add
Browse files Browse the repository at this point in the history
  • Loading branch information
arr2036 committed Mar 30, 2015
1 parent db21433 commit b4c8812
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/main/tls.c
Expand Up @@ -1893,7 +1893,12 @@ int cbtls_verify(int ok, X509_STORE_CTX *ctx)
}

vp = pairmake(talloc_ctx, certs, attribute, value, T_OP_ADD);
rdebug_pair_list(L_DBG_LVL_2, request, vp, NULL);
if (!vp) {
RDEBUG3("Skipping %s += '%s'. Define %s in the server dictionary "
"if you require this attribute", attribute, value, attribute);
} else {
rdebug_pair_list(L_DBG_LVL_2, request, vp, NULL);
}
}

BIO_free_all(out);
Expand Down

0 comments on commit b4c8812

Please sign in to comment.