diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2021-05-20 15:09:19 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2021-05-20 15:09:19 +0000 |
commit | 91130797f3267a4fe26cadd786ab4dca122eaa5f (patch) | |
tree | 0ca03c06b3618750e3a1f47d7a2571c8c0d75714 | |
parent | 4aae040b1a8aecddcd0e1e959c77bb262fe6b850 (diff) | |
download | s6-networking-91130797f3267a4fe26cadd786ab4dca122eaa5f.tar.xz |
Debugging iteration
-rw-r--r-- | src/include/s6-networking/sbearssl.h | 1 | ||||
-rw-r--r-- | src/sbearssl/sbearssl_x509_small_init_full.c | 2 |
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) ; |