diff options
Diffstat (limited to 'src/sbearssl/sbearssl_ta_to.c')
-rw-r--r-- | src/sbearssl/sbearssl_ta_to.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sbearssl/sbearssl_ta_to.c b/src/sbearssl/sbearssl_ta_to.c index 8c37119..8c16ce7 100644 --- a/src/sbearssl/sbearssl_ta_to.c +++ b/src/sbearssl/sbearssl_ta_to.c @@ -5,8 +5,8 @@ void sbearssl_ta_to (sbearssl_ta const *sta, br_x509_trust_anchor *bta, char *s) { - bta->dn = (unsigned char *)s + sta->dn ; - bta->dn_len = sta->dnlen ; + 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) ; } |