* of our noise being too much such that the connection itself
* fails. We back off on the noise for a bit to avoid that.
*/
- BIO_ctrl(noiseargs->cbio, BIO_CTRL_NOISE_BACK_OFF, 0, NULL);
- BIO_ctrl(noiseargs->sbio, BIO_CTRL_NOISE_BACK_OFF, 0, NULL);
+ (void)BIO_ctrl(noiseargs->cbio, BIO_CTRL_NOISE_BACK_OFF, 0, NULL);
+ (void)BIO_ctrl(noiseargs->sbio, BIO_CTRL_NOISE_BACK_OFF, 0, NULL);
}
}
if (!TEST_ptr(noisebio))
goto err;
sbio = BIO_push(noisebio, sbio);
+ /*
+ * TODO(QUIC SERVER):
+ * Currently the simplistic handler of the quic tserver cannot cope
+ * with noise introduced in the first packet received from the
+ * client. This needs to be removed once we have proper server side
+ * handling.
+ */
+ (void)BIO_ctrl(sbio, BIO_CTRL_NOISE_BACK_OFF, 0, NULL);
(*fault)->noiseargs.cbio = cbio;
(*fault)->noiseargs.sbio = sbio;