diff options
author | TBK <tbk@jjtc.eu> | 2020-02-26 00:24:39 +0100 |
---|---|---|
committer | Tomáš Mráz <t8m@users.noreply.github.com> | 2020-02-26 08:16:18 +0100 |
commit | 5956cf525bfb53ed0c5cade3b58f18fde4f85c42 (patch) | |
tree | 797b3ef5e01ac77e186b3906501339b094dbfe7e /libpamc/test | |
parent | 8bd03a7dd02399cca16a4593018ab6e8d03a2ff9 (diff) | |
download | pam-5956cf525bfb53ed0c5cade3b58f18fde4f85c42.tar.gz pam-5956cf525bfb53ed0c5cade3b58f18fde4f85c42.tar.bz2 pam-5956cf525bfb53ed0c5cade3b58f18fde4f85c42.zip |
libpamc: Use ISO C99 uintX_t types instead of u_intX_t
u_intX_t is a glibcism this fixes the issue of compiling against musl libc.
Diffstat (limited to 'libpamc/test')
-rw-r--r-- | libpamc/test/regress/test.libpamc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libpamc/test/regress/test.libpamc.c b/libpamc/test/regress/test.libpamc.c index b0fff9c6..4251b4fa 100644 --- a/libpamc/test/regress/test.libpamc.c +++ b/libpamc/test/regress/test.libpamc.c @@ -5,6 +5,7 @@ */ #include <stdio.h> +#include <stdint.h> #include <string.h> #include <security/pam_client.h> #include <ctype.h> @@ -157,7 +158,7 @@ char *create_digest(int length, const char *raw) return temp_packet.buffer; } -void packet_to_prompt(pamc_bp_t *prompt_p, u_int8_t control, +void packet_to_prompt(pamc_bp_t *prompt_p, uint8_t control, struct internal_packet *packet) { PAM_BP_RENEW(prompt_p, control, packet->at); |