summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_locl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/ssl_locl.h')
-rw-r--r--src/lib/libssl/ssl_locl.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h
index 18daf791f0..1bfeeb9740 100644
--- a/src/lib/libssl/ssl_locl.h
+++ b/src/lib/libssl/ssl_locl.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_locl.h,v 1.417 2022/07/24 14:28:16 jsing Exp $ */ 1/* $OpenBSD: ssl_locl.h,v 1.418 2022/08/17 07:39:19 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 *
@@ -518,8 +518,6 @@ struct ssl_session_st {
518 * not_resumable_session_cb to disable session caching and tickets. */ 518 * not_resumable_session_cb to disable session caching and tickets. */
519 int not_resumable; 519 int not_resumable;
520 520
521 STACK_OF(X509) *cert_chain; /* as received from peer */
522
523 size_t tlsext_ecpointformatlist_length; 521 size_t tlsext_ecpointformatlist_length;
524 uint8_t *tlsext_ecpointformatlist; /* peer's list */ 522 uint8_t *tlsext_ecpointformatlist; /* peer's list */
525 size_t tlsext_supportedgroups_length; 523 size_t tlsext_supportedgroups_length;
@@ -645,6 +643,10 @@ typedef struct ssl_handshake_st {
645 uint8_t peer_finished[EVP_MAX_MD_SIZE]; 643 uint8_t peer_finished[EVP_MAX_MD_SIZE];
646 size_t peer_finished_len; 644 size_t peer_finished_len;
647 645
646 /* List of certificates received from our peer. */
647 STACK_OF(X509) *peer_certs;
648 STACK_OF(X509) *peer_certs_no_leaf;
649
648 SSL_HANDSHAKE_TLS12 tls12; 650 SSL_HANDSHAKE_TLS12 tls12;
649 SSL_HANDSHAKE_TLS13 tls13; 651 SSL_HANDSHAKE_TLS13 tls13;
650} SSL_HANDSHAKE; 652} SSL_HANDSHAKE;
@@ -1566,6 +1568,8 @@ int srtp_find_profile_by_num(unsigned int profile_num,
1566 1568
1567#endif /* OPENSSL_NO_SRTP */ 1569#endif /* OPENSSL_NO_SRTP */
1568 1570
1571int tls_process_peer_certs(SSL *s, STACK_OF(X509) *peer_certs);
1572
1569__END_HIDDEN_DECLS 1573__END_HIDDEN_DECLS
1570 1574
1571#endif 1575#endif