summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/include/s6-networking/sbearssl.h1
-rw-r--r--src/sbearssl/sbearssl_x509_small_init_full.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/include/s6-networking/sbearssl.h b/src/include/s6-networking/sbearssl.h
index 6a0f67a..8de12ab 100644
--- a/src/include/s6-networking/sbearssl.h
+++ b/src/include/s6-networking/sbearssl.h
@@ -54,7 +54,6 @@ struct sbearssl_x509_small_context_s
br_sha256_context hashctx ;
unsigned int i ;
br_name_element elts[6] ;
- sbearssl_dn *eedn ;
uint8_t *eltstatus ;
char *eehash ;
} ;
diff --git a/src/sbearssl/sbearssl_x509_small_init_full.c b/src/sbearssl/sbearssl_x509_small_init_full.c
index 31906e5..bcb88bb 100644
--- a/src/sbearssl/sbearssl_x509_small_init_full.c
+++ b/src/sbearssl/sbearssl_x509_small_init_full.c
@@ -31,7 +31,7 @@ void sbearssl_x509_small_init_full (sbearssl_x509_small_context *ctx, br_x509_tr
for (unsigned int i = 0 ; i < 6 ; i++)
{
ctx->elts[i].oid = eltinfo[i].oid ;
- ctx->elts[i].buf = (char *)ctx->eedn + eltinfo[i].offset ;
+ ctx->elts[i].buf = (char *)eedn + eltinfo[i].offset ;
ctx->elts[i].len = eltinfo[i].size ;
}
br_x509_minimal_set_name_elements(&ctx->minimal, ctx->elts, 6) ;