|
|
@ -1075,7 +1075,7 @@ static tsi_result ssl_handshaker_result_extract_peer( |
|
|
|
// the peer's certificate is not present in the stack
|
|
|
|
// the peer's certificate is not present in the stack
|
|
|
|
STACK_OF(X509)* peer_chain = SSL_get_peer_cert_chain(impl->ssl); |
|
|
|
STACK_OF(X509)* peer_chain = SSL_get_peer_cert_chain(impl->ssl); |
|
|
|
// 1 is for session reused property.
|
|
|
|
// 1 is for session reused property.
|
|
|
|
size_t new_property_count = peer->property_count + 2; |
|
|
|
size_t new_property_count = peer->property_count + 3; |
|
|
|
if (alpn_selected != nullptr) new_property_count++; |
|
|
|
if (alpn_selected != nullptr) new_property_count++; |
|
|
|
if (peer_chain != nullptr) new_property_count++; |
|
|
|
if (peer_chain != nullptr) new_property_count++; |
|
|
|
tsi_peer_property* new_properties = static_cast<tsi_peer_property*>( |
|
|
|
tsi_peer_property* new_properties = static_cast<tsi_peer_property*>( |
|
|
|