From: Klas Lindfors Date: Tue, 27 Mar 2012 08:18:02 +0000 (+0200) Subject: use yk_write_command instead of yk_write_config X-Git-Tag: v1.7.0~1^2~60 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58336cdc0c539ab5b5949773155116c6ea2350be;p=yubikey-personalization use yk_write_command instead of yk_write_config --- diff --git a/ykpersonalize.c b/ykpersonalize.c index 57490e9..c60e826 100644 --- a/ykpersonalize.c +++ b/ykpersonalize.c @@ -215,9 +215,9 @@ int main(int argc, char **argv) if (verbose) printf("Attempting to write configuration to the yubikey..."); - if (!yk_write_config(yk, - ykp_core_config(cfg), ykp_config_num(cfg), - use_access_code ? access_code : NULL)) { + if (!yk_write_command(yk, + ykp_core_config(cfg), ykp_command(cfg), + use_access_code ? access_code : NULL)) { if (verbose) printf(" failure\n"); goto err;