summaryrefslogtreecommitdiff
path: root/apps/plugins/crypt_firmware.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/crypt_firmware.c')
-rw-r--r--apps/plugins/crypt_firmware.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugins/crypt_firmware.c b/apps/plugins/crypt_firmware.c
index 4dc236ef9a..36689b7e8c 100644
--- a/apps/plugins/crypt_firmware.c
+++ b/apps/plugins/crypt_firmware.c
@@ -253,9 +253,9 @@ enum plugin_status plugin_start(const void* parameter)
253 return PLUGIN_ERROR; 253 return PLUGIN_ERROR;
254 } 254 }
255 255
256 n = rb->write(fd, buf, 8); 256 n = rb->write(fd, buf, 8);
257 n = rb->write(fd, hash, sizeof(hash)); 257 n = rb->write(fd, hash, sizeof(hash));
258 n = rb->write(fd, buf + 2, size); 258 n = rb->write(fd, buf + 2, size);
259 259
260 rb->close(fd); 260 rb->close(fd);
261 } else if (memcmp(buf + 1,"nn2x",4)==0) { 261 } else if (memcmp(buf + 1,"nn2x",4)==0) {