提交 2c9da416 编写于 作者: P Pauli 提交者: Pauli

fix indentation

Reviewed-by: NTomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17529)
上级 15b7175f
...@@ -268,7 +268,7 @@ static void *keccak_dupctx(void *ctx) ...@@ -268,7 +268,7 @@ static void *keccak_dupctx(void *ctx)
{ {
KECCAK1600_CTX *in = (KECCAK1600_CTX *)ctx; KECCAK1600_CTX *in = (KECCAK1600_CTX *)ctx;
KECCAK1600_CTX *ret = ossl_prov_is_running() ? OPENSSL_malloc(sizeof(*ret)) KECCAK1600_CTX *ret = ossl_prov_is_running() ? OPENSSL_malloc(sizeof(*ret))
: NULL; : NULL;
if (ret != NULL) if (ret != NULL)
*ret = *in; *ret = *in;
......
...@@ -45,10 +45,10 @@ static OSSL_FUNC_kdf_set_ctx_params_fn kdf_pbkdf2_set_ctx_params; ...@@ -45,10 +45,10 @@ static OSSL_FUNC_kdf_set_ctx_params_fn kdf_pbkdf2_set_ctx_params;
static OSSL_FUNC_kdf_gettable_ctx_params_fn kdf_pbkdf2_gettable_ctx_params; static OSSL_FUNC_kdf_gettable_ctx_params_fn kdf_pbkdf2_gettable_ctx_params;
static OSSL_FUNC_kdf_get_ctx_params_fn kdf_pbkdf2_get_ctx_params; static OSSL_FUNC_kdf_get_ctx_params_fn kdf_pbkdf2_get_ctx_params;
static int pbkdf2_derive(const char *pass, size_t passlen, static int pbkdf2_derive(const char *pass, size_t passlen,
const unsigned char *salt, int saltlen, uint64_t iter, const unsigned char *salt, int saltlen, uint64_t iter,
const EVP_MD *digest, unsigned char *key, const EVP_MD *digest, unsigned char *key,
size_t keylen, int extra_checks); size_t keylen, int extra_checks);
typedef struct { typedef struct {
void *provctx; void *provctx;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册