Type: fix
Change-Id: I24aac10a2943151d5b2fe96a0dff1c5beb7340b9
Signed-off-by: MathiasRaoul <mathias.raoul@gmail.com>
uint8_t hpkey[PTLS_MAX_SECRET_SIZE];
int ret;
uint8_t hpkey[PTLS_MAX_SECRET_SIZE];
int ret;
- if (hp_ctx != NULL)
- *hp_ctx = NULL;
*aead_ctx = NULL;
/* generate new header protection key */
if (hp_ctx != NULL)
{
*aead_ctx = NULL;
/* generate new header protection key */
if (hp_ctx != NULL)
{
if ((ret =
ptls_hkdf_expand_label (hash, hpkey, aead->ctr_cipher->key_size,
ptls_iovec_init (secret,
if ((ret =
ptls_hkdf_expand_label (hash, hpkey, aead->ctr_cipher->key_size,
ptls_iovec_init (secret,