summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_clnt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/ssl_clnt.c')
-rw-r--r--src/lib/libssl/ssl_clnt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libssl/ssl_clnt.c b/src/lib/libssl/ssl_clnt.c
index fe864d1cdc..02bd3d5dfe 100644
--- a/src/lib/libssl/ssl_clnt.c
+++ b/src/lib/libssl/ssl_clnt.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_clnt.c,v 1.117 2021/10/25 10:01:46 jsing Exp $ */ 1/* $OpenBSD: ssl_clnt.c,v 1.118 2021/11/19 18:53:10 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -2427,8 +2427,8 @@ ssl3_send_client_verify_ec(SSL *s, EVP_PKEY *pkey, CBB *cert_verify)
2427 goto err; 2427 goto err;
2428 if ((signature = calloc(1, EVP_PKEY_size(pkey))) == NULL) 2428 if ((signature = calloc(1, EVP_PKEY_size(pkey))) == NULL)
2429 goto err; 2429 goto err;
2430 if (!ECDSA_sign(pkey->save_type, &data[MD5_DIGEST_LENGTH], 2430 if (!ECDSA_sign(0, &data[MD5_DIGEST_LENGTH], SHA_DIGEST_LENGTH,
2431 SHA_DIGEST_LENGTH, signature, &signature_len, pkey->pkey.ec)) { 2431 signature, &signature_len, pkey->pkey.ec)) {
2432 SSLerror(s, ERR_R_ECDSA_LIB); 2432 SSLerror(s, ERR_R_ECDSA_LIB);
2433 goto err; 2433 goto err;
2434 } 2434 }