Skip to content

Commit 89d5cbc

Browse files
committed
fix compilation error
1 parent e5bb8f6 commit 89d5cbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

messaging/coap/engine.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ coap_receive(oc_message_t *msg)
516516
}
517517
}
518518

519-
#ifdef OC_REPLAY_PROTECTION
519+
#if defined(OC_REPLAY_PROTECTION) && defined(OC_OSCORE)
520520
bool client_is_sync = true;
521521
oc_string_t kid = { 0 };
522522
oc_string_t kid_ctx = { 0 };

0 commit comments

Comments
 (0)