[SSSD] [PATCH] krb5 child: Use the correct type when processing OTP

Pavel Březina pbrezina at redhat.com
Wed Apr 3 09:50:56 UTC 2013


On 04/03/2013 11:33 AM, Jakub Hrozek wrote:
> I'm sorry, I missed this warning because I was reviewing the patch on a
> machine that ran krb5 1.10. When I compiled master on a machine with
> krb5 1.11 I saw this warning:
>
> /home/remote/jhrozek/devel/sssd/src/providers/krb5/krb5_child.c: In function ‘answer_otp’:
> /home/remote/jhrozek/devel/sssd/src/providers/krb5/krb5_child.c:303:5: warning: passing argument 1 of ‘sss_authtok_get_password’ from incompatible pointer type [enabled by default]
> In file included from /home/remote/jhrozek/devel/sssd/src/providers/data_provider.h:44:0,
>                   from /home/remote/jhrozek/devel/sssd/src/providers/dp_backend.h:25,
>                   from /home/remote/jhrozek/devel/sssd/src/providers/krb5/krb5_child.c:36:
> /home/remote/jhrozek/devel/sssd/src/util/authtok.h:70:9: note: expected ‘struct sss_auth_token *’ but argument is of type ‘struct sss_auth_token **’
>
> The attached patch fixes that.

Obvious ack.




More information about the sssd-devel mailing list