mirror of https://github.com/openssl/openssl.git
Remove supurious set of the record type
We already set the record type on the SSL3_RECORD structure. We don't need to do it again (inconsistently). Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Hugo Landau <hlandau@openssl.org> (Merged from https://github.com/openssl/openssl/pull/19424)
This commit is contained in:
parent
bed07b1875
commit
3abc0d3e85
|
|
@ -1823,13 +1823,6 @@ int tls_write_records_default(OSSL_RECORD_LAYER *rl,
|
|||
goto err;
|
||||
}
|
||||
|
||||
/*
|
||||
* we should now have thiswr->data pointing to the encrypted data, which
|
||||
* is thiswr->length long.
|
||||
* Setting the type is not needed but helps for debugging
|
||||
*/
|
||||
SSL3_RECORD_set_type(thiswr, thistempl->type);
|
||||
|
||||
/* now let's set up wb */
|
||||
SSL3_BUFFER_set_left(&rl->wbuf[j], SSL3_RECORD_get_length(thiswr));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue