]> err.no Git - yubikey-personalization/commitdiff
fix indentation
authorKlas Lindfors <klas@yubico.com>
Wed, 28 Mar 2012 11:35:02 +0000 (13:35 +0200)
committerKlas Lindfors <klas@yubico.com>
Wed, 28 Mar 2012 11:35:02 +0000 (13:35 +0200)
ykpers.c

index d18be632fb6e759741a36fe13e9bb6939e57e791..98291f52c55f1a0f98882cf3271b46de1039ce1c 100644 (file)
--- a/ykpers.c
+++ b/ykpers.c
@@ -112,11 +112,11 @@ int ykp_configure_command(YKP_CONFIG *cfg, uint8_t command, YK_STATUS *st)
                break;
        case SLOT_CONFIG2:
                if (cfg->yk_major_version >= 2) {
-                 memcpy(&cfg->ykcore_config, &default_config2,
-                         sizeof(default_config2));
+                       memcpy(&cfg->ykcore_config, &default_config2,
+                               sizeof(default_config2));
                } else {
-                 ykp_errno = YKP_EOLDYUBIKEY;
-                 return 0;
+                       ykp_errno = YKP_EOLDYUBIKEY;
+                       return 0;
                }
                break;
        case SLOT_UPDATE1: