BIGNUM *x = NULL, *y = NULL;
if (EAP_PWD_GET_EXCHANGE(hdr) != EAP_PWD_EXCH_ID) {
- RDEBUG2("PWD exchange is incorrect, Not ID");
+ REDEBUG("PWD exchange is incorrect, Not ID");
return RLM_MODULE_INVALID;
}
case PWD_STATE_COMMIT:
if (EAP_PWD_GET_EXCHANGE(hdr) != EAP_PWD_EXCH_COMMIT) {
- RDEBUG2("PWD exchange is incorrect, not commit!");
+ REDEBUG("PWD exchange is incorrect, not commit!");
return RLM_MODULE_INVALID;
}
* Process the peer's commit and generate the shared key, k
*/
if (process_peer_commit(request, session, in, in_len, inst->bnctx)) {
- RDEBUG2("Failed processing peer's commit");
+ REDEBUG("Failed processing peer's commit");
return RLM_MODULE_FAIL;
}
}
if (EAP_PWD_GET_EXCHANGE(hdr) != EAP_PWD_EXCH_CONFIRM) {
- RDEBUG2("PWD exchange is incorrect, not commit");
+ REDEBUG("PWD exchange is incorrect, not commit");
return RLM_MODULE_INVALID;
}
if (compute_peer_confirm(request, session, peer_confirm, inst->bnctx)) {
break;
default:
- RDEBUG2("Unknown PWD state");
+ REDEBUG("Unknown PWD state");
return RLM_MODULE_FAIL;
}