diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2024-07-09 17:47:21 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2024-07-09 17:47:21 +0000 |
commit | eb469ac2cfdd61a68394818fc46a7ada54636d7c (patch) | |
tree | bc98c92d18d7d7424c5b909db6d6716d826ea967 /lib/libcrypto/kdf | |
parent | 9b033edbf3e0211dd6ea77ca4d8f5dc834e738ff (diff) |
Unwrap a few more lines
Diffstat (limited to 'lib/libcrypto/kdf')
-rw-r--r-- | lib/libcrypto/kdf/tls1_prf.c | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/lib/libcrypto/kdf/tls1_prf.c b/lib/libcrypto/kdf/tls1_prf.c index 65eb480b8ec..ce574928d46 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.36 2024/07/09 17:46:32 tb Exp $ */ +/* $OpenBSD: tls1_prf.c,v 1.37 2024/07/09 17:47:20 tb Exp $ */ /* * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL project * 2016. @@ -165,17 +165,13 @@ pkey_tls1_prf_ctrl_str(EVP_PKEY_CTX *ctx, return 1; } if (strcmp(type, "secret") == 0) - return EVP_PKEY_CTX_str2ctrl(ctx, EVP_PKEY_CTRL_TLS_SECRET, - value); + return EVP_PKEY_CTX_str2ctrl(ctx, EVP_PKEY_CTRL_TLS_SECRET, value); if (strcmp(type, "hexsecret") == 0) - return EVP_PKEY_CTX_hex2ctrl(ctx, EVP_PKEY_CTRL_TLS_SECRET, - value); + return EVP_PKEY_CTX_hex2ctrl(ctx, EVP_PKEY_CTRL_TLS_SECRET, value); if (strcmp(type, "seed") == 0) - return EVP_PKEY_CTX_str2ctrl(ctx, EVP_PKEY_CTRL_TLS_SEED, - value); + return EVP_PKEY_CTX_str2ctrl(ctx, EVP_PKEY_CTRL_TLS_SEED, value); if (strcmp(type, "hexseed") == 0) - return EVP_PKEY_CTX_hex2ctrl(ctx, EVP_PKEY_CTRL_TLS_SEED, - value); + return EVP_PKEY_CTX_hex2ctrl(ctx, EVP_PKEY_CTRL_TLS_SEED, value); KDFerror(KDF_R_UNKNOWN_PARAMETER_TYPE); return -2; |