mirror of
https://github.com/QuasarApp/openssl.git
synced 2025-05-09 16:09:47 +00:00
EVP_CIPHER_type: fix misleading argument name
Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14703)
This commit is contained in:
parent
83abd33cf7
commit
b064eebb50
@ -267,10 +267,10 @@ int evp_cipher_set_asn1_aead_params(EVP_CIPHER_CTX *c, ASN1_TYPE *type,
|
|||||||
#endif /* !defined(FIPS_MODULE) */
|
#endif /* !defined(FIPS_MODULE) */
|
||||||
|
|
||||||
/* Convert the various cipher NIDs and dummies to a proper OID NID */
|
/* Convert the various cipher NIDs and dummies to a proper OID NID */
|
||||||
int EVP_CIPHER_type(const EVP_CIPHER *ctx)
|
int EVP_CIPHER_type(const EVP_CIPHER *cipher)
|
||||||
{
|
{
|
||||||
int nid;
|
int nid;
|
||||||
nid = EVP_CIPHER_nid(ctx);
|
nid = EVP_CIPHER_nid(cipher);
|
||||||
|
|
||||||
switch (nid) {
|
switch (nid) {
|
||||||
|
|
||||||
|
@ -149,7 +149,7 @@ EVP_CIPHER_do_all_provided
|
|||||||
int EVP_CIPHER_iv_length(const EVP_CIPHER *e);
|
int EVP_CIPHER_iv_length(const EVP_CIPHER *e);
|
||||||
unsigned long EVP_CIPHER_flags(const EVP_CIPHER *e);
|
unsigned long EVP_CIPHER_flags(const EVP_CIPHER *e);
|
||||||
unsigned long EVP_CIPHER_mode(const EVP_CIPHER *e);
|
unsigned long EVP_CIPHER_mode(const EVP_CIPHER *e);
|
||||||
int EVP_CIPHER_type(const EVP_CIPHER *ctx);
|
int EVP_CIPHER_type(const EVP_CIPHER *cipher);
|
||||||
|
|
||||||
const EVP_CIPHER *EVP_CIPHER_CTX_cipher(const EVP_CIPHER_CTX *ctx);
|
const EVP_CIPHER *EVP_CIPHER_CTX_cipher(const EVP_CIPHER_CTX *ctx);
|
||||||
int EVP_CIPHER_CTX_nid(const EVP_CIPHER_CTX *ctx);
|
int EVP_CIPHER_CTX_nid(const EVP_CIPHER_CTX *ctx);
|
||||||
|
@ -1396,7 +1396,7 @@ int EVP_PKEY_set1_encoded_public_key(EVP_PKEY *pkey,
|
|||||||
|
|
||||||
size_t EVP_PKEY_get1_encoded_public_key(EVP_PKEY *pkey, unsigned char **ppub);
|
size_t EVP_PKEY_get1_encoded_public_key(EVP_PKEY *pkey, unsigned char **ppub);
|
||||||
|
|
||||||
int EVP_CIPHER_type(const EVP_CIPHER *ctx);
|
int EVP_CIPHER_type(const EVP_CIPHER *cipher);
|
||||||
|
|
||||||
/* calls methods */
|
/* calls methods */
|
||||||
int EVP_CIPHER_param_to_asn1(EVP_CIPHER_CTX *c, ASN1_TYPE *type);
|
int EVP_CIPHER_param_to_asn1(EVP_CIPHER_CTX *c, ASN1_TYPE *type);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user