blob: d19c4c18b6af9039ff02062855d8fef29e132145 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
/* ISC license. */
#include <s6-networking/sbearssl.h>
void sbearssl_ta_to (sbearssl_ta const *sta, br_x509_trust_anchor *bta, char *s)
{
bta->dn.data = (unsigned char *)s + sta->dn ;
bta->dn.len = sta->dnlen ;
bta->flags = sta->flags ;
sbearssl_pkey_to(&sta->pkey, &bta->pkey, s) ;
}
|