aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/preauth/otp/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/preauth/otp/main.c')
-rw-r--r--src/plugins/preauth/otp/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/preauth/otp/main.c b/src/plugins/preauth/otp/main.c
index 2649e9a90d40..a1b681682405 100644
--- a/src/plugins/preauth/otp/main.c
+++ b/src/plugins/preauth/otp/main.c
@@ -331,7 +331,8 @@ otp_verify(krb5_context context, krb5_data *req_pkt, krb5_kdc_req *request,
/* Send the request. */
otp_state_verify((otp_state *)moddata, cb->event_context(context, rock),
- request->client, config, req, on_response, rs);
+ cb->client_name(context, rock), config, req, on_response,
+ rs);
cb->free_string(context, rock, config);
k5_free_pa_otp_req(context, req);