|
|
@ -411,10 +411,9 @@ static tsi_result add_subject_alt_names_properties_to_peer( |
|
|
|
TSI_X509_SUBJECT_ALTERNATIVE_NAME_PEER_PROPERTY, name, |
|
|
|
TSI_X509_SUBJECT_ALTERNATIVE_NAME_PEER_PROPERTY, name, |
|
|
|
&peer->properties[(*current_insert_index)++]); |
|
|
|
&peer->properties[(*current_insert_index)++]); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
// for the SAN field that we are not going to plumb, we will still
|
|
|
|
result = tsi_construct_string_peer_property_from_cstring( |
|
|
|
// increment the index, because the caller will make a check of the final
|
|
|
|
TSI_X509_SUBJECT_ALTERNATIVE_NAME_PEER_PROPERTY, "other types of SAN", |
|
|
|
// index and total property length.
|
|
|
|
&peer->properties[(*current_insert_index)++]); |
|
|
|
(*current_insert_index)++; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
if (result != TSI_OK) break; |
|
|
|
if (result != TSI_OK) break; |
|
|
|
} |
|
|
|
} |
|
|
|