diff --git a/npa/Doxyfile.in b/npa/Doxyfile.in index 6362086..3b405ba 100644 --- a/npa/Doxyfile.in +++ b/npa/Doxyfile.in @@ -2,9 +2,12 @@ PROJECT_NAME = @PACKAGE_NAME@ PROJECT_NUMBER = @PACKAGE_VERSION@ OUTPUT_DIRECTORY = @builddir@/doc STRIP_FROM_PATH = @top_srcdir@/src -INPUT = @top_srcdir@/src @top_srcdir@/README.dox +INPUT = @top_srcdir@/src FILE_PATTERNS = *.c *.h RECURSIVE = YES EXAMPLE_PATH = @top_srcdir@/src GENERATE_HTML = YES GENERATE_TAGFILE = @builddir@/doc/$(PROJECT).tag +EXCLUDE_PATTERNS = */opensc/* +GENERATE_XML = YES +XML_OUTPUT = xml diff --git a/npa/src/npa.c b/npa/src/npa.c index 5cf25e2..adb052d 100644 --- a/npa/src/npa.c +++ b/npa/src/npa.c @@ -1598,7 +1598,7 @@ npa_sm_pre_transmit(sc_card_t *card, const struct sm_ctx *ctx, goto err; } - switch (CVC_check_cert(cvc_cert, + switch (CVC_check_description(cvc_cert, eacsmctx->certificate_description->data, eacsmctx->certificate_description->length)) { case 1: