Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
Signed-off-by: Juergen Repp <juergen_repp@web.de>
  • Loading branch information
JuergenReppSIT committed Jan 12, 2024
1 parent 4afe1d6 commit c2a858b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -999,9 +999,6 @@ uninstall-local:
clean-hook:
-rm -r -f $(top_builddir)/ca

check-hook:
-rm -r -f $(top_builddir)/ca

prepare-check:
if INIT_CA
$(top_srcdir)/script/ekca/init_ca.sh $(top_builddir)
Expand Down
4 changes: 4 additions & 0 deletions test/integration/main-fapi.c
Original file line number Diff line number Diff line change
Expand Up @@ -946,6 +946,10 @@ load_intermed_cert_and_key(const char *ca_key_path, EVP_PKEY **ca_key,
/* Load the intermediate certificate */
bio = BIO_new(BIO_s_file());
if (!bio || !BIO_read_filename(bio, ca_cert_path)) {
unsigned long err = ERR_get_error();
char err_buffer[256];
ERR_error_string_n(err, err_buffer, sizeof(err_buffer));
fprintf(stderr, "BIO read failed: %s\n", err_buffer);
LOG_ERROR("Failure in BIO_read_filename %s", ca_cert_path);
goto error_cleanup;
}
Expand Down

0 comments on commit c2a858b

Please sign in to comment.