suite_id, md,
secret, secret_len))
return 0;
+
+ ch->have_new_rx_secret = 1;
}
- ch->have_new_secret = 1;
return 1;
}
* Allow the handshake layer to check for any new incoming data and generate
* new outgoing data.
*/
- ch->have_new_secret = 0;
+ ch->have_new_rx_secret = 0;
ossl_quic_dhs_tick(ch->dhs);
/*
* because packets that were not previously processable and were
* deferred might now be processable.
*/
- } while (ch->have_new_secret);
+ } while (ch->have_new_rx_secret);
/*
* Handle any timer events which are due to fire; namely, the loss detection
unsigned int is_server : 1;
/*
- * Set temporarily when the handshake layer has given us a new secret. Used
- * to determine if we need to check our RX queues again.
+ * Set temporarily when the handshake layer has given us a new RX secret.
+ * Used to determine if we need to check our RX queues again.
*/
- unsigned int have_new_secret : 1;
+ unsigned int have_new_rx_secret : 1;
};
# endif