summaryrefslogtreecommitdiff
path: root/src/lib/libssl/t1_lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/t1_lib.c')
-rw-r--r--src/lib/libssl/t1_lib.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libssl/t1_lib.c b/src/lib/libssl/t1_lib.c
index 78532054a0..be4bb3026c 100644
--- a/src/lib/libssl/t1_lib.c
+++ b/src/lib/libssl/t1_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: t1_lib.c,v 1.184 2021/11/26 16:41:42 tb Exp $ */ 1/* $OpenBSD: t1_lib.c,v 1.185 2022/01/08 12:43:44 jsing 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 *
@@ -569,7 +569,7 @@ tls1_check_ec_key(SSL *s, const uint16_t *curve_id, const uint8_t *comp_id)
569int 569int
570tls1_check_ec_server_key(SSL *s) 570tls1_check_ec_server_key(SSL *s)
571{ 571{
572 CERT_PKEY *cpk = s->cert->pkeys + SSL_PKEY_ECC; 572 SSL_CERT_PKEY *cpk = s->cert->pkeys + SSL_PKEY_ECC;
573 uint16_t curve_id; 573 uint16_t curve_id;
574 uint8_t comp_id; 574 uint8_t comp_id;
575 EC_KEY *eckey; 575 EC_KEY *eckey;
@@ -635,7 +635,7 @@ ssl_check_clienthello_tlsext_late(SSL *s)
635 if ((s->tlsext_status_type != -1) && 635 if ((s->tlsext_status_type != -1) &&
636 s->ctx && s->ctx->internal->tlsext_status_cb) { 636 s->ctx && s->ctx->internal->tlsext_status_cb) {
637 int r; 637 int r;
638 CERT_PKEY *certpkey; 638 SSL_CERT_PKEY *certpkey;
639 certpkey = ssl_get_server_send_pkey(s); 639 certpkey = ssl_get_server_send_pkey(s);
640 /* If no certificate can't return certificate status */ 640 /* If no certificate can't return certificate status */
641 if (certpkey == NULL) { 641 if (certpkey == NULL) {