switch two ASN1_STRING_data() to ASN1_STRING_get0_data()
authorop <op@openbsd.org>
Wed, 10 May 2023 13:48:54 +0000 (13:48 +0000)
committerop <op@openbsd.org>
Wed, 10 May 2023 13:48:54 +0000 (13:48 +0000)
commit3130d2a2d699478c599513e90c53b911843ac7df
treee51f9478add4ca7d4f946159b44c5fbcfd48ab93
parentb45cff3bff2247a07f2c4b38cce64c1923c4a041
switch two ASN1_STRING_data() to ASN1_STRING_get0_data()

and while here mark as const data.

This diff is actually from gilles@, in OpenSMTPD-portable bundled
libtls.

ok tb@, jsing@
lib/libtls/tls_verify.c