mirror of
https://github.com/openssl/openssl.git
synced 2024-12-21 06:09:35 +08:00
Remove unused function arguments from tls_int_new_record_layer
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Hugo Landau <hlandau@openssl.org> (Merged from https://github.com/openssl/openssl/pull/23514)
This commit is contained in:
parent
62cb7c810e
commit
cfabddfb9f
@ -641,9 +641,8 @@ dtls_new_record_layer(OSSL_LIB_CTX *libctx, const char *propq, int vers,
|
||||
int ret;
|
||||
|
||||
ret = tls_int_new_record_layer(libctx, propq, vers, role, direction, level,
|
||||
key, keylen, iv, ivlen, mackey, mackeylen,
|
||||
ciph, taglen, mactype, md, comp, prev,
|
||||
transport, next, local, peer, settings,
|
||||
ciph, taglen, md, comp, prev,
|
||||
transport, next, settings,
|
||||
options, fns, cbarg, retrl);
|
||||
|
||||
if (ret != OSSL_RECORD_RETURN_SUCCESS)
|
||||
|
@ -417,9 +417,8 @@ ktls_new_record_layer(OSSL_LIB_CTX *libctx, const char *propq, int vers,
|
||||
int ret;
|
||||
|
||||
ret = tls_int_new_record_layer(libctx, propq, vers, role, direction, level,
|
||||
key, keylen, iv, ivlen, mackey, mackeylen,
|
||||
ciph, taglen, mactype, md, comp, prev,
|
||||
transport, next, local, peer, settings,
|
||||
ciph, taglen, md, comp, prev,
|
||||
transport, next, settings,
|
||||
options, fns, cbarg, retrl);
|
||||
|
||||
if (ret != OSSL_RECORD_RETURN_SUCCESS)
|
||||
|
@ -434,14 +434,10 @@ int tls13_common_post_process_record(OSSL_RECORD_LAYER *rl, TLS_RL_RECORD *rec);
|
||||
|
||||
int
|
||||
tls_int_new_record_layer(OSSL_LIB_CTX *libctx, const char *propq, int vers,
|
||||
int role, int direction, int level, unsigned char *key,
|
||||
size_t keylen, unsigned char *iv, size_t ivlen,
|
||||
unsigned char *mackey, size_t mackeylen,
|
||||
int role, int direction, int level,
|
||||
const EVP_CIPHER *ciph, size_t taglen,
|
||||
int mactype,
|
||||
const EVP_MD *md, COMP_METHOD *comp, BIO *prev,
|
||||
BIO *transport, BIO *next,
|
||||
BIO_ADDR *local, BIO_ADDR *peer,
|
||||
const OSSL_PARAM *settings, const OSSL_PARAM *options,
|
||||
const OSSL_DISPATCH *fns, void *cbarg,
|
||||
OSSL_RECORD_LAYER **retrl);
|
||||
|
@ -1232,14 +1232,10 @@ int tls_set_options(OSSL_RECORD_LAYER *rl, const OSSL_PARAM *options)
|
||||
|
||||
int
|
||||
tls_int_new_record_layer(OSSL_LIB_CTX *libctx, const char *propq, int vers,
|
||||
int role, int direction, int level, unsigned char *key,
|
||||
size_t keylen, unsigned char *iv, size_t ivlen,
|
||||
unsigned char *mackey, size_t mackeylen,
|
||||
int role, int direction, int level,
|
||||
const EVP_CIPHER *ciph, size_t taglen,
|
||||
int mactype,
|
||||
const EVP_MD *md, COMP_METHOD *comp, BIO *prev,
|
||||
BIO *transport, BIO *next, BIO_ADDR *local,
|
||||
BIO_ADDR *peer, const OSSL_PARAM *settings,
|
||||
BIO *transport, BIO *next, const OSSL_PARAM *settings,
|
||||
const OSSL_PARAM *options,
|
||||
const OSSL_DISPATCH *fns, void *cbarg,
|
||||
OSSL_RECORD_LAYER **retrl)
|
||||
@ -1387,9 +1383,8 @@ tls_new_record_layer(OSSL_LIB_CTX *libctx, const char *propq, int vers,
|
||||
int ret;
|
||||
|
||||
ret = tls_int_new_record_layer(libctx, propq, vers, role, direction, level,
|
||||
key, keylen, iv, ivlen, mackey, mackeylen,
|
||||
ciph, taglen, mactype, md, comp, prev,
|
||||
transport, next, local, peer, settings,
|
||||
ciph, taglen, md, comp, prev,
|
||||
transport, next, settings,
|
||||
options, fns, cbarg, retrl);
|
||||
|
||||
if (ret != OSSL_RECORD_RETURN_SUCCESS)
|
||||
|
Loading…
Reference in New Issue
Block a user