summaryrefslogtreecommitdiff
path: root/lib/libcrypto
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2024-07-10 06:53:28 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2024-07-10 06:53:28 +0000
commitfe8c9dd85204b65a212801f882b7ecc4a316f29a (patch)
tree2e20da2180472320d805668626d071f4ce72039a /lib/libcrypto
parent1945211e8408deadf85f4ee845dc0c82a48267ba (diff)
Unwrap two lines
Diffstat (limited to 'lib/libcrypto')
-rw-r--r--lib/libcrypto/kdf/tls1_prf.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/lib/libcrypto/kdf/tls1_prf.c b/lib/libcrypto/kdf/tls1_prf.c
index 9d2f7771994..7d6231e3c79 100644
--- a/lib/libcrypto/kdf/tls1_prf.c
+++ b/lib/libcrypto/kdf/tls1_prf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tls1_prf.c,v 1.39 2024/07/09 17:58:36 tb Exp $ */
+/* $OpenBSD: tls1_prf.c,v 1.40 2024/07/10 06:53:27 tb Exp $ */
/*
* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL project
* 2016.
@@ -146,8 +146,7 @@ pkey_tls1_prf_ctrl(EVP_PKEY_CTX *ctx, int type, int p1, void *p2)
}
static int
-pkey_tls1_prf_ctrl_str(EVP_PKEY_CTX *ctx,
- const char *type, const char *value)
+pkey_tls1_prf_ctrl_str(EVP_PKEY_CTX *ctx, const char *type, const char *value)
{
if (value == NULL) {
KDFerror(KDF_R_VALUE_MISSING);
@@ -178,10 +177,8 @@ pkey_tls1_prf_ctrl_str(EVP_PKEY_CTX *ctx,
}
static int
-tls1_prf_P_hash(const EVP_MD *md,
- const unsigned char *secret, size_t secret_len,
- const unsigned char *seed, size_t seed_len,
- unsigned char *out, size_t out_len)
+tls1_prf_P_hash(const EVP_MD *md, const unsigned char *secret, size_t secret_len,
+ const unsigned char *seed, size_t seed_len, unsigned char *out, size_t out_len)
{
int chunk;
EVP_MD_CTX *ctx = NULL, *ctx_tmp = NULL, *ctx_init = NULL;