Skip to content

Commit 936c85d

Browse files
committed
nasa/nos3#619 Fix last unit test after merge
1 parent 946b025 commit 936c85d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/unit/ut_aos_apply.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1196,6 +1196,8 @@ UTEST(AOS_APPLY, AES_CBC_256_ENCRYPT_AUTH_16B_PADDING)
11961196

11971197
// Setup security association
11981198
SecurityAssociation_t *sa_ptr;
1199+
sa_if->sa_get_from_spi(9, &sa_ptr);
1200+
sa_ptr->sa_state = SA_NONE;
11991201
sa_if->sa_get_from_spi(10, &sa_ptr);
12001202
sa_ptr->sa_state = SA_OPERATIONAL;
12011203
sa_ptr->est = 1; // Encryption on

0 commit comments

Comments
 (0)