Skip to content

Commit 1eabe50

Browse files
authored
Fix to prevent sending msgs where signing failed (#503)
1 parent d9316d1 commit 1eabe50

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libraries/MySensors/core/MyTransport.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -661,6 +661,7 @@ bool transportSendWrite(uint8_t to, MyMessage &message) {
661661
if (!signerSignMsg(message)) {
662662
debug(PSTR("!TSP:MSG:SIGN fail\n"));
663663
setIndication(INDICATION_ERR_SIGN);
664+
return false;
664665
}
665666

666667
// msg length changes if signed

0 commit comments

Comments
 (0)