From 64e105464d2395e4ab18ec5b98ccf2a6adb46ecf Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 24 May 2016 07:25:43 +1000 Subject: [PATCH] GCS_MAVLink: fixed disabling of signing remotely --- libraries/GCS_MAVLink/GCS_Signing.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/GCS_MAVLink/GCS_Signing.cpp b/libraries/GCS_MAVLink/GCS_Signing.cpp index 9ad74f7f89..04715fb50e 100644 --- a/libraries/GCS_MAVLink/GCS_Signing.cpp +++ b/libraries/GCS_MAVLink/GCS_Signing.cpp @@ -131,7 +131,7 @@ void GCS_MAVLINK::load_signing_key(void) signing.accept_unsigned_callback = accept_unsigned_callback; // if timestamp and key are all zero then we disable signing - bool all_zero = (signing.timestamp == 0); + bool all_zero = (key.timestamp == 0); for (uint8_t i=0; i