From 91130797f3267a4fe26cadd786ab4dca122eaa5f Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Thu, 20 May 2021 15:09:19 +0000 Subject: Debugging iteration --- src/include/s6-networking/sbearssl.h | 1 - src/sbearssl/sbearssl_x509_small_init_full.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'src') 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) ; -- cgit v1.2.3