From: Klas Lindfors Date: Fri, 9 Nov 2012 13:19:35 +0000 (+0100) Subject: set the ndef_type to 0 X-Git-Tag: v1.10.0~33 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a960fb12b7c84d6c23b4292fe5b7911424e05fec;p=yubikey-personalization set the ndef_type to 0 --- diff --git a/tests/test_args_to_config.c b/tests/test_args_to_config.c index 3fcf248..b129a48 100644 --- a/tests/test_args_to_config.c +++ b/tests/test_args_to_config.c @@ -114,7 +114,7 @@ int _test_config (YKP_CONFIG *cfg, YK_STATUS *st, int argc, char **argv) /* Options */ char *salt = NULL; char ndef[128]; - char ndef_type = NULL; + char ndef_type = 0; bool zap = false; int rc; diff --git a/ykpersonalize.c b/ykpersonalize.c index ae1e595..8d9ed42 100644 --- a/ykpersonalize.c +++ b/ykpersonalize.c @@ -66,7 +66,7 @@ int main(int argc, char **argv) /* Options */ char *salt = NULL; char ndef_string[128] = {0}; - char ndef_type; + char ndef_type = 0; bool zap = false; bool error = false;