summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2013-04-03 11:31:58 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-04-03 13:25:29 +0200
commit04689cbf9c09d68ed5640919757d4bef292a9c57 (patch)
tree399e1cb4e59b6bfd504072f39f7e44bea1018f77
parent3bfb5e2c7fb452a6a2809829213148870d49d4e0 (diff)
downloadsssd-04689cbf9c09d68ed5640919757d4bef292a9c57.tar.gz
sssd-04689cbf9c09d68ed5640919757d4bef292a9c57.tar.xz
sssd-04689cbf9c09d68ed5640919757d4bef292a9c57.zip
krb5 child: Use the correct type when processing OTP
-rw-r--r--src/providers/krb5/krb5_child.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/krb5/krb5_child.c b/src/providers/krb5/krb5_child.c
index 4ccd75d26..425effb17 100644
--- a/src/providers/krb5/krb5_child.c
+++ b/src/providers/krb5/krb5_child.c
@@ -300,7 +300,7 @@ static krb5_error_code answer_otp(krb5_context ctx,
}
/* Validate our assumptions about the contents of authtok. */
- ret = sss_authtok_get_password(&kr->pd->authtok, &pwd, &len);
+ ret = sss_authtok_get_password(kr->pd->authtok, &pwd, &len);
if (ret != EOK)
goto done;