Skip to content

Commit 3bd538c

Browse files
committed
tls_wolfssl: fix syntax introduced by 8b48b3a
1 parent ca8940e commit 3bd538c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

modules/tls_wolfssl/wolfssl_conn_ops.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,8 +369,8 @@ static int _wolfssl_enable_ktls_tx(struct tcp_connection *c, WOLFSSL *ssl)
369369
memcpy(crypto_256.iv, (iv + 4), 8);
370370
}
371371
memcpy(crypto_256.rec_seq, &seq, sizeof(seq));
372-
}
373372
#endif
373+
}
374374

375375
if (setsockopt(fd, SOL_TLS, TLS_TX, crypto_info, crypto_size) < 0) {
376376
LM_WARN("failed to enable KTLS TX on fd %d: %s\n",
@@ -656,8 +656,8 @@ static int _wolfssl_enable_ktls_rx(struct tcp_connection *c, WOLFSSL *ssl)
656656
memcpy(crypto_256.iv, (iv + 4), 8);
657657
}
658658
memcpy(crypto_256.rec_seq, &seq, sizeof(seq));
659-
}
660659
#endif
660+
}
661661

662662
if (setsockopt(fd, SOL_TLS, TLS_RX, crypto_info, crypto_size) < 0) {
663663
LM_WARN("failed to enable KTLS RX on fd %d: %s\n",

0 commit comments

Comments
 (0)