From: Johannes Bauer Date: Tue, 15 Aug 2017 16:52:24 +0000 (+0200) Subject: Fix coding style of EVP_PKEY_CTX_ctrl_uint64 X-Git-Tag: OpenSSL_1_1_1-pre1~839 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=64bf10167b914bac04a19f9afee381d75fcd670a;p=oweals%2Fopenssl.git Fix coding style of EVP_PKEY_CTX_ctrl_uint64 Code review of @dot-asm pointed out style guide violation; this patch fixes it. Reviewed-by: Andy Polyakov Reviewed-by: Ben Kaduk (Merged from https://github.com/openssl/openssl/pull/4166) --- diff --git a/crypto/evp/pmeth_lib.c b/crypto/evp/pmeth_lib.c index 322fdb4aa8..71ec099440 100644 --- a/crypto/evp/pmeth_lib.c +++ b/crypto/evp/pmeth_lib.c @@ -360,7 +360,7 @@ int EVP_PKEY_CTX_ctrl(EVP_PKEY_CTX *ctx, int keytype, int optype, } int EVP_PKEY_CTX_ctrl_uint64(EVP_PKEY_CTX *ctx, int keytype, int optype, - int cmd, uint64_t value) + int cmd, uint64_t value) { return EVP_PKEY_CTX_ctrl(ctx, keytype, optype, cmd, 0, &value); } diff --git a/include/openssl/evp.h b/include/openssl/evp.h index e472ea2cba..69ffc20760 100644 --- a/include/openssl/evp.h +++ b/include/openssl/evp.h @@ -1283,7 +1283,7 @@ int EVP_PKEY_CTX_ctrl(EVP_PKEY_CTX *ctx, int keytype, int optype, int EVP_PKEY_CTX_ctrl_str(EVP_PKEY_CTX *ctx, const char *type, const char *value); int EVP_PKEY_CTX_ctrl_uint64(EVP_PKEY_CTX *ctx, int keytype, int optype, - int cmd, uint64_t value); + int cmd, uint64_t value); int EVP_PKEY_CTX_str2ctrl(EVP_PKEY_CTX *ctx, int cmd, const char *str); int EVP_PKEY_CTX_hex2ctrl(EVP_PKEY_CTX *ctx, int cmd, const char *hex);