xmlInitCatalogInternal:
 3228|      1|xmlInitCatalogInternal(void) {
 3229|      1|    if (getenv("XML_DEBUG_CATALOG"))
  ------------------
  |  Branch (3229:9): [True: 0, False: 1]
  ------------------
 3230|      0|	xmlDebugCatalogs = 1;
 3231|      1|    xmlInitRMutex(&xmlCatalogMutex);
 3232|      1|}

xmlInitDictInternal:
   98|      1|xmlInitDictInternal(void) {
   99|      1|    xmlInitMutex(&xmlDictMutex);
  100|      1|}
xmlInitRandom:
  926|      1|xmlInitRandom(void) {
  927|      1|    xmlInitMutex(&xmlRngMutex);
  928|       |
  929|      1|    {
  930|       |#ifdef _WIN32
  931|       |        NTSTATUS status;
  932|       |
  933|       |        /*
  934|       |         * You can find many (recent as of 2025) discussions how
  935|       |         * to get a pseudo-random seed on Windows in projects like
  936|       |         * Golang, Rust, Chromium and Firefox.
  937|       |         *
  938|       |         * TODO: Support ProcessPrng available since Windows 10.
  939|       |         */
  940|       |        status = BCryptGenRandom(NULL, (unsigned char *) globalRngState,
  941|       |                                 sizeof(globalRngState),
  942|       |                                 BCRYPT_USE_SYSTEM_PREFERRED_RNG);
  943|       |        if (!BCRYPT_SUCCESS(status))
  944|       |            xmlAbort("libxml2: BCryptGenRandom failed with error code %lu\n",
  945|       |                     GetLastError());
  946|       |#else
  947|      1|        int var;
  948|       |
  949|      1|#if HAVE_DECL_GETENTROPY
  950|      1|        while (1) {
  ------------------
  |  Branch (950:16): [True: 1, Folded]
  ------------------
  951|      1|            if (getentropy(globalRngState, sizeof(globalRngState)) == 0)
  ------------------
  |  Branch (951:17): [True: 1, False: 0]
  ------------------
  952|      1|                return;
  953|       |
  954|       |            /*
  955|       |             * This most likely means that libxml2 was compiled on
  956|       |             * a system supporting certain system calls and is running
  957|       |             * on a system that doesn't support these calls, as can
  958|       |             * be the case on Linux.
  959|       |             */
  960|      0|            if (errno == ENOSYS)
  ------------------
  |  Branch (960:17): [True: 0, False: 0]
  ------------------
  961|      0|                break;
  962|       |
  963|       |            /*
  964|       |             * We really don't want to fallback to the unsafe PRNG
  965|       |             * for possibly accidental reasons, so we abort on any
  966|       |             * unknown error.
  967|       |             */
  968|      0|            if (errno != EINTR)
  ------------------
  |  Branch (968:17): [True: 0, False: 0]
  ------------------
  969|      0|                xmlAbort("libxml2: getentropy failed with error code %d\n",
  970|      0|                         errno);
  971|      0|        }
  972|      0|#endif
  973|       |
  974|       |        /*
  975|       |         * TODO: Fallback to /dev/urandom for older POSIX systems.
  976|       |         */
  977|      0|        globalRngState[0] =
  978|      0|                (unsigned) time(NULL) ^
  979|      0|                HASH_ROL((unsigned) ((size_t) &xmlInitRandom & 0xFFFFFFFF), 8);
  ------------------
  |  |   12|      0|#define HASH_ROL(x,n) ((x) << (n) | ((x) & 0xFFFFFFFF) >> (32 - (n)))
  ------------------
  980|      0|        globalRngState[1] =
  981|      0|                HASH_ROL((unsigned) ((size_t) &xmlRngMutex & 0xFFFFFFFF), 16) ^
  ------------------
  |  |   12|      0|#define HASH_ROL(x,n) ((x) << (n) | ((x) & 0xFFFFFFFF) >> (32 - (n)))
  ------------------
  982|      0|                HASH_ROL((unsigned) ((size_t) &var & 0xFFFFFFFF), 24);
  ------------------
  |  |   12|      0|#define HASH_ROL(x,n) ((x) << (n) | ((x) & 0xFFFFFFFF) >> (32 - (n)))
  ------------------
  983|      0|#endif
  984|      0|    }
  985|      0|}
xmlGlobalRandom:
 1017|      2|xmlGlobalRandom(void) {
 1018|      2|    unsigned ret;
 1019|       |
 1020|      2|    xmlMutexLock(&xmlRngMutex);
 1021|      2|    ret = xoroshiro64ss(globalRngState);
 1022|      2|    xmlMutexUnlock(&xmlRngMutex);
 1023|       |
 1024|      2|    return(ret);
 1025|      2|}
dict.c:xoroshiro64ss:
  998|      2|xoroshiro64ss(unsigned *s) {
  999|      2|    unsigned s0 = s[0];
 1000|      2|    unsigned s1 = s[1];
 1001|      2|    unsigned result = HASH_ROL(s0 * 0x9E3779BB, 5) * 5;
  ------------------
  |  |   12|      2|#define HASH_ROL(x,n) ((x) << (n) | ((x) & 0xFFFFFFFF) >> (32 - (n)))
  ------------------
 1002|       |
 1003|      2|    s1 ^= s0;
 1004|      2|    s[0] = HASH_ROL(s0, 26) ^ s1 ^ (s1 << 9);
  ------------------
  |  |   12|      2|#define HASH_ROL(x,n) ((x) << (n) | ((x) & 0xFFFFFFFF) >> (32 - (n)))
  ------------------
 1005|      2|    s[1] = HASH_ROL(s1, 13);
  ------------------
  |  |   12|      2|#define HASH_ROL(x,n) ((x) << (n) | ((x) & 0xFFFFFFFF) >> (32 - (n)))
  ------------------
 1006|       |
 1007|      2|    return(result & 0xFFFFFFFF);
 1008|      2|}

xmlInitEncodingInternal:
  821|      1|xmlInitEncodingInternal(void) {
  822|      1|    unsigned short int tst = 0x1234;
  823|      1|    unsigned char *ptr = (unsigned char *) &tst;
  824|       |
  825|      1|    if (*ptr == 0x12) xmlLittleEndian = 0;
  ------------------
  |  Branch (825:9): [True: 0, False: 1]
  ------------------
  826|      1|    else xmlLittleEndian = 1;
  827|      1|}

xmlSetGenericErrorFunc:
  272|      1|xmlSetGenericErrorFunc(void *ctx, xmlGenericErrorFunc handler) {
  273|      1|    xmlGenericErrorContext = ctx;
  ------------------
  |  |  983|      1|  #define xmlGenericErrorContext (*__xmlGenericErrorContext())
  ------------------
  274|      1|    if (handler != NULL)
  ------------------
  |  Branch (274:9): [True: 1, False: 0]
  ------------------
  275|      1|	xmlGenericError = handler;
  ------------------
  |  |  976|      1|  #define xmlGenericError (*__xmlGenericError())
  ------------------
  276|      0|    else
  277|      0|	xmlGenericError = xmlGenericErrorDefaultFunc;
  ------------------
  |  |  976|      0|  #define xmlGenericError (*__xmlGenericError())
  ------------------
  278|      1|}

xmlInitGlobalsInternal:
  357|      1|void xmlInitGlobalsInternal(void) {
  358|      1|    xmlInitMutex(&xmlThrDefMutex);
  359|       |
  360|      1|#ifdef HAVE_POSIX_THREADS
  361|      1|    pthread_key_create(&globalkey, xmlFreeGlobalState);
  362|       |#elif defined(HAVE_WIN32_THREADS)
  363|       |#ifndef USE_TLS
  364|       |    if (globalkey == TLS_OUT_OF_INDEXES)
  365|       |        globalkey = TlsAlloc();
  366|       |#endif
  367|       |#else /* no thread support */
  368|       |    xmlInitGlobalState(&globalState);
  369|       |#endif
  370|      1|}
__xmlGenericError:
  685|      1|__xmlGenericError(void) {
  686|      1|    return(&xmlGetThreadLocalStorage(0)->genericError);
  687|      1|}
__xmlGenericErrorContext:
  690|      1|__xmlGenericErrorContext(void) {
  691|      1|    return(&xmlGetThreadLocalStorage(0)->genericErrorContext);
  692|      1|}
globals.c:xmlGetThreadLocalStorage:
  525|      2|xmlGetThreadLocalStorage(int allowFailure) {
  526|      2|    xmlGlobalState *gs;
  527|       |
  528|      2|    (void) allowFailure;
  529|       |
  530|      2|    xmlInitParser();
  531|       |
  532|       |#ifdef USE_TLS
  533|       |    gs = &globalState;
  534|       |    if (gs->initialized == 0)
  535|       |        xmlInitGlobalState(gs);
  536|       |#elif defined(HAVE_POSIX_THREADS)
  537|       |    gs = (xmlGlobalState *) pthread_getspecific(globalkey);
  538|      2|    if (gs == NULL)
  ------------------
  |  Branch (538:9): [True: 1, False: 1]
  ------------------
  539|      1|        gs = xmlNewGlobalState(allowFailure);
  540|       |#elif defined(HAVE_WIN32_THREADS)
  541|       |    gs = (xmlGlobalState *) TlsGetValue(globalkey);
  542|       |    if (gs == NULL)
  543|       |        gs = xmlNewGlobalState(allowFailure);
  544|       |#else
  545|       |    gs = NULL;
  546|       |#endif
  547|       |
  548|      2|    return(gs);
  549|      2|}
globals.c:xmlNewGlobalState:
  497|      1|{
  498|      1|    xmlGlobalState *gs;
  499|       |
  500|       |    /*
  501|       |     * We use malloc/free to allow accessing globals before setting
  502|       |     * custom memory allocators.
  503|       |     */
  504|      1|    gs = malloc(sizeof(xmlGlobalState));
  505|      1|    if (gs == NULL) {
  ------------------
  |  Branch (505:9): [True: 0, False: 1]
  ------------------
  506|      0|        if (allowFailure)
  ------------------
  |  Branch (506:13): [True: 0, False: 0]
  ------------------
  507|      0|            return(NULL);
  508|       |
  509|       |        /*
  510|       |         * If an application didn't call xmlCheckThreadLocalStorage to make
  511|       |         * sure that global state could be allocated, it's too late to
  512|       |         * handle the error.
  513|       |         */
  514|      0|        xmlAbort("libxml2: Failed to allocate globals for thread\n"
  515|      0|                 "libxml2: See xmlCheckThreadLocalStorage\n");
  516|      0|    }
  517|       |
  518|      1|    memset(gs, 0, sizeof(xmlGlobalState));
  519|      1|    xmlInitGlobalState(gs);
  520|      1|    return (gs);
  521|      1|}
globals.c:xmlInitGlobalState:
  561|      1|xmlInitGlobalState(xmlGlobalStatePtr gs) {
  562|      1|    gs->localRngState[0] = xmlGlobalRandom();
  563|      1|    gs->localRngState[1] = xmlGlobalRandom();
  564|       |
  565|      1|    memset(&gs->lastError, 0, sizeof(xmlError));
  566|       |
  567|       |#ifdef LIBXML_THREAD_ALLOC_ENABLED
  568|       |    /* XML_GLOBALS_ALLOC */
  569|       |    gs->free = free;
  570|       |    gs->malloc = malloc;
  571|       |    gs->mallocAtomic = malloc;
  572|       |    gs->realloc = realloc;
  573|       |    gs->memStrdup = xmlPosixStrdup;
  574|       |#endif
  575|       |
  576|      1|    xmlMutexLock(&xmlThrDefMutex);
  577|       |
  578|       |    /* XML_GLOBALS_PARSER */
  579|      1|    gs->doValidityCheckingDefaultValue =
  580|      1|         xmlDoValidityCheckingDefaultValueThrDef;
  581|      1|    gs->getWarningsDefaultValue = xmlGetWarningsDefaultValueThrDef;
  582|      1|    gs->keepBlanksDefaultValue = xmlKeepBlanksDefaultValueThrDef;
  583|      1|    gs->loadExtDtdDefaultValue = xmlLoadExtDtdDefaultValueThrDef;
  584|      1|    gs->pedanticParserDefaultValue = xmlPedanticParserDefaultValueThrDef;
  585|      1|    gs->substituteEntitiesDefaultValue =
  586|      1|        xmlSubstituteEntitiesDefaultValueThrDef;
  587|      1|#ifdef LIBXML_OUTPUT_ENABLED
  588|      1|    gs->indentTreeOutput = xmlIndentTreeOutputThrDef;
  589|      1|    gs->treeIndentString = xmlTreeIndentStringThrDef;
  590|      1|    gs->saveNoEmptyTags = xmlSaveNoEmptyTagsThrDef;
  591|      1|#endif
  592|       |
  593|       |    /* XML_GLOBALS_ERROR */
  594|      1|    gs->genericError = xmlGenericErrorThrDef;
  595|      1|    gs->structuredError = xmlStructuredErrorThrDef;
  596|      1|    gs->genericErrorContext = xmlGenericErrorContextThrDef;
  597|      1|    gs->structuredErrorContext = xmlStructuredErrorContextThrDef;
  598|       |
  599|       |    /* XML_GLOBALS_TREE */
  600|      1|    gs->registerNodeDefaultValue = xmlRegisterNodeDefaultValueThrDef;
  601|      1|    gs->deregisterNodeDefaultValue = xmlDeregisterNodeDefaultValueThrDef;
  602|       |
  603|       |    /* XML_GLOBALS_IO */
  604|      1|    gs->parserInputBufferCreateFilenameValue =
  605|      1|        xmlParserInputBufferCreateFilenameValueThrDef;
  606|      1|    gs->outputBufferCreateFilenameValue =
  607|      1|        xmlOutputBufferCreateFilenameValueThrDef;
  608|       |
  609|      1|    xmlMutexUnlock(&xmlThrDefMutex);
  610|       |
  611|       |#ifdef USE_TLS
  612|       |    gs->initialized = 1;
  613|       |#endif
  614|       |
  615|      1|#ifdef HAVE_POSIX_THREADS
  616|      1|    pthread_setspecific(globalkey, gs);
  617|       |#elif defined HAVE_WIN32_THREADS
  618|       |#ifndef USE_TLS
  619|       |    TlsSetValue(globalkey, gs);
  620|       |#endif
  621|       |#ifdef USE_WAIT_DTOR
  622|       |    xmlRegisterGlobalStateDtor(gs);
  623|       |#endif
  624|       |#endif
  625|      1|}

xmlGetExternalEntityLoader:
 2628|      1|xmlGetExternalEntityLoader(void) {
 2629|      1|    return(xmlCurrentExternalEntityLoader);
 2630|      1|}

xmlInitRelaxNGInternal:
 2710|      1|{
 2711|      1|    xmlInitMutex(&xmlRelaxNGMutex);
 2712|      1|}

xmlInitMutex:
   57|      7|{
   58|      7|#ifdef HAVE_POSIX_THREADS
   59|      7|    pthread_mutex_init(&mutex->lock, NULL);
   60|       |#elif defined HAVE_WIN32_THREADS
   61|       |    InitializeCriticalSection(&mutex->cs);
   62|       |#else
   63|       |    (void) mutex;
   64|       |#endif
   65|      7|}
xmlNewMutex:
   75|      1|{
   76|      1|    xmlMutexPtr tok;
   77|       |
   78|      1|    tok = malloc(sizeof(xmlMutex));
   79|      1|    if (tok == NULL)
  ------------------
  |  Branch (79:9): [True: 0, False: 1]
  ------------------
   80|      0|        return (NULL);
   81|      1|    xmlInitMutex(tok);
   82|      1|    return (tok);
   83|      1|}
xmlMutexLock:
  124|      3|{
  125|      3|    if (tok == NULL)
  ------------------
  |  Branch (125:9): [True: 0, False: 3]
  ------------------
  126|      0|        return;
  127|      3|#ifdef HAVE_POSIX_THREADS
  128|       |    /*
  129|       |     * This assumes that __libc_single_threaded won't change while the
  130|       |     * lock is held.
  131|       |     */
  132|      3|    pthread_mutex_lock(&tok->lock);
  133|       |#elif defined HAVE_WIN32_THREADS
  134|       |    EnterCriticalSection(&tok->cs);
  135|       |#endif
  136|       |
  137|      3|}
xmlMutexUnlock:
  146|      3|{
  147|      3|    if (tok == NULL)
  ------------------
  |  Branch (147:9): [True: 0, False: 3]
  ------------------
  148|      0|        return;
  149|      3|#ifdef HAVE_POSIX_THREADS
  150|      3|    pthread_mutex_unlock(&tok->lock);
  151|       |#elif defined HAVE_WIN32_THREADS
  152|       |    LeaveCriticalSection(&tok->cs);
  153|       |#endif
  154|      3|}
xmlInitRMutex:
  162|      2|xmlInitRMutex(xmlRMutex *tok) {
  163|      2|    (void) tok;
  164|       |
  165|      2|#ifdef HAVE_POSIX_THREADS
  166|      2|    pthread_mutex_init(&tok->lock, NULL);
  167|      2|    tok->held = 0;
  168|      2|    tok->waiters = 0;
  169|      2|    pthread_cond_init(&tok->cv, NULL);
  170|       |#elif defined HAVE_WIN32_THREADS
  171|       |    InitializeCriticalSection(&tok->cs);
  172|       |#endif
  173|      2|}
xmlInitParser:
  404|      3|xmlInitParser(void) {
  405|      3|#ifdef HAVE_POSIX_THREADS
  406|      3|    pthread_once(&onceControl, xmlInitParserInternal);
  407|       |#elif defined(HAVE_WIN32_THREADS)
  408|       |    InitOnceExecuteOnce(&onceControl, xmlInitParserWinWrapper, NULL, NULL);
  409|       |#else
  410|       |    if (onceControl == 0) {
  411|       |        xmlInitParserInternal();
  412|       |        onceControl = 1;
  413|       |    }
  414|       |#endif
  415|      3|}
threads.c:xmlInitParserInternal:
  356|      1|xmlInitParserInternal(void) {
  357|       |    /*
  358|       |     * Note that the initialization code must not make memory allocations.
  359|       |     */
  360|      1|    xmlInitRandom(); /* Required by xmlInitGlobalsInternal */
  361|      1|    xmlInitMemoryInternal();
  362|      1|    xmlInitThreadsInternal();
  363|      1|    xmlInitGlobalsInternal();
  364|      1|    xmlInitDictInternal();
  365|      1|    xmlInitEncodingInternal();
  366|      1|#if defined(LIBXML_XPATH_ENABLED)
  367|      1|    xmlInitXPathInternal();
  368|      1|#endif
  369|      1|    xmlInitIOCallbacks();
  370|      1|#ifdef LIBXML_CATALOG_ENABLED
  371|      1|    xmlInitCatalogInternal();
  372|      1|#endif
  373|      1|#ifdef LIBXML_SCHEMAS_ENABLED
  374|      1|    xmlInitSchemasTypesInternal();
  375|      1|#endif
  376|      1|#ifdef LIBXML_RELAXNG_ENABLED
  377|      1|    xmlInitRelaxNGInternal();
  378|      1|#endif
  379|       |
  380|      1|    xmlParserInitialized = 1;
  381|      1|}
threads.c:xmlInitThreadsInternal:
  330|      1|xmlInitThreadsInternal(void) {
  331|      1|    xmlInitRMutex(&xmlLibraryLock);
  332|      1|}

xmlInitIOCallbacks:
 2790|      1|{
 2791|      1|    xmlInputCallbackNr = 1;
 2792|      1|    xmlInputCallbackTable[0].matchcallback = xmlIODefaultMatch;
 2793|       |
 2794|      1|#ifdef LIBXML_OUTPUT_ENABLED
 2795|      1|    xmlOutputCallbackNr = 1;
 2796|      1|    xmlOutputCallbackTable[0].matchcallback = xmlIODefaultMatch;
 2797|      1|#endif
 2798|      1|}

xmlInitMemoryInternal:
  406|      1|xmlInitMemoryInternal(void) {
  407|      1|    xmlInitMutex(&xmlMemMutex);
  408|      1|}

xmlInitSchemasTypesInternal:
  522|      1|{
  523|      1|    xmlInitMutex(&xmlSchemasTypesMutex);
  524|      1|}

xmlStrVPrintf:
  549|  3.19k|xmlStrVPrintf(xmlChar *buf, int len, const char *msg, va_list ap) {
  550|  3.19k|    int ret;
  551|       |
  552|  3.19k|    if((buf == NULL) || (msg == NULL) || (len <= 0)) {
  ------------------
  |  Branch (552:8): [True: 0, False: 3.19k]
  |  Branch (552:25): [True: 0, False: 3.19k]
  |  Branch (552:42): [True: 0, False: 3.19k]
  ------------------
  553|      0|        return(-1);
  554|      0|    }
  555|       |
  556|  3.19k|    ret = vsnprintf((char *) buf, len, (const char *) msg, ap);
  557|  3.19k|    buf[len - 1] = 0; /* be safe ! */
  558|       |
  559|  3.19k|    return(ret);
  560|  3.19k|}

xmlInitXPathInternal:
  201|      1|xmlInitXPathInternal(void) {
  202|      1|    size_t i;
  203|       |
  204|      1|#if defined(NAN) && defined(INFINITY)
  205|      1|    xmlXPathNAN = NAN;
  206|      1|    xmlXPathPINF = INFINITY;
  207|      1|    xmlXPathNINF = -INFINITY;
  208|       |#else
  209|       |    /* MSVC doesn't allow division by zero in constant expressions. */
  210|       |    double zero = 0.0;
  211|       |    xmlXPathNAN = 0.0 / zero;
  212|       |    xmlXPathPINF = 1.0 / zero;
  213|       |    xmlXPathNINF = -xmlXPathPINF;
  214|       |#endif
  215|       |
  216|       |    /*
  217|       |     * Initialize hash table for standard functions
  218|       |     */
  219|       |
  220|     65|    for (i = 0; i < SF_HASH_SIZE; i++)
  ------------------
  |  |  168|     65|#define SF_HASH_SIZE 64
  ------------------
  |  Branch (220:17): [True: 64, False: 1]
  ------------------
  221|     64|        xmlXPathSFHash[i] = UCHAR_MAX;
  222|       |
  223|     28|    for (i = 0; i < NUM_STANDARD_FUNCTIONS; i++) {
  ------------------
  |  |  166|     28|    (sizeof(xmlXPathStandardFunctions) / sizeof(xmlXPathStandardFunctions[0]))
  ------------------
  |  Branch (223:17): [True: 27, False: 1]
  ------------------
  224|     27|        const char *name = xmlXPathStandardFunctions[i].name;
  225|     27|        int bucketIndex = xmlXPathSFComputeHash(BAD_CAST name) % SF_HASH_SIZE;
  ------------------
  |  |   34|     27|#define BAD_CAST (xmlChar *)
  ------------------
                      int bucketIndex = xmlXPathSFComputeHash(BAD_CAST name) % SF_HASH_SIZE;
  ------------------
  |  |  168|     27|#define SF_HASH_SIZE 64
  ------------------
  226|       |
  227|     34|        while (xmlXPathSFHash[bucketIndex] != UCHAR_MAX) {
  ------------------
  |  Branch (227:16): [True: 7, False: 27]
  ------------------
  228|      7|            bucketIndex += 1;
  229|      7|            if (bucketIndex >= SF_HASH_SIZE)
  ------------------
  |  |  168|      7|#define SF_HASH_SIZE 64
  ------------------
  |  Branch (229:17): [True: 0, False: 7]
  ------------------
  230|      0|                bucketIndex = 0;
  231|      7|        }
  232|       |
  233|     27|        xmlXPathSFHash[bucketIndex] = i;
  234|     27|    }
  235|      1|}
xpath.c:xmlXPathSFComputeHash:
  186|     27|xmlXPathSFComputeHash(const xmlChar *name) {
  187|     27|    unsigned hashValue = 5381;
  188|     27|    const xmlChar *ptr;
  189|       |
  190|    230|    for (ptr = name; *ptr; ptr++)
  ------------------
  |  Branch (190:22): [True: 203, False: 27]
  ------------------
  191|    203|        hashValue = hashValue * 33 + *ptr;
  192|       |
  193|     27|    return(hashValue);
  194|     27|}

xsltInitGlobals:
 2302|      6|{
 2303|      6|    if (xsltExtMutex == NULL) {
  ------------------
  |  Branch (2303:9): [True: 1, False: 5]
  ------------------
 2304|      1|        xsltExtMutex = xmlNewMutex();
 2305|      1|    }
 2306|      6|}

xsltNewSecurityPrefs:
   73|      1|xsltNewSecurityPrefs(void) {
   74|      1|    xsltSecurityPrefsPtr ret;
   75|       |
   76|      1|    xsltInitGlobals();
   77|       |
   78|      1|    ret = (xsltSecurityPrefsPtr) xmlMalloc(sizeof(xsltSecurityPrefs));
   79|      1|    if (ret == NULL) {
  ------------------
  |  Branch (79:9): [True: 0, False: 1]
  ------------------
   80|      0|	xsltTransformError(NULL, NULL, NULL,
   81|      0|		"xsltNewSecurityPrefs : malloc failed\n");
   82|      0|	return(NULL);
   83|      0|    }
   84|      1|    memset(ret, 0, sizeof(xsltSecurityPrefs));
   85|      1|    return(ret);
   86|      1|}
xsltSetSecurityPrefs:
  113|      5|                     xsltSecurityCheck func) {
  114|      5|    xsltInitGlobals();
  115|      5|    if (sec == NULL)
  ------------------
  |  Branch (115:9): [True: 0, False: 5]
  ------------------
  116|      0|	return(-1);
  117|      5|    switch (option) {
  ------------------
  |  Branch (117:13): [True: 5, False: 0]
  ------------------
  118|      1|        case XSLT_SECPREF_READ_FILE:
  ------------------
  |  Branch (118:9): [True: 1, False: 4]
  ------------------
  119|      1|            sec->readFile = func; return(0);
  120|      1|        case XSLT_SECPREF_WRITE_FILE:
  ------------------
  |  Branch (120:9): [True: 1, False: 4]
  ------------------
  121|      1|            sec->createFile = func; return(0);
  122|      1|        case XSLT_SECPREF_CREATE_DIRECTORY:
  ------------------
  |  Branch (122:9): [True: 1, False: 4]
  ------------------
  123|      1|            sec->createDir = func; return(0);
  124|      1|        case XSLT_SECPREF_READ_NETWORK:
  ------------------
  |  Branch (124:9): [True: 1, False: 4]
  ------------------
  125|      1|            sec->readNet = func; return(0);
  126|      1|        case XSLT_SECPREF_WRITE_NETWORK:
  ------------------
  |  Branch (126:9): [True: 1, False: 4]
  ------------------
  127|      1|            sec->writeNet = func; return(0);
  128|      5|    }
  129|      0|    return(-1);
  130|      5|}
xsltSetDefaultSecurityPrefs:
  167|      1|xsltSetDefaultSecurityPrefs(xsltSecurityPrefsPtr sec) {
  168|       |
  169|      1|    xsltDefaultSecurityPrefs = sec;
  170|      1|}
xsltGetDefaultSecurityPrefs:
  180|      1|xsltGetDefaultSecurityPrefs(void) {
  181|      1|    return(xsltDefaultSecurityPrefs);
  182|      1|}

LLVMFuzzerTestOneInput:
  116|    857|int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
  117|    857|    xmlSecKeysMngrPtr mngr = NULL;
  118|    857|    xmlSecKeyDataStorePtr store = NULL;
  119|    857|    xmlSecKeyInfoCtxPtr keyInfoCtx = NULL;
  120|    857|    xmlSecKeyDataType certType = xmlSecKeyDataTypeTrusted;
  ------------------
  |  |  193|    857|#define xmlSecKeyDataTypeTrusted                        0x0100
  ------------------
  121|    857|    xmlSecKeyDataFormat fmt;
  122|    857|    X509* cert = NULL;
  123|    857|    X509_CRL* crl = NULL;
  124|    857|    STACK_OF(X509)* certs = NULL;
  125|    857|    STACK_OF(X509_CRL)* crls = NULL;
  126|    857|    size_t crlLen, certLen;
  127|    857|    int der;
  128|       |
  129|    857|    if (!g_initialized) {
  ------------------
  |  Branch (129:9): [True: 1, False: 856]
  ------------------
  130|      1|        g_init_failed = (do_init() < 0);
  131|      1|        g_initialized = 1;
  132|      1|    }
  133|       |    /* byte 0 = selector, bytes 1..2 = crl length, then cert and crl blobs. */
  134|    857|    if (g_init_failed || size < 5 || size > 65536) {
  ------------------
  |  Branch (134:9): [True: 0, False: 857]
  |  Branch (134:26): [True: 5, False: 852]
  |  Branch (134:38): [True: 0, False: 852]
  ------------------
  135|      5|        return 0;
  136|      5|    }
  137|    852|    der = (data[0] & 1) != 0;
  138|    852|    certType = ((data[0] & 2) != 0) ? xmlSecKeyDataTypeTrusted
  ------------------
  |  |  193|    166|#define xmlSecKeyDataTypeTrusted                        0x0100
  ------------------
  |  Branch (138:16): [True: 166, False: 686]
  ------------------
  139|    852|                                    : xmlSecKeyDataTypeNone;
  ------------------
  |  |  161|    686|#define xmlSecKeyDataTypeNone                           xmlSecKeyDataTypeUnknown
  |  |  ------------------
  |  |  |  |  155|  1.53k|#define xmlSecKeyDataTypeUnknown                        0x0000
  |  |  ------------------
  ------------------
  140|    852|    fmt = der ? xmlSecKeyDataFormatDer : xmlSecKeyDataFormatPem;
  ------------------
  |  Branch (140:11): [True: 144, False: 708]
  ------------------
  141|    852|    crlLen = ((size_t)data[1] << 8) | (size_t)data[2];
  142|    852|    if (crlLen > size - 3) {
  ------------------
  |  Branch (142:9): [True: 46, False: 806]
  ------------------
  143|     46|        crlLen = size - 3;
  144|     46|    }
  145|    852|    certLen = size - 3 - crlLen;
  146|    852|    if (crlLen == 0 || certLen == 0) {
  ------------------
  |  Branch (146:9): [True: 3, False: 849]
  |  Branch (146:24): [True: 47, False: 802]
  ------------------
  147|     50|        return 0;
  148|     50|    }
  149|       |
  150|    802|    mngr = xmlSecKeysMngrCreate();
  151|    802|    if (mngr == NULL) {
  ------------------
  |  Branch (151:9): [True: 0, False: 802]
  ------------------
  152|      0|        return 0;
  153|      0|    }
  154|    802|    if (xmlSecOpenSSLAppDefaultKeysMngrInit(mngr) < 0) {
  ------------------
  |  Branch (154:9): [True: 0, False: 802]
  ------------------
  155|      0|        xmlSecKeysMngrDestroy(mngr);
  156|      0|        return 0;
  157|      0|    }
  158|    802|    store = xmlSecKeysMngrGetDataStore(mngr, xmlSecOpenSSLX509StoreId);
  ------------------
  |  |   79|    802|        xmlSecOpenSSLX509StoreGetKlass()
  ------------------
  159|       |
  160|       |    /* xmlsec's own untrusted-input loaders (src/openssl/app.c). */
  161|    802|    (void)xmlSecOpenSSLAppKeysMngrCertLoadMemory(mngr, data + 3, certLen,
  162|    802|                                                 fmt, certType);
  163|    802|    (void)xmlSecOpenSSLAppKeysMngrCrlLoadMemory(mngr, data + 3 + certLen,
  164|    802|                                                crlLen, fmt);
  165|       |
  166|    802|    cert = parse_cert(data + 3, certLen, der);
  167|    802|    crl = parse_crl(data + 3 + certLen, crlLen, der);
  168|       |
  169|    802|    keyInfoCtx = xmlSecKeyInfoCtxCreate(mngr);
  170|    802|    if (keyInfoCtx == NULL) {
  ------------------
  |  Branch (170:9): [True: 0, False: 802]
  ------------------
  171|      0|        if (cert != NULL) X509_free(cert);
  ------------------
  |  Branch (171:13): [True: 0, False: 0]
  ------------------
  172|      0|        if (crl != NULL) X509_CRL_free(crl);
  ------------------
  |  Branch (172:13): [True: 0, False: 0]
  ------------------
  173|      0|        xmlSecKeysMngrDestroy(mngr);
  174|      0|        return 0;
  175|      0|    }
  176|       |
  177|       |    /* The dark entries: CRL validation against the store. */
  178|    802|    if (crl != NULL && store != NULL) {
  ------------------
  |  Branch (178:9): [True: 59, False: 743]
  |  Branch (178:24): [True: 59, False: 0]
  ------------------
  179|     59|        (void)xmlSecOpenSSLX509StoreVerifyCrl(store, crl, keyInfoCtx);
  180|     59|    }
  181|    802|    if (cert != NULL && crl != NULL && store != NULL) {
  ------------------
  |  Branch (181:9): [True: 33, False: 769]
  |  Branch (181:25): [True: 13, False: 20]
  |  Branch (181:40): [True: 13, False: 0]
  ------------------
  182|     13|        certs = sk_X509_new_null();
  183|     13|        crls = sk_X509_CRL_new_null();
  184|     13|        if (certs != NULL && crls != NULL) {
  ------------------
  |  Branch (184:13): [True: 13, False: 0]
  |  Branch (184:30): [True: 13, False: 0]
  ------------------
  185|     13|            if (sk_X509_push(certs, cert) <= 0) {
  ------------------
  |  Branch (185:17): [True: 0, False: 13]
  ------------------
  186|      0|                X509_free(cert);
  187|      0|                cert = NULL;
  188|      0|            }
  189|     13|            cert = NULL; /* owned by certs now */
  190|       |
  191|     13|            if (sk_X509_CRL_push(crls, crl) <= 0) {
  ------------------
  |  Branch (191:17): [True: 0, False: 13]
  ------------------
  192|      0|                X509_CRL_free(crl);
  193|      0|                crl = NULL;
  194|      0|            }
  195|     13|            crl = NULL; /* owned by crls now */
  196|       |
  197|     13|            (void)xmlSecOpenSSLX509StoreVerify(store, certs, crls, keyInfoCtx);
  198|     13|        }
  199|     13|    }
  200|       |
  201|    802|    if (certs != NULL) sk_X509_pop_free(certs, X509_free);
  ------------------
  |  Branch (201:9): [True: 13, False: 789]
  ------------------
  202|    802|    if (crls != NULL) sk_X509_CRL_pop_free(crls, X509_CRL_free);
  ------------------
  |  Branch (202:9): [True: 13, False: 789]
  ------------------
  203|    802|    if (cert != NULL) X509_free(cert);
  ------------------
  |  Branch (203:9): [True: 20, False: 782]
  ------------------
  204|    802|    if (crl != NULL) X509_CRL_free(crl);
  ------------------
  |  Branch (204:9): [True: 46, False: 756]
  ------------------
  205|    802|    xmlSecKeyInfoCtxDestroy(keyInfoCtx);
  206|    802|    xmlSecKeysMngrDestroy(mngr);
  207|    802|    return 0;
  208|    802|}
xmlsec_x509crl_target.c:do_init:
   60|      1|static int do_init(void) {
   61|      1|    xmlInitParser();
   62|      1|    if (xmlSecInit() < 0) {
  ------------------
  |  Branch (62:9): [True: 0, False: 1]
  ------------------
   63|      0|        return -1;
   64|      0|    }
   65|      1|    if (xmlSecCheckVersion() != 1) {
  ------------------
  |  |  152|      1|    xmlSecCheckVersionExt(XMLSEC_VERSION_MAJOR, XMLSEC_VERSION_MINOR, XMLSEC_VERSION_SUBMINOR, xmlSecCheckVersionABICompatible)
  |  |  ------------------
  |  |  |  |   23|      1|#define XMLSEC_VERSION_MAJOR    1
  |  |  ------------------
  |  |                   xmlSecCheckVersionExt(XMLSEC_VERSION_MAJOR, XMLSEC_VERSION_MINOR, XMLSEC_VERSION_SUBMINOR, xmlSecCheckVersionABICompatible)
  |  |  ------------------
  |  |  |  |   28|      1|#define XMLSEC_VERSION_MINOR    3
  |  |  ------------------
  |  |                   xmlSecCheckVersionExt(XMLSEC_VERSION_MAJOR, XMLSEC_VERSION_MINOR, XMLSEC_VERSION_SUBMINOR, xmlSecCheckVersionABICompatible)
  |  |  ------------------
  |  |  |  |   33|      1|#define XMLSEC_VERSION_SUBMINOR 14
  |  |  ------------------
  ------------------
  |  Branch (65:9): [True: 0, False: 1]
  ------------------
   66|      0|        xmlSecShutdown();
   67|      0|        return -1;
   68|      0|    }
   69|      1|    if (xmlSecOpenSSLAppInit(NULL) < 0) {
  ------------------
  |  Branch (69:9): [True: 0, False: 1]
  ------------------
   70|      0|        xmlSecShutdown();
   71|      0|        return -1;
   72|      0|    }
   73|      1|    if (xmlSecOpenSSLInit() < 0) {
  ------------------
  |  Branch (73:9): [True: 0, False: 1]
  ------------------
   74|      0|        xmlSecOpenSSLShutdown();
   75|      0|        xmlSecOpenSSLAppShutdown();
   76|      0|        xmlSecShutdown();
   77|      0|        return -1;
   78|      0|    }
   79|      1|    xmlSetGenericErrorFunc(NULL, &ignore_libxml_error);
   80|      1|    xmlSecErrorsSetCallback(&ignore_xmlsec_error);
   81|      1|    return 0;
   82|      1|}
xmlsec_x509crl_target.c:ignore_xmlsec_error:
   55|  3.19k|                                int reason, const char* msg) {
   56|  3.19k|    (void)file; (void)line; (void)func;
   57|  3.19k|    (void)errorObject; (void)errorSubject; (void)reason; (void)msg;
   58|  3.19k|}
xmlsec_x509crl_target.c:parse_cert:
  100|    802|static X509* parse_cert(const uint8_t* data, size_t size, int der) {
  101|    802|    X509* cert = NULL;
  102|       |
  103|    802|    if (der) {
  ------------------
  |  Branch (103:9): [True: 130, False: 672]
  ------------------
  104|    130|        const unsigned char* p = data;
  105|    130|        cert = d2i_X509(NULL, &p, (long)size);
  106|    672|    } else {
  107|    672|        BIO* bio = BIO_new_mem_buf(data, (int)size);
  108|    672|        if (bio != NULL) {
  ------------------
  |  Branch (108:13): [True: 672, False: 0]
  ------------------
  109|    672|            cert = PEM_read_bio_X509(bio, NULL, NULL, NULL);
  110|    672|            BIO_free(bio);
  111|    672|        }
  112|    672|    }
  113|    802|    return cert;
  114|    802|}
xmlsec_x509crl_target.c:parse_crl:
   84|    802|static X509_CRL* parse_crl(const uint8_t* data, size_t size, int der) {
   85|    802|    X509_CRL* crl = NULL;
   86|       |
   87|    802|    if (der) {
  ------------------
  |  Branch (87:9): [True: 130, False: 672]
  ------------------
   88|    130|        const unsigned char* p = data;
   89|    130|        crl = d2i_X509_CRL(NULL, &p, (long)size);
   90|    672|    } else {
   91|    672|        BIO* bio = BIO_new_mem_buf(data, (int)size);
   92|    672|        if (bio != NULL) {
  ------------------
  |  Branch (92:13): [True: 672, False: 0]
  ------------------
   93|    672|            crl = PEM_read_bio_X509_CRL(bio, NULL, NULL, NULL);
   94|    672|            BIO_free(bio);
   95|    672|        }
   96|    672|    }
   97|    802|    return crl;
   98|    802|}

app.c:xmlSecFuncToPtr_pem_password_cb:
  758|      1|    static void * xmlSecFuncToPtr_ ##func_type(func_type * func) { \
  759|      1|         union xmlSecFuncToPtrUnion_ ##func_type x; \
  760|      1|         x.func = func; \
  761|      1|         return (x.ptr); \
  762|      1|    }

xmlSecBase64GetDefaultLineSize:
   84|    802|{
   85|    802|    return g_xmlsec_base64_default_line_size;
   86|    802|}
xmlSecTransformBase64GetKlass:
  870|      1|xmlSecTransformBase64GetKlass(void) {
  871|      1|    return(&xmlSecBase64Klass);
  872|      1|}

xmlSecMemCleanse:
  981|  2.40k|xmlSecMemCleanse(void* data, xmlSecSize size) {
  982|  2.40k|    if((data == NULL) || (size == 0)) {
  ------------------
  |  Branch (982:8): [True: 0, False: 2.40k]
  |  Branch (982:26): [True: 0, False: 2.40k]
  ------------------
  983|      0|        return;
  984|      0|    }
  985|       |
  986|       |#if defined(XMLSEC_WINDOWS)
  987|       |    SecureZeroMemory(data, size);
  988|       |#elif defined(HAVE_MEMSET_EXPLICIT) && defined(HAVE_DECL_MEMSET_EXPLICIT) && (HAVE_DECL_MEMSET_EXPLICIT == 1)
  989|       |    memset_explicit(data, 0, size);
  990|       |#elif defined(HAVE_EXPLICIT_BZERO) && defined(HAVE_DECL_EXPLICIT_BZERO) && (HAVE_DECL_EXPLICIT_BZERO == 1)
  991|  2.40k|    explicit_bzero(data, size);
  992|       |#elif defined(HAVE_MEMSET_S) && defined(HAVE_DECL_MEMSET_S) && (HAVE_DECL_MEMSET_S == 1)
  993|       |    (void)memset_s(data, size, 0, size);
  994|       |#else
  995|       |    /* Fallback: zero through a volatile pointer so the compiler cannot
  996|       |     * optimize the write away. */
  997|       |    {
  998|       |        volatile unsigned char* p = (volatile unsigned char*)data;
  999|       |        while(size > 0) {
 1000|       |            *p++ = 0;
 1001|       |            size--;
 1002|       |        }
 1003|       |    }
 1004|       |#endif
 1005|  2.40k|}

xmlSecTransformInclC14NGetKlass:
  412|      1|xmlSecTransformInclC14NGetKlass(void) {
  413|      1|    return(&xmlSecTransformInclC14NKlass);
  414|      1|}
xmlSecTransformInclC14NWithCommentsGetKlass:
  457|      1|xmlSecTransformInclC14NWithCommentsGetKlass(void) {
  458|      1|    return(&xmlSecTransformInclC14NWithCommentsKlass);
  459|      1|}
xmlSecTransformInclC14N11GetKlass:
  500|      1|xmlSecTransformInclC14N11GetKlass(void) {
  501|      1|    return(&xmlSecTransformInclC14N11Klass);
  502|      1|}
xmlSecTransformInclC14N11WithCommentsGetKlass:
  543|      1|xmlSecTransformInclC14N11WithCommentsGetKlass(void) {
  544|      1|    return(&xmlSecTransformInclC14N11WithCommentsKlass);
  545|      1|}
xmlSecTransformExclC14NGetKlass:
  588|      1|xmlSecTransformExclC14NGetKlass(void) {
  589|      1|    return(&xmlSecTransformExclC14NKlass);
  590|      1|}
xmlSecTransformExclC14NWithCommentsGetKlass:
  632|      1|xmlSecTransformExclC14NWithCommentsGetKlass(void) {
  633|      1|    return(&xmlSecTransformExclC14NWithCommentsKlass);
  634|      1|}

xmlSecCryptoDLFunctionsRegisterKeyDataAndTransforms:
  757|      1|xmlSecCryptoDLFunctionsRegisterKeyDataAndTransforms(struct _xmlSecCryptoDLFunctions* functions) {
  758|      1|    xmlSecAssert2(functions != NULL, -1);
  ------------------
  |  |  466|      1|        do { \
  |  |  467|      1|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 1]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|      1|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 1]
  |  |  ------------------
  ------------------
  759|       |
  760|       |    /******************************************************************************
  761|       |     *
  762|       |     * Register keys
  763|       |     *
  764|       |    *****************************************************************************/
  765|       |
  766|       |    /* raw key values should not be used in production w/o understanding of the security risks */
  767|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(Aes);                         /* keyDataAesGetKlass */
  ------------------
  |  |  738|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (738:8): [True: 1, False: 0]
  |  |  |  Branch (738:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  739|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  740|      0|        return(-1);                                                                                                                       \
  |  |  741|      0|    }                                                                                                                                     \
  ------------------
  768|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(Camellia);                    /* keyDataCamelliaGetKlass */
  ------------------
  |  |  738|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (738:8): [True: 1, False: 0]
  |  |  |  Branch (738:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  739|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  740|      0|        return(-1);                                                                                                                       \
  |  |  741|      0|    }                                                                                                                                     \
  ------------------
  769|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(ChaCha20);                    /* keyDataChaCha20GetKlass */
  ------------------
  |  |  738|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (738:8): [True: 1, False: 0]
  |  |  |  Branch (738:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  739|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  740|      0|        return(-1);                                                                                                                       \
  |  |  741|      0|    }                                                                                                                                     \
  ------------------
  770|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(ConcatKdf);                   /* keyDataConcatKdfGetKlass */
  ------------------
  |  |  738|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (738:8): [True: 1, False: 0]
  |  |  |  Branch (738:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  739|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  740|      0|        return(-1);                                                                                                                       \
  |  |  741|      0|    }                                                                                                                                     \
  ------------------
  771|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(Des);                         /* keyDataDesGetKlass */
  ------------------
  |  |  738|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (738:8): [True: 1, False: 0]
  |  |  |  Branch (738:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  739|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  740|      0|        return(-1);                                                                                                                       \
  |  |  741|      0|    }                                                                                                                                     \
  ------------------
  772|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(Dh);                          /* keyDataDhGetKlass */
  ------------------
  |  |  738|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (738:8): [True: 1, False: 0]
  |  |  |  Branch (738:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  739|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  740|      0|        return(-1);                                                                                                                       \
  |  |  741|      0|    }                                                                                                                                     \
  ------------------
  773|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(Dsa);                         /* keyDataDsaGetKlass */
  ------------------
  |  |  738|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (738:8): [True: 1, False: 0]
  |  |  |  Branch (738:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  739|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  740|      0|        return(-1);                                                                                                                       \
  |  |  741|      0|    }                                                                                                                                     \
  ------------------
  774|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(Ec);                          /* keyDataEcGetKlass */
  ------------------
  |  |  738|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (738:8): [True: 1, False: 0]
  |  |  |  Branch (738:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  739|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  740|      0|        return(-1);                                                                                                                       \
  |  |  741|      0|    }                                                                                                                                     \
  ------------------
  775|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(Gost2001);                    /* keyDataGost2001GetKlass */
  ------------------
  |  |  738|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (738:8): [True: 0, False: 1]
  |  |  |  Branch (738:60): [True: 0, False: 0]
  |  |  ------------------
  |  |  739|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  740|      0|        return(-1);                                                                                                                       \
  |  |  741|      0|    }                                                                                                                                     \
  ------------------
  776|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(GostR3410_2012_256);          /* keyDataGostR3410_2012_256GetKlass */
  ------------------
  |  |  738|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (738:8): [True: 0, False: 1]
  |  |  |  Branch (738:60): [True: 0, False: 0]
  |  |  ------------------
  |  |  739|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  740|      0|        return(-1);                                                                                                                       \
  |  |  741|      0|    }                                                                                                                                     \
  ------------------
  777|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(GostR3410_2012_512);          /* keyDataGostR3410_2012_512GetKlass */
  ------------------
  |  |  738|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (738:8): [True: 0, False: 1]
  |  |  |  Branch (738:60): [True: 0, False: 0]
  |  |  ------------------
  |  |  739|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  740|      0|        return(-1);                                                                                                                       \
  |  |  741|      0|    }                                                                                                                                     \
  ------------------
  778|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(Hmac);                        /* keyDataHmacGetKlass */
  ------------------
  |  |  738|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (738:8): [True: 1, False: 0]
  |  |  |  Branch (738:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  739|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  740|      0|        return(-1);                                                                                                                       \
  |  |  741|      0|    }                                                                                                                                     \
  ------------------
  779|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(Hkdf);                        /* keyDataHkdfGetKlass */
  ------------------
  |  |  738|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (738:8): [True: 1, False: 0]
  |  |  |  Branch (738:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  739|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  740|      0|        return(-1);                                                                                                                       \
  |  |  741|      0|    }                                                                                                                                     \
  ------------------
  780|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(MLDSA);                       /* keyDataMLDSAGetKlass */
  ------------------
  |  |  738|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (738:8): [True: 0, False: 1]
  |  |  |  Branch (738:60): [True: 0, False: 0]
  |  |  ------------------
  |  |  739|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  740|      0|        return(-1);                                                                                                                       \
  |  |  741|      0|    }                                                                                                                                     \
  ------------------
  781|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(MLKEM);                       /* keyDataMLKEMGetKlass */
  ------------------
  |  |  738|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (738:8): [True: 0, False: 1]
  |  |  |  Branch (738:60): [True: 0, False: 0]
  |  |  ------------------
  |  |  739|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  740|      0|        return(-1);                                                                                                                       \
  |  |  741|      0|    }                                                                                                                                     \
  ------------------
  782|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(Pbkdf2);                      /* keyDataPbkdf2GetKlass */
  ------------------
  |  |  738|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (738:8): [True: 1, False: 0]
  |  |  |  Branch (738:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  739|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  740|      0|        return(-1);                                                                                                                       \
  |  |  741|      0|    }                                                                                                                                     \
  ------------------
  783|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(Rsa);                         /* keyDataRsaGetKlass */
  ------------------
  |  |  738|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (738:8): [True: 1, False: 0]
  |  |  |  Branch (738:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  739|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  740|      0|        return(-1);                                                                                                                       \
  |  |  741|      0|    }                                                                                                                                     \
  ------------------
  784|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(SLHDSA);                      /* keyDataSLHDSAGetKlass */
  ------------------
  |  |  738|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (738:8): [True: 0, False: 1]
  |  |  |  Branch (738:60): [True: 0, False: 0]
  |  |  ------------------
  |  |  739|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  740|      0|        return(-1);                                                                                                                       \
  |  |  741|      0|    }                                                                                                                                     \
  ------------------
  785|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(EdDSA);                       /* keyDataEdDSAGetKlass */
  ------------------
  |  |  738|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (738:8): [True: 0, False: 1]
  |  |  |  Branch (738:60): [True: 0, False: 0]
  |  |  ------------------
  |  |  739|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  740|      0|        return(-1);                                                                                                                       \
  |  |  741|      0|    }                                                                                                                                     \
  ------------------
  786|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(Xdh);                         /* keyDataXdhGetKlass */
  ------------------
  |  |  738|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (738:8): [True: 1, False: 0]
  |  |  |  Branch (738:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  739|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  740|      0|        return(-1);                                                                                                                       \
  |  |  741|      0|    }                                                                                                                                     \
  ------------------
  787|       |
  788|       |    /* DEREncodedKeyValue key data should not be used in production w/o understanding of the security risks */
  789|      1|    XMLSEC_REGISTER_DISABLED_KEY_DATA(DEREncodedKeyValue);          /* keyDataDEREncodedKeyValueGetKlass */
  ------------------
  |  |  738|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegisterDisabled(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (738:8): [True: 1, False: 0]
  |  |  |  Branch (738:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  739|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  740|      0|        return(-1);                                                                                                                       \
  |  |  741|      0|    }                                                                                                                                     \
  ------------------
  790|       |
  791|      1|    XMLSEC_REGISTER_KEY_DATA(X509);                                 /* keyDataX509GetKlass */
  ------------------
  |  |  732|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegister(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (732:8): [True: 1, False: 0]
  |  |  |  Branch (732:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  733|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegister", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  734|      0|        return(-1);                                                                                                                       \
  |  |  735|      0|    }                                                                                                                                     \
  ------------------
  792|      1|    XMLSEC_REGISTER_KEY_DATA(RawX509Cert);                          /* keyDataRawX509CertGetKlass */
  ------------------
  |  |  732|      1|    if((functions->keyData ## name ## GetKlass != NULL) && (xmlSecKeyDataIdsRegister(functions->keyData ## name ## GetKlass()) < 0)) {    \
  |  |  ------------------
  |  |  |  Branch (732:8): [True: 1, False: 0]
  |  |  |  Branch (732:60): [True: 0, False: 1]
  |  |  ------------------
  |  |  733|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegister", xmlSecKeyDataKlassGetName(functions->keyData ## name ## GetKlass()));             \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  734|      0|        return(-1);                                                                                                                       \
  |  |  735|      0|    }                                                                                                                                     \
  ------------------
  793|       |
  794|       |
  795|       |    /******************************************************************************
  796|       |     *
  797|       |     * Register transforms
  798|       |     *
  799|       |    *****************************************************************************/
  800|      1|    XMLSEC_REGISTER_TRANSFORM(Aes128Cbc);                           /* transformAes128CbcGetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  801|      1|    XMLSEC_REGISTER_TRANSFORM(Aes192Cbc);                           /* transformAes192CbcGetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  802|      1|    XMLSEC_REGISTER_TRANSFORM(Aes256Cbc);                           /* transformAes256CbcGetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  803|       |
  804|      1|    XMLSEC_REGISTER_TRANSFORM(Aes128Gcm);                           /* transformAes128GcmGetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  805|      1|    XMLSEC_REGISTER_TRANSFORM(Aes192Gcm);                           /* transformAes192GcmGetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  806|      1|    XMLSEC_REGISTER_TRANSFORM(Aes256Gcm);                           /* transformAes256GcmGetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  807|       |
  808|      1|    XMLSEC_REGISTER_TRANSFORM(ConcatKdf);                           /* transformConcatKdfGetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  809|       |
  810|      1|    XMLSEC_REGISTER_TRANSFORM(KWAes128);                            /* transformKWAes128GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  811|      1|    XMLSEC_REGISTER_TRANSFORM(KWAes192);                            /* transformKWAes192GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  812|      1|    XMLSEC_REGISTER_TRANSFORM(KWAes256);                            /* transformKWAes256GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  813|       |
  814|      1|    XMLSEC_REGISTER_TRANSFORM(Camellia128Cbc);                      /* transformCamellia128CbcGetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  815|      1|    XMLSEC_REGISTER_TRANSFORM(Camellia192Cbc);                      /* transformCamellia192CbcGetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  816|      1|    XMLSEC_REGISTER_TRANSFORM(Camellia256Cbc);                      /* transformCamellia256CbcGetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  817|       |
  818|      1|    XMLSEC_REGISTER_TRANSFORM(KWCamellia128);                       /* transformKWCamellia128GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  819|      1|    XMLSEC_REGISTER_TRANSFORM(KWCamellia192);                       /* transformKWCamellia192GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  820|      1|    XMLSEC_REGISTER_TRANSFORM(KWCamellia256);                       /* transformKWCamellia256GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  821|       |
  822|      1|    XMLSEC_REGISTER_TRANSFORM(ChaCha20);                            /* transformChaCha20GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  823|      1|    XMLSEC_REGISTER_TRANSFORM(ChaCha20Poly1305);                    /* transformChaCha20Poly1305GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  824|       |
  825|      1|    XMLSEC_REGISTER_TRANSFORM(Des3Cbc);                             /* transformDes3CbcGetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  826|       |
  827|      1|    XMLSEC_REGISTER_TRANSFORM(KWDes3);                              /* transformKWDes3GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  828|       |
  829|      1|    XMLSEC_REGISTER_TRANSFORM(Gost2001GostR3411_94);                /* transformGost2001GostR3411_94GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 0, False: 1]
  |  |  |  Branch (744:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  830|      1|    XMLSEC_REGISTER_TRANSFORM(GostR3410_2012GostR3411_2012_256);    /* transformGostR3410_2012GostR3411_2012_256GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 0, False: 1]
  |  |  |  Branch (744:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  831|      1|    XMLSEC_REGISTER_TRANSFORM(GostR3410_2012GostR3411_2012_512);    /* transformGostR3410_2012GostR3411_2012_512GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 0, False: 1]
  |  |  |  Branch (744:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  832|       |
  833|      1|    XMLSEC_REGISTER_TRANSFORM(GostR3411_94);                        /* transformGostR3411_94GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 0, False: 1]
  |  |  |  Branch (744:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  834|      1|    XMLSEC_REGISTER_TRANSFORM(GostR3411_2012_256);                  /* transformGostR3411_2012_256GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 0, False: 1]
  |  |  |  Branch (744:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  835|      1|    XMLSEC_REGISTER_TRANSFORM(GostR3411_2012_512);                  /* transformGostR3411_2012_512GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 0, False: 1]
  |  |  |  Branch (744:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  836|       |
  837|       |
  838|      1|    XMLSEC_REGISTER_TRANSFORM(DhEs);                                /* transformDhEsGetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  839|       |
  840|      1|    XMLSEC_REGISTER_TRANSFORM(DsaSha1);                             /* transformDsaSha1GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  841|      1|    XMLSEC_REGISTER_TRANSFORM(DsaSha256);                           /* transformDsaSha256GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  842|       |
  843|      1|    XMLSEC_REGISTER_TRANSFORM(Ecdh);                                /* transformEcdhGetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  844|       |
  845|      1|    XMLSEC_REGISTER_TRANSFORM(X25519);                              /* transformX25519GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  846|      1|    XMLSEC_REGISTER_TRANSFORM(X448);                                /* transformX448GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  847|       |
  848|      1|    XMLSEC_REGISTER_TRANSFORM(EcdsaRipemd160);                      /* transformEcdsaRipemd160GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  849|       |
  850|      1|    XMLSEC_REGISTER_TRANSFORM(EcdsaSha1);                           /* transformEcdsaSha1GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  851|       |
  852|      1|    XMLSEC_REGISTER_TRANSFORM(EcdsaSha224);                         /* transformEcdsaSha224GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  853|      1|    XMLSEC_REGISTER_TRANSFORM(EcdsaSha256);                         /* transformEcdsaSha256GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  854|      1|    XMLSEC_REGISTER_TRANSFORM(EcdsaSha384);                         /* transformEcdsaSha384GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  855|      1|    XMLSEC_REGISTER_TRANSFORM(EcdsaSha512);                         /* transformEcdsaSha512GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  856|       |
  857|      1|    XMLSEC_REGISTER_TRANSFORM(EcdsaSha3_224);                       /* transformEcdsaSha3_224GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  858|      1|    XMLSEC_REGISTER_TRANSFORM(EcdsaSha3_256);                       /* transformEcdsaSha3_256GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  859|      1|    XMLSEC_REGISTER_TRANSFORM(EcdsaSha3_384);                       /* transformEcdsaSha3_384GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  860|      1|    XMLSEC_REGISTER_TRANSFORM(EcdsaSha3_512);                       /* transformEcdsaSha3_512GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  861|       |
  862|      1|    XMLSEC_REGISTER_TRANSFORM(HmacMd5);                             /* transformHmacMd5GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  863|       |
  864|      1|    XMLSEC_REGISTER_TRANSFORM(HmacRipemd160);                       /* transformHmacRipemd160GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  865|       |
  866|      1|    XMLSEC_REGISTER_TRANSFORM(HmacSha1);                            /* transformHmacSha1GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  867|       |
  868|      1|    XMLSEC_REGISTER_TRANSFORM(HmacSha224);                          /* transformHmacSha224GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  869|      1|    XMLSEC_REGISTER_TRANSFORM(HmacSha256);                          /* transformHmacSha256GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  870|      1|    XMLSEC_REGISTER_TRANSFORM(HmacSha384);                          /* transformHmacSha384GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  871|      1|    XMLSEC_REGISTER_TRANSFORM(HmacSha512);                          /* transformHmacSha512GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  872|       |
  873|      1|    XMLSEC_REGISTER_TRANSFORM(Md5);                                 /* transformMd5GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  874|       |
  875|      1|    XMLSEC_REGISTER_TRANSFORM(MLDSA44);                             /* transformMLDSA44GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 0, False: 1]
  |  |  |  Branch (744:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  876|      1|    XMLSEC_REGISTER_TRANSFORM(MLDSA65);                             /* transformMLDSA65GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 0, False: 1]
  |  |  |  Branch (744:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  877|      1|    XMLSEC_REGISTER_TRANSFORM(MLDSA87);                             /* transformMLDSA87GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 0, False: 1]
  |  |  |  Branch (744:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  878|       |
  879|      1|    XMLSEC_REGISTER_TRANSFORM(MLKEM512);                            /* transformMLKEM512GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 0, False: 1]
  |  |  |  Branch (744:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  880|      1|    XMLSEC_REGISTER_TRANSFORM(MLKEM768);                            /* transformMLKEM768GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 0, False: 1]
  |  |  |  Branch (744:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  881|      1|    XMLSEC_REGISTER_TRANSFORM(MLKEM1024);                           /* transformMLKEM1024GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 0, False: 1]
  |  |  |  Branch (744:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  882|       |
  883|      1|    XMLSEC_REGISTER_TRANSFORM(Hkdf);                                /* transformHkdfGetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  884|      1|    XMLSEC_REGISTER_TRANSFORM(Pbkdf2);                              /* transformPbkdf2GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  885|       |
  886|      1|    XMLSEC_REGISTER_TRANSFORM(Ripemd160);                           /* transformRipemd160GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  887|       |
  888|      1|    XMLSEC_REGISTER_TRANSFORM(RsaMd5);                              /* transformRsaMd5GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  889|       |
  890|      1|    XMLSEC_REGISTER_TRANSFORM(RsaRipemd160);                        /* transformRsaRipemd160GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  891|       |
  892|      1|    XMLSEC_REGISTER_TRANSFORM(RsaSha1);                             /* transformRsaSha1GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  893|       |
  894|      1|    XMLSEC_REGISTER_TRANSFORM(RsaSha224);                           /* transformRsaSha224GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  895|      1|    XMLSEC_REGISTER_TRANSFORM(RsaSha256);                           /* transformRsaSha256GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  896|      1|    XMLSEC_REGISTER_TRANSFORM(RsaSha384);                           /* transformRsaSha384GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  897|      1|    XMLSEC_REGISTER_TRANSFORM(RsaSha512);                           /* transformRsaSha512GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  898|       |
  899|      1|    XMLSEC_REGISTER_TRANSFORM(RsaPssSha1);                          /* transformRsaPssSha1GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  900|       |
  901|      1|    XMLSEC_REGISTER_TRANSFORM(RsaPssSha224);                        /* transformRsaPssSha224GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  902|      1|    XMLSEC_REGISTER_TRANSFORM(RsaPssSha256);                        /* transformRsaPssSha256GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  903|      1|    XMLSEC_REGISTER_TRANSFORM(RsaPssSha384);                        /* transformRsaPssSha384GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  904|      1|    XMLSEC_REGISTER_TRANSFORM(RsaPssSha512);                        /* transformRsaPssSha512GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  905|       |
  906|      1|    XMLSEC_REGISTER_TRANSFORM(RsaPssSha3_224);                      /* transformRsaPssSha3_224GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  907|      1|    XMLSEC_REGISTER_TRANSFORM(RsaPssSha3_256);                      /* transformRsaPssSha3_256GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  908|      1|    XMLSEC_REGISTER_TRANSFORM(RsaPssSha3_384);                      /* transformRsaPssSha3_384GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  909|      1|    XMLSEC_REGISTER_TRANSFORM(RsaPssSha3_512);                      /* transformRsaPssSha3_512GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  910|       |
  911|      1|    XMLSEC_REGISTER_TRANSFORM(RsaPkcs1);                            /* transformRsaPkcs1GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  912|       |
  913|      1|    XMLSEC_REGISTER_TRANSFORM(RsaOaep);                             /* transformRsaOaepGetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  914|      1|    XMLSEC_REGISTER_TRANSFORM(RsaOaepEnc11);                        /* transformRsaOaepEnc11GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  915|       |
  916|      1|    XMLSEC_REGISTER_TRANSFORM(SLHDSA_SHA2_128f);                    /* transformSLHDSA_SHA2_128fGetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 0, False: 1]
  |  |  |  Branch (744:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  917|      1|    XMLSEC_REGISTER_TRANSFORM(SLHDSA_SHA2_128s);                    /* transformSLHDSA_SHA2_128sGetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 0, False: 1]
  |  |  |  Branch (744:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  918|      1|    XMLSEC_REGISTER_TRANSFORM(SLHDSA_SHA2_192f);                    /* transformSLHDSA_SHA2_192fGetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 0, False: 1]
  |  |  |  Branch (744:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  919|      1|    XMLSEC_REGISTER_TRANSFORM(SLHDSA_SHA2_192s);                    /* transformSLHDSA_SHA2_192sGetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 0, False: 1]
  |  |  |  Branch (744:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  920|      1|    XMLSEC_REGISTER_TRANSFORM(SLHDSA_SHA2_256f);                    /* transformSLHDSA_SHA2_256fGetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 0, False: 1]
  |  |  |  Branch (744:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  921|      1|    XMLSEC_REGISTER_TRANSFORM(SLHDSA_SHA2_256s);                    /* transformSLHDSA_SHA2_256sGetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 0, False: 1]
  |  |  |  Branch (744:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  922|       |
  923|      1|    XMLSEC_REGISTER_TRANSFORM(EdDSAEd25519);                        /* transformEdDSAEd25519GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 0, False: 1]
  |  |  |  Branch (744:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  924|      1|    XMLSEC_REGISTER_TRANSFORM(EdDSAEd25519ctx);                     /* transformEdDSAEd25519ctxGetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 0, False: 1]
  |  |  |  Branch (744:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  925|      1|    XMLSEC_REGISTER_TRANSFORM(EdDSAEd25519ph);                      /* transformEdDSAEd25519phGetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 0, False: 1]
  |  |  |  Branch (744:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  926|      1|    XMLSEC_REGISTER_TRANSFORM(EdDSAEd448);                          /* transformEdDSAEd448GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 0, False: 1]
  |  |  |  Branch (744:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  927|      1|    XMLSEC_REGISTER_TRANSFORM(EdDSAEd448ph);                        /* transformEdDSAEd448phGetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 0, False: 1]
  |  |  |  Branch (744:62): [True: 0, False: 0]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  928|       |
  929|      1|    XMLSEC_REGISTER_TRANSFORM(Sha1);                                /* transformSha1GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  930|       |
  931|      1|    XMLSEC_REGISTER_TRANSFORM(Sha224);                              /* transformSha224GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  932|      1|    XMLSEC_REGISTER_TRANSFORM(Sha256);                              /* transformSha256GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  933|      1|    XMLSEC_REGISTER_TRANSFORM(Sha384);                              /* transformSha384GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  934|      1|    XMLSEC_REGISTER_TRANSFORM(Sha512);                              /* transformSha512GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  935|       |
  936|      1|    XMLSEC_REGISTER_TRANSFORM(Sha3_224);                            /* transformSha3_224GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  937|      1|    XMLSEC_REGISTER_TRANSFORM(Sha3_256);                            /* transformSha3_256GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  938|      1|    XMLSEC_REGISTER_TRANSFORM(Sha3_384);                            /* transformSha3_384GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  939|      1|    XMLSEC_REGISTER_TRANSFORM(Sha3_512);                            /* transformSha3_512GetKlass */
  ------------------
  |  |  744|      1|    if((functions->transform ## name ## GetKlass != NULL) && (xmlSecTransformIdsRegister(functions->transform ## name ## GetKlass()) < 0)) {   \
  |  |  ------------------
  |  |  |  Branch (744:8): [True: 1, False: 0]
  |  |  |  Branch (744:62): [True: 0, False: 1]
  |  |  ------------------
  |  |  745|      0|        xmlSecInternalError("xmlSecTransformIdsRegister", xmlSecTransformKlassGetName(functions->transform ## name ## GetKlass()));          \
  |  |  ------------------
  |  |  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  ------------------
  |  |  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|                    (errorFunction),                        \
  |  |  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  |  |  ------------------
  |  |  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  |  |  ------------------
  |  |  |  |   56|      0|        )
  |  |  ------------------
  |  |  746|      0|        return(-1);                                                                                                                          \
  |  |  747|      0|    }                                                                                                                                        \
  ------------------
  940|       |
  941|       |    /* done */
  942|      1|    return(0);
  943|      1|}

xmlSecTransformEnvelopedGetKlass:
   88|      1|xmlSecTransformEnvelopedGetKlass(void) {
   89|      1|    return(&xmlSecTransformEnvelopedKlass);
   90|      1|}

xmlSecErrorsInit:
  117|      1|xmlSecErrorsInit(void) {
  118|      1|}
xmlSecErrorsSetCallback:
  142|      1|xmlSecErrorsSetCallback(xmlSecErrorsCallback callback) {
  143|      1|    xmlSecErrorsUserClbk = callback;
  144|      1|    xmlSecErrorsClbkIsSetByUser = 1;
  145|      1|}
xmlSecErrorsSetSystemCallback:
  169|      1|xmlSecErrorsSetSystemCallback(xmlSecErrorsCallback callback) {
  170|      1|    xmlSecErrorsSystemClbk = callback;
  171|      1|}
xmlSecError:
  280|  3.19k|) {
  281|  3.19k|    xmlSecErrorsCallback callback = (xmlSecErrorsClbkIsSetByUser != 0) ? xmlSecErrorsUserClbk : xmlSecErrorsSystemClbk;
  ------------------
  |  Branch (281:37): [True: 3.19k, False: 0]
  ------------------
  282|  3.19k|    if(callback != NULL) {
  ------------------
  |  Branch (282:8): [True: 3.19k, False: 0]
  ------------------
  283|  3.19k|        xmlChar error_msg[XMLSEC_ERRORS_BUFFER_SIZE];
  284|  3.19k|        int ret;
  285|       |
  286|  3.19k|        if(msg != NULL) {
  ------------------
  |  Branch (286:12): [True: 3.19k, False: 0]
  ------------------
  287|       |            /* Make Coverity and C23 happy */
  288|  3.19k|#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L
  289|  3.19k|            va_list va = {0};
  290|       |#else /* defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L */
  291|       |            va_list va;
  292|       |#endif /* defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L */
  293|       |
  294|  3.19k|            va_start(va, msg);
  295|  3.19k|            ret = xmlStrVPrintf(error_msg, sizeof(error_msg), msg, va);
  296|  3.19k|            if(ret < 0) {
  ------------------
  |  Branch (296:16): [True: 0, False: 3.19k]
  ------------------
  297|       |                /* Can't really report an error from an error callback */
  298|      0|                memcpy(error_msg, fatal_error, sizeof(fatal_error)); /* the terminating NUL is copied too */
  299|      0|            }
  300|       |            /* If the message was truncated (ret >= (int)sizeof(error_msg)),
  301|       |             * then xmlStrVPrintf() (like snprintf()) has already written a
  302|       |             * NUL terminated truncated message into error_msg: keep it because
  303|       |             * a truncated message is more useful than a generic error */
  304|  3.19k|            error_msg[sizeof(error_msg) - 1] = '\0'; /* just in case */
  305|  3.19k|            va_end(va);
  306|  3.19k|        } else {
  307|      0|            error_msg[0] = '\0';
  308|      0|        }
  309|  3.19k|        callback(file, line, func, errorObject, errorSubject, reason, (char*)error_msg);
  310|  3.19k|    }
  311|  3.19k|}

xmlSecIOInit:
  161|      1|xmlSecIOInit(void) {
  162|      1|    int ret;
  163|       |
  164|      1|    ret = xmlSecPtrListInitialize(&xmlSecAllIOCallbacks, xmlSecIOCallbackPtrListId);
  ------------------
  |  |  116|      1|#define xmlSecIOCallbackPtrListId       xmlSecIOCallbackPtrListGetKlass()
  ------------------
  165|      1|    if(ret < 0) {
  ------------------
  |  Branch (165:8): [True: 0, False: 1]
  ------------------
  166|      0|        xmlSecInternalError("xmlSecPtrListInitialize", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  167|      0|        return(-1);
  168|      0|    }
  169|       |
  170|       |#ifndef XMLSEC_NO_FTP
  171|       |    xmlNanoFTPInit();
  172|       |#endif /* XMLSEC_NO_FTP */
  173|       |
  174|       |#ifndef XMLSEC_NO_HTTP
  175|       |    xmlNanoHTTPInit();
  176|       |#endif /* XMLSEC_NO_HTTP */
  177|       |
  178|      1|    ret = xmlSecIORegisterDefaultCallbacks();
  179|      1|    if(ret < 0) {
  ------------------
  |  Branch (179:8): [True: 0, False: 1]
  ------------------
  180|      0|        xmlSecInternalError("xmlSecIORegisterDefaultCallbacks", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  181|       |        /* roll back the partially-initialized state (callback list, nanoFTP/nanoHTTP) */
  182|      0|        xmlSecIOShutdown();
  183|      0|        return(-1);
  184|      0|    }
  185|       |
  186|      1|    return(0);
  187|      1|}
xmlSecIORegisterCallbacks:
  254|      1|) {
  255|      1|    xmlSecIOCallbackPtr callbacks;
  256|      1|    int ret;
  257|       |
  258|      1|    xmlSecAssert2(matchFunc != NULL, -1);
  ------------------
  |  |  466|      1|        do { \
  |  |  467|      1|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 1]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|      1|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 1]
  |  |  ------------------
  ------------------
  259|      1|    xmlSecAssert2(openFunc != NULL, -1);
  ------------------
  |  |  466|      1|        do { \
  |  |  467|      1|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 1]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|      1|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 1]
  |  |  ------------------
  ------------------
  260|      1|    xmlSecAssert2(readFunc != NULL, -1);
  ------------------
  |  |  466|      1|        do { \
  |  |  467|      1|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 1]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|      1|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 1]
  |  |  ------------------
  ------------------
  261|      1|    xmlSecAssert2(closeFunc != NULL, -1);
  ------------------
  |  |  466|      1|        do { \
  |  |  467|      1|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 1]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|      1|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 1]
  |  |  ------------------
  ------------------
  262|       |
  263|      1|    callbacks = xmlSecIOCallbackCreate(matchFunc, openFunc, readFunc, closeFunc);
  264|      1|    if(callbacks == NULL) {
  ------------------
  |  Branch (264:8): [True: 0, False: 1]
  ------------------
  265|      0|        xmlSecInternalError("xmlSecIOCallbackCreate", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  266|      0|        return(-1);
  267|      0|    }
  268|       |
  269|      1|    ret = xmlSecPtrListAdd(&xmlSecAllIOCallbacks, callbacks);
  270|      1|    if(ret < 0) {
  ------------------
  |  Branch (270:8): [True: 0, False: 1]
  ------------------
  271|      0|        xmlSecInternalError("xmlSecPtrListAdd", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  272|      0|        xmlSecIOCallbackDestroy(callbacks);
  273|      0|        return(-1);
  274|      0|    }
  275|      1|    return(0);
  276|      1|}
xmlSecIORegisterDefaultCallbacks:
  568|      1|xmlSecIORegisterDefaultCallbacks(void) {
  569|      1|    int ret = 0;
  570|       |
  571|      1|#ifndef XMLSEC_NO_FILES
  572|       |    /* Callbacks added later are picked up first */
  573|      1|    ret = xmlSecIORegisterCallbacks(
  574|      1|        xmlSecIOFileMatch,
  575|      1|        xmlSecIOFileOpen,
  576|      1|        xmlSecIOFileRead,
  577|      1|        xmlSecIOFileClose
  578|      1|    );
  579|      1|    if(ret < 0) {
  ------------------
  |  Branch (579:8): [True: 0, False: 1]
  ------------------
  580|      0|        xmlSecInternalError("xmlSecIORegisterCallbacks(file)", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  581|      0|        return(-1);
  582|      0|    }
  583|      1|#endif /* XMLSEC_NO_FILES */
  584|       |
  585|       |#ifndef XMLSEC_NO_HTTP
  586|       |    ret = xmlSecIORegisterCallbacks(
  587|       |        xmlIOHTTPMatch,
  588|       |        xmlIOHTTPOpen,
  589|       |        xmlIOHTTPRead,
  590|       |        xmlIOHTTPClose
  591|       |    );
  592|       |    if(ret < 0) {
  593|       |        xmlSecInternalError("xmlSecIORegisterCallbacks(http)", NULL);
  594|       |        return(-1);
  595|       |    }
  596|       |#endif /* XMLSEC_NO_HTTP */
  597|       |
  598|       |#ifndef XMLSEC_NO_FTP
  599|       |    ret = xmlSecIORegisterCallbacks(
  600|       |        xmlIOFTPMatch,
  601|       |        xmlIOFTPOpen,
  602|       |        xmlIOFTPRead,
  603|       |        xmlIOFTPClose
  604|       |    );
  605|       |    if(ret < 0) {
  606|       |        xmlSecInternalError("xmlSecIORegisterCallbacks(ftp)", NULL);
  607|       |        return(-1);
  608|       |    }
  609|       |#endif /* XMLSEC_NO_FTP */
  610|       |
  611|       |    /* ret can be unused here if all of the above is disabled */
  612|      1|    XMLSEC_UNREFERENCED(ret);
  ------------------
  |  |  574|      1|#define XMLSEC_UNREFERENCED(param)   ((void)(param))
  ------------------
  613|       |
  614|       |    /* done */
  615|      1|    return(0);
  616|      1|}
io.c:xmlSecIOCallbackPtrListGetKlass:
  126|      1|xmlSecIOCallbackPtrListGetKlass(void) {
  127|      1|    return(&xmlSecIOCallbackPtrListKlass);
  128|      1|}
io.c:xmlSecIOCallbackCreate:
   71|      1|                       xmlInputReadCallback readFunc, xmlInputCloseCallback closeFunc) {
   72|      1|    xmlSecIOCallbackPtr callbacks;
   73|       |
   74|      1|    xmlSecAssert2(matchFunc != NULL, NULL);
  ------------------
  |  |  466|      1|        do { \
  |  |  467|      1|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 1]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|      1|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 1]
  |  |  ------------------
  ------------------
   75|      1|    xmlSecAssert2(openFunc != NULL, NULL);
  ------------------
  |  |  466|      1|        do { \
  |  |  467|      1|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 1]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|      1|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 1]
  |  |  ------------------
  ------------------
   76|      1|    xmlSecAssert2(readFunc != NULL, NULL);
  ------------------
  |  |  466|      1|        do { \
  |  |  467|      1|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 1]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|      1|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 1]
  |  |  ------------------
  ------------------
   77|      1|    xmlSecAssert2(closeFunc != NULL, NULL);
  ------------------
  |  |  466|      1|        do { \
  |  |  467|      1|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 1]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|      1|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 1]
  |  |  ------------------
  ------------------
   78|       |
   79|       |    /* Allocate a new xmlSecIOCallback and fill the fields. */
   80|      1|    callbacks = (xmlSecIOCallbackPtr)xmlMalloc(sizeof(xmlSecIOCallback));
   81|      1|    if(callbacks == NULL) {
  ------------------
  |  Branch (81:8): [True: 0, False: 1]
  ------------------
   82|      0|        xmlSecMallocError(sizeof(xmlSecIOCallback), NULL);
  ------------------
  |  |  116|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  117|      0|                    (const char*)(errorObject),             \
  |  |  118|      0|                    "xmlMalloc",                            \
  |  |  119|      0|                    XMLSEC_ERRORS_R_MALLOC_FAILED,          \
  |  |  ------------------
  |  |  |  |   38|      0|#define XMLSEC_ERRORS_R_MALLOC_FAILED                   2
  |  |  ------------------
  |  |  120|      0|                    "size=" XMLSEC_SIZE_T_FMT, (size_t)(allocSize) \
  |  |  ------------------
  |  |  |  |   75|      0|#define XMLSEC_SIZE_T_FMT                      "%zu"
  |  |  ------------------
  |  |  121|      0|        )
  ------------------
   83|      0|        return(NULL);
   84|      0|    }
   85|      1|    memset(callbacks, 0, sizeof(xmlSecIOCallback));
   86|       |
   87|      1|    callbacks->matchcallback = matchFunc;
   88|      1|    callbacks->opencallback  = openFunc;
   89|      1|    callbacks->readcallback  = readFunc;
   90|      1|    callbacks->closecallback = closeFunc;
   91|       |
   92|      1|    return(callbacks);
   93|      1|}

xmlSecKeyInfoCtxCreate:
  233|    802|xmlSecKeyInfoCtxCreate(xmlSecKeysMngrPtr keysMngr) {
  234|    802|    xmlSecKeyInfoCtxPtr keyInfoCtx;
  235|    802|    int ret;
  236|       |
  237|       |    /* Allocate a new xmlSecKeyInfoCtx and fill the fields. */
  238|    802|    keyInfoCtx = (xmlSecKeyInfoCtxPtr)xmlMalloc(sizeof(xmlSecKeyInfoCtx));
  239|    802|    if(keyInfoCtx == NULL) {
  ------------------
  |  Branch (239:8): [True: 0, False: 802]
  ------------------
  240|      0|        xmlSecMallocError(sizeof(xmlSecKeyInfoCtx), NULL);
  ------------------
  |  |  116|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  117|      0|                    (const char*)(errorObject),             \
  |  |  118|      0|                    "xmlMalloc",                            \
  |  |  119|      0|                    XMLSEC_ERRORS_R_MALLOC_FAILED,          \
  |  |  ------------------
  |  |  |  |   38|      0|#define XMLSEC_ERRORS_R_MALLOC_FAILED                   2
  |  |  ------------------
  |  |  120|      0|                    "size=" XMLSEC_SIZE_T_FMT, (size_t)(allocSize) \
  |  |  ------------------
  |  |  |  |   75|      0|#define XMLSEC_SIZE_T_FMT                      "%zu"
  |  |  ------------------
  |  |  121|      0|        )
  ------------------
  241|      0|        return(NULL);
  242|      0|    }
  243|       |
  244|    802|    ret = xmlSecKeyInfoCtxInitialize(keyInfoCtx, keysMngr);
  245|    802|    if(ret < 0) {
  ------------------
  |  Branch (245:8): [True: 0, False: 802]
  ------------------
  246|      0|        xmlSecInternalError("xmlSecKeyInfoCtxInitialize", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  247|      0|        xmlSecKeyInfoCtxDestroy(keyInfoCtx);
  248|      0|        return(NULL);
  249|      0|    }
  250|       |
  251|    802|    return(keyInfoCtx);
  252|    802|}
xmlSecKeyInfoCtxDestroy:
  260|    802|xmlSecKeyInfoCtxDestroy(xmlSecKeyInfoCtxPtr keyInfoCtx) {
  261|    802|    xmlSecAssert(keyInfoCtx != NULL);
  ------------------
  |  |  449|    802|        do { \
  |  |  450|    802|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (450:16): [True: 0, False: 802]
  |  |  ------------------
  |  |  451|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  452|      0|                            NULL, \
  |  |  453|      0|                            #p, \
  |  |  454|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  455|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  456|      0|                return; \
  |  |  457|      0|            } \
  |  |  458|    802|        } while(0)
  |  |  ------------------
  |  |  |  Branch (458:17): [Folded, False: 802]
  |  |  ------------------
  ------------------
  262|       |
  263|    802|    xmlSecKeyInfoCtxFinalize(keyInfoCtx);
  264|    802|    xmlFree(keyInfoCtx);
  265|    802|}
xmlSecKeyInfoCtxInitialize:
  277|    802|xmlSecKeyInfoCtxInitialize(xmlSecKeyInfoCtxPtr keyInfoCtx, xmlSecKeysMngrPtr keysMngr) {
  278|    802|    int ret;
  279|       |
  280|    802|    xmlSecAssert2(keyInfoCtx != NULL, -1);
  ------------------
  |  |  466|    802|        do { \
  |  |  467|    802|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 802]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|    802|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 802]
  |  |  ------------------
  ------------------
  281|       |
  282|    802|    memset(keyInfoCtx, 0, sizeof(xmlSecKeyInfoCtx));
  283|    802|    keyInfoCtx->keysMngr = keysMngr;
  284|    802|    keyInfoCtx->base64LineSize = xmlSecBase64GetDefaultLineSize();
  285|    802|    ret = xmlSecPtrListInitialize(&(keyInfoCtx->enabledKeyData), xmlSecKeyDataIdListId);
  ------------------
  |  |  542|    802|#define xmlSecKeyDataIdListId   xmlSecKeyDataIdListGetKlass()
  ------------------
  286|    802|    if(ret < 0) {
  ------------------
  |  Branch (286:8): [True: 0, False: 802]
  ------------------
  287|      0|        xmlSecInternalError("xmlSecPtrListInitialize", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  288|      0|        return(-1);
  289|      0|    }
  290|    802|    keyInfoCtx->maxKeyInfoChildren = XMLSEC_KEYINFO_DEFAULT_MAX_KEYINFO_CHILDREN;
  ------------------
  |  |  618|    802|#define XMLSEC_KEYINFO_DEFAULT_MAX_KEYINFO_CHILDREN             10
  ------------------
  291|       |
  292|    802|    keyInfoCtx->maxRetrievalMethodLevel = XMLSEC_KEYINFO_DEFAULT_MAX_RETRIEVAL_METHOD_LEVEL;
  ------------------
  |  |  638|    802|#define XMLSEC_KEYINFO_DEFAULT_MAX_RETRIEVAL_METHOD_LEVEL       1
  ------------------
  293|    802|    ret = xmlSecTransformCtxInitialize(&(keyInfoCtx->retrievalMethodCtx));
  294|    802|    if(ret < 0) {
  ------------------
  |  Branch (294:8): [True: 0, False: 802]
  ------------------
  295|      0|        xmlSecInternalError("xmlSecTransformCtxInitialize(retrievalMethodCtx)", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  296|      0|        return(-1);
  297|      0|    }
  298|       |
  299|    802|    keyInfoCtx->maxKeyInfoReferenceLevel = XMLSEC_KEYINFO_DEFAULT_MAX_KEYINFO_REFERENCE_LEVEL;
  ------------------
  |  |  628|    802|#define XMLSEC_KEYINFO_DEFAULT_MAX_KEYINFO_REFERENCE_LEVEL      1
  ------------------
  300|    802|    ret = xmlSecTransformCtxInitialize(&(keyInfoCtx->keyInfoReferenceCtx));
  301|    802|    if(ret < 0) {
  ------------------
  |  Branch (301:8): [True: 0, False: 802]
  ------------------
  302|      0|        xmlSecInternalError("xmlSecTransformCtxInitialize(keyInfoReferenceCtx)", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  303|      0|        return(-1);
  304|      0|    }
  305|       |
  306|    802|#ifndef XMLSEC_NO_XMLENC
  307|    802|    keyInfoCtx->maxEncryptedKeyLevel = XMLSEC_KEYINFO_DEFAULT_MAX_ENCRYPTED_KEY_LEVEL;
  ------------------
  |  |  651|    802|#define XMLSEC_KEYINFO_DEFAULT_MAX_ENCRYPTED_KEY_LEVEL          1
  ------------------
  308|    802|#endif /* XMLSEC_NO_XMLENC */
  309|       |
  310|    802|#ifndef XMLSEC_NO_X509
  311|    802|    keyInfoCtx->certsVerificationDepth = XMLSEC_KEYINFO_DEFAULT_MAX_CERT_VERIFICATION_DEPTH;
  ------------------
  |  |  662|    802|#define XMLSEC_KEYINFO_DEFAULT_MAX_CERT_VERIFICATION_DEPTH      9
  ------------------
  312|    802|#endif /* XMLSEC_NO_X509 */
  313|       |
  314|    802|    ret = xmlSecKeyReqInitialize(&(keyInfoCtx->keyReq));
  315|    802|    if(ret < 0) {
  ------------------
  |  Branch (315:8): [True: 0, False: 802]
  ------------------
  316|      0|        xmlSecInternalError("xmlSecKeyReqInitialize", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  317|      0|        return(-1);
  318|      0|    }
  319|       |
  320|    802|    return(0);
  321|    802|}
xmlSecKeyInfoCtxFinalize:
  330|    802|xmlSecKeyInfoCtxFinalize(xmlSecKeyInfoCtxPtr keyInfoCtx) {
  331|    802|    xmlSecAssert(keyInfoCtx != NULL);
  ------------------
  |  |  449|    802|        do { \
  |  |  450|    802|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (450:16): [True: 0, False: 802]
  |  |  ------------------
  |  |  451|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  452|      0|                            NULL, \
  |  |  453|      0|                            #p, \
  |  |  454|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  455|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  456|      0|                return; \
  |  |  457|      0|            } \
  |  |  458|    802|        } while(0)
  |  |  ------------------
  |  |  |  Branch (458:17): [Folded, False: 802]
  |  |  ------------------
  ------------------
  332|       |
  333|    802|    xmlSecPtrListFinalize(&(keyInfoCtx->enabledKeyData));
  334|    802|    xmlSecTransformCtxFinalize(&(keyInfoCtx->retrievalMethodCtx));
  335|    802|    xmlSecTransformCtxFinalize(&(keyInfoCtx->keyInfoReferenceCtx));
  336|    802|    xmlSecKeyReqFinalize(&(keyInfoCtx->keyReq));
  337|       |
  338|    802|#ifndef XMLSEC_NO_XMLENC
  339|    802|    if(keyInfoCtx->encCtx != NULL) {
  ------------------
  |  Branch (339:8): [True: 0, False: 802]
  ------------------
  340|      0|        xmlSecEncCtxDestroy(keyInfoCtx->encCtx);
  341|      0|    }
  342|    802|#endif /* XMLSEC_NO_XMLENC */
  343|       |
  344|    802|    memset(keyInfoCtx, 0, sizeof(xmlSecKeyInfoCtx));
  345|    802|}
xmlSecKeyDataNameGetKlass:
  725|      1|xmlSecKeyDataNameGetKlass(void) {
  726|      1|    return(&xmlSecKeyDataNameKlass);
  727|      1|}
xmlSecKeyDataValueGetKlass:
  897|      1|xmlSecKeyDataValueGetKlass(void) {
  898|      1|    return(&xmlSecKeyDataValueKlass);
  899|      1|}
xmlSecKeyDataRetrievalMethodGetKlass:
 1112|      1|xmlSecKeyDataRetrievalMethodGetKlass(void) {
 1113|      1|    return(&xmlSecKeyDataRetrievalMethodKlass);
 1114|      1|}
xmlSecKeyDataKeyInfoReferenceGetKlass:
 1424|      1|xmlSecKeyDataKeyInfoReferenceGetKlass(void) {
 1425|      1|    return(&xmlSecKeyDataKeyInfoReferenceKlass);
 1426|      1|}
xmlSecKeyDataEncryptedKeyGetKlass:
 1642|      1|xmlSecKeyDataEncryptedKeyGetKlass(void) {
 1643|      1|    return(&xmlSecKeyDataEncryptedKeyKlass);
 1644|      1|}
xmlSecKeyDataDerivedKeyGetKlass:
 1805|      1|xmlSecKeyDataDerivedKeyGetKlass(void) {
 1806|      1|    return(&xmlSecKeyDataDerivedKeyKlass);
 1807|      1|}
xmlSecKeyDataAgreementMethodGetKlass:
 1968|      1|xmlSecKeyDataAgreementMethodGetKlass(void) {
 1969|      1|    return(&xmlSecKeyDataAgreementMethodKlass);
 1970|      1|}

xmlSecKeyUseWithPtrListGetKlass:
  302|    802|xmlSecKeyUseWithPtrListGetKlass(void) {
  303|    802|    return(&xmlSecKeyUseWithPtrListKlass);
  304|    802|}
xmlSecKeyReqInitialize:
  320|    802|xmlSecKeyReqInitialize(xmlSecKeyReqPtr keyReq) {
  321|    802|    int ret;
  322|       |
  323|    802|    xmlSecAssert2(keyReq != NULL, -1);
  ------------------
  |  |  466|    802|        do { \
  |  |  467|    802|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 802]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|    802|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 802]
  |  |  ------------------
  ------------------
  324|       |
  325|    802|    memset(keyReq, 0, sizeof(xmlSecKeyReq));
  326|       |
  327|    802|    keyReq->keyUsage    = xmlSecKeyUsageAny;    /* by default you can do whatever you want with the key */
  ------------------
  |  |   85|    802|#define xmlSecKeyUsageAny               0xFFFFFFFF
  ------------------
  328|    802|    ret = xmlSecPtrListInitialize(&keyReq->keyUseWithList, xmlSecKeyUseWithPtrListId);
  ------------------
  |  |  125|    802|#define xmlSecKeyUseWithPtrListId       xmlSecKeyUseWithPtrListGetKlass()
  ------------------
  329|    802|    if(ret < 0) {
  ------------------
  |  Branch (329:8): [True: 0, False: 802]
  ------------------
  330|      0|        xmlSecInternalError("xmlSecPtrListInitialize", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  331|      0|        return(-1);
  332|      0|    }
  333|       |
  334|    802|    return(0);
  335|    802|}
xmlSecKeyReqFinalize:
  344|    802|xmlSecKeyReqFinalize(xmlSecKeyReqPtr keyReq) {
  345|    802|    xmlSecAssert(keyReq != NULL);
  ------------------
  |  |  449|    802|        do { \
  |  |  450|    802|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (450:16): [True: 0, False: 802]
  |  |  ------------------
  |  |  451|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  452|      0|                            NULL, \
  |  |  453|      0|                            #p, \
  |  |  454|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  455|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  456|      0|                return; \
  |  |  457|      0|            } \
  |  |  458|    802|        } while(0)
  |  |  ------------------
  |  |  |  Branch (458:17): [Folded, False: 802]
  |  |  ------------------
  ------------------
  346|       |
  347|    802|    xmlSecPtrListFinalize(&keyReq->keyUseWithList);
  348|    802|    memset(keyReq, 0, sizeof(xmlSecKeyReq));
  349|    802|}
xmlSecKeyPtrListGetKlass:
 1397|    802|xmlSecKeyPtrListGetKlass(void) {
 1398|    802|    return(&xmlSecKeyPtrListKlass);
 1399|    802|}

xmlSecKeyDataIdsInit:
   74|      1|xmlSecKeyDataIdsInit(void) {
   75|      1|    int ret;
   76|       |
   77|      1|    ret = xmlSecPtrListInitialize(&xmlSecAllKeyDataIds, xmlSecKeyDataIdListId);
  ------------------
  |  |  542|      1|#define xmlSecKeyDataIdListId   xmlSecKeyDataIdListGetKlass()
  ------------------
   78|      1|    if(ret < 0) {
  ------------------
  |  Branch (78:8): [True: 0, False: 1]
  ------------------
   79|      0|        xmlSecInternalError("xmlSecPtrListInitialize(&xmlSecAllKeyDataIds)", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
   80|      0|        return(-1);
   81|      0|    }
   82|       |
   83|      1|    ret = xmlSecPtrListInitialize(&xmlSecEnabledKeyDataIds, xmlSecKeyDataIdListId);
  ------------------
  |  |  542|      1|#define xmlSecKeyDataIdListId   xmlSecKeyDataIdListGetKlass()
  ------------------
   84|      1|    if(ret < 0) {
  ------------------
  |  Branch (84:8): [True: 0, False: 1]
  ------------------
   85|      0|        xmlSecInternalError("xmlSecPtrListInitialize(&xmlSecEnabledKeyDataIds)", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
   86|      0|        return(-1);
   87|      0|    }
   88|       |
   89|      1|    ret = xmlSecKeyDataIdsRegisterDefault();
   90|      1|    if(ret < 0) {
  ------------------
  |  Branch (90:8): [True: 0, False: 1]
  ------------------
   91|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDefault", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
   92|      0|        return(-1);
   93|      0|    }
   94|       |
   95|      1|    return(0);
   96|      1|}
xmlSecKeyDataIdsRegister:
  120|      8|xmlSecKeyDataIdsRegister(xmlSecKeyDataId id) {
  121|      8|    int ret;
  122|       |
  123|      8|    xmlSecAssert2(id != xmlSecKeyDataIdUnknown, -1);
  ------------------
  |  |  466|      8|        do { \
  |  |  467|      8|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 8]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|      8|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 8]
  |  |  ------------------
  ------------------
  124|      8|    xmlSecAssert2(id->klassSize >= sizeof(xmlSecKeyDataKlass), -1);
  ------------------
  |  |  466|      8|        do { \
  |  |  467|      8|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 8]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|      8|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 8]
  |  |  ------------------
  ------------------
  125|      8|    xmlSecAssert2(id->objSize >= sizeof(xmlSecKeyData), -1);
  ------------------
  |  |  466|      8|        do { \
  |  |  467|      8|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 8]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|      8|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 8]
  |  |  ------------------
  ------------------
  126|      8|    xmlSecAssert2(id->name != NULL, -1);
  ------------------
  |  |  466|      8|        do { \
  |  |  467|      8|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 8]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|      8|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 8]
  |  |  ------------------
  ------------------
  127|       |
  128|      8|    ret = xmlSecPtrListAdd(&xmlSecAllKeyDataIds, (xmlSecPtr)id);
  129|      8|    if(ret < 0) {
  ------------------
  |  Branch (129:8): [True: 0, False: 8]
  ------------------
  130|      0|        xmlSecInternalError("xmlSecPtrListAdd(&xmlSecAllKeyDataIds)", xmlSecKeyDataKlassGetName(id));
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  ------------------
  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  131|      0|        return(-1);
  132|      0|    }
  133|       |
  134|      8|    ret = xmlSecPtrListAdd(&xmlSecEnabledKeyDataIds, (xmlSecPtr)id);
  135|      8|    if(ret < 0) {
  ------------------
  |  Branch (135:8): [True: 0, False: 8]
  ------------------
  136|      0|        xmlSecInternalError("xmlSecPtrListAdd(&xmlSecEnabledKeyDataIds)", xmlSecKeyDataKlassGetName(id));
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  ------------------
  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  137|       |
  138|       |        /* roll back the add to the "all" list: the klass was just appended,
  139|       |         * so it is the last item in the list */
  140|      0|        ret = xmlSecPtrListRemove(&xmlSecAllKeyDataIds, xmlSecPtrListGetSize(&xmlSecAllKeyDataIds) - 1);
  141|      0|        if(ret < 0) {
  ------------------
  |  Branch (141:12): [True: 0, False: 0]
  ------------------
  142|      0|            xmlSecInternalError("xmlSecPtrListRemove(&xmlSecAllKeyDataIds)", xmlSecKeyDataKlassGetName(id));
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  ------------------
  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  143|      0|        }
  144|      0|        return(-1);
  145|      0|    }
  146|       |
  147|      8|    return(0);
  148|      8|}
xmlSecKeyDataIdsRegisterDisabled:
  161|     15|xmlSecKeyDataIdsRegisterDisabled(xmlSecKeyDataId id) {
  162|     15|    int ret;
  163|       |
  164|     15|    xmlSecAssert2(id != xmlSecKeyDataIdUnknown, -1);
  ------------------
  |  |  466|     15|        do { \
  |  |  467|     15|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 15]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|     15|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 15]
  |  |  ------------------
  ------------------
  165|     15|    xmlSecAssert2(id->klassSize >= sizeof(xmlSecKeyDataKlass), -1);
  ------------------
  |  |  466|     15|        do { \
  |  |  467|     15|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 15]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|     15|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 15]
  |  |  ------------------
  ------------------
  166|     15|    xmlSecAssert2(id->objSize >= sizeof(xmlSecKeyData), -1);
  ------------------
  |  |  466|     15|        do { \
  |  |  467|     15|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 15]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|     15|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 15]
  |  |  ------------------
  ------------------
  167|     15|    xmlSecAssert2(id->name != NULL, -1);
  ------------------
  |  |  466|     15|        do { \
  |  |  467|     15|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 15]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|     15|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 15]
  |  |  ------------------
  ------------------
  168|       |
  169|     15|    ret = xmlSecPtrListAdd(&xmlSecAllKeyDataIds, (xmlSecPtr)id);
  170|     15|    if(ret < 0) {
  ------------------
  |  Branch (170:8): [True: 0, False: 15]
  ------------------
  171|      0|        xmlSecInternalError("xmlSecPtrListAdd(&xmlSecAllKeyDataIds)", xmlSecKeyDataKlassGetName(id));
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  ------------------
  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  172|      0|        return(-1);
  173|      0|    }
  174|       |
  175|     15|    return(0);
  176|     15|}
xmlSecKeyDataIdsRegisterDefault:
  187|      1|xmlSecKeyDataIdsRegisterDefault(void) {
  188|      1|    if(xmlSecKeyDataIdsRegister(xmlSecKeyDataNameId) < 0) {
  ------------------
  |  |  239|      1|#define xmlSecKeyDataNameId             xmlSecKeyDataNameGetKlass()
  ------------------
  |  Branch (188:8): [True: 0, False: 1]
  ------------------
  189|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegister(xmlSecKeyDataNameId)", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  190|      0|        return(-1);
  191|      0|    }
  192|       |
  193|      1|    if(xmlSecKeyDataIdsRegister(xmlSecKeyDataRetrievalMethodId) < 0) {
  ------------------
  |  |  251|      1|#define xmlSecKeyDataRetrievalMethodId  xmlSecKeyDataRetrievalMethodGetKlass()
  ------------------
  |  Branch (193:8): [True: 0, False: 1]
  ------------------
  194|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegister(xmlSecKeyDataRetrievalMethodId)", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  195|      0|        return(-1);
  196|      0|    }
  197|       |
  198|      1|    if(xmlSecKeyDataIdsRegister(xmlSecKeyDataKeyInfoReferenceId) < 0) {
  ------------------
  |  |  257|      1|#define xmlSecKeyDataKeyInfoReferenceId xmlSecKeyDataKeyInfoReferenceGetKlass()
  ------------------
  |  Branch (198:8): [True: 0, False: 1]
  ------------------
  199|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegister(xmlSecKeyDataKeyInfoReferenceId)", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  200|      0|        return(-1);
  201|      0|    }
  202|       |
  203|      1|#ifndef XMLSEC_NO_XMLENC
  204|      1|    if(xmlSecKeyDataIdsRegister(xmlSecKeyDataEncryptedKeyId) < 0) {
  ------------------
  |  |  264|      1|#define xmlSecKeyDataEncryptedKeyId     xmlSecKeyDataEncryptedKeyGetKlass()
  ------------------
  |  Branch (204:8): [True: 0, False: 1]
  ------------------
  205|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegister(xmlSecKeyDataEncryptedKeyId)", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  206|      0|        return(-1);
  207|      0|    }
  208|      1|    if(xmlSecKeyDataIdsRegister(xmlSecKeyDataAgreementMethodId) < 0) {
  ------------------
  |  |  270|      1|#define xmlSecKeyDataAgreementMethodId  xmlSecKeyDataAgreementMethodGetKlass()
  ------------------
  |  Branch (208:8): [True: 0, False: 1]
  ------------------
  209|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegister(xmlSecKeyDataAgreementMethodId)", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  210|      0|        return(-1);
  211|      0|    }
  212|      1|    if(xmlSecKeyDataIdsRegister(xmlSecKeyDataDerivedKeyId) < 0) {
  ------------------
  |  |  276|      1|#define xmlSecKeyDataDerivedKeyId       xmlSecKeyDataDerivedKeyGetKlass()
  ------------------
  |  Branch (212:8): [True: 0, False: 1]
  ------------------
  213|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegister(xmlSecKeyDataDerivedKeyId)", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  214|      0|        return(-1);
  215|      0|    }
  216|       |
  217|      1|#endif /* XMLSEC_NO_XMLENC */
  218|       |
  219|       |    /* KeyValue key data should not be used in production w/o understanding of the security risks */
  220|      1|    if(xmlSecKeyDataIdsRegisterDisabled(xmlSecKeyDataValueId) < 0) {
  ------------------
  |  |  245|      1|#define xmlSecKeyDataValueId            xmlSecKeyDataValueGetKlass()
  ------------------
  |  Branch (220:8): [True: 0, False: 1]
  ------------------
  221|      0|        xmlSecInternalError("xmlSecKeyDataIdsRegisterDisabled(xmlSecKeyDataValueId)", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  222|      0|        return(-1);
  223|      0|    }
  224|       |
  225|      1|    return(0);
  226|      1|}
xmlSecKeyDataIdListGetKlass:
  611|    804|xmlSecKeyDataIdListGetKlass(void) {
  612|    804|    return(&xmlSecKeyDataIdListKlass);
  613|    804|}
xmlSecKeyDataStoreCreate:
  828|    802|xmlSecKeyDataStoreCreate(xmlSecKeyDataStoreId id) {
  829|    802|    xmlSecKeyDataStorePtr store;
  830|    802|    int ret;
  831|       |
  832|    802|    xmlSecAssert2(id != NULL, NULL);
  ------------------
  |  |  466|    802|        do { \
  |  |  467|    802|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 802]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|    802|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 802]
  |  |  ------------------
  ------------------
  833|    802|    xmlSecAssert2(id->name != NULL, NULL);
  ------------------
  |  |  466|    802|        do { \
  |  |  467|    802|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 802]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|    802|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 802]
  |  |  ------------------
  ------------------
  834|    802|    xmlSecAssert2(id->klassSize >= sizeof(xmlSecKeyDataStoreKlass), NULL);
  ------------------
  |  |  466|    802|        do { \
  |  |  467|    802|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 802]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|    802|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 802]
  |  |  ------------------
  ------------------
  835|    802|    xmlSecAssert2(id->objSize >= sizeof(xmlSecKeyDataStore), NULL);
  ------------------
  |  |  466|    802|        do { \
  |  |  467|    802|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 802]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|    802|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 802]
  |  |  ------------------
  ------------------
  836|       |
  837|       |    /* Allocate a new xmlSecKeyDataStore and fill the fields. */
  838|    802|    store = (xmlSecKeyDataStorePtr)xmlMalloc(id->objSize);
  839|    802|    if(store == NULL) {
  ------------------
  |  Branch (839:8): [True: 0, False: 802]
  ------------------
  840|      0|        xmlSecMallocError(id->objSize,
  ------------------
  |  |  116|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  117|      0|                    (const char*)(errorObject),             \
  |  |  ------------------
  |  |  |  Branch (117:35): [True: 0, False: 0]
  |  |  ------------------
  |  |  118|      0|                    "xmlMalloc",                            \
  |  |  119|      0|                    XMLSEC_ERRORS_R_MALLOC_FAILED,          \
  |  |  ------------------
  |  |  |  |   38|      0|#define XMLSEC_ERRORS_R_MALLOC_FAILED                   2
  |  |  ------------------
  |  |  120|      0|                    "size=" XMLSEC_SIZE_T_FMT, (size_t)(allocSize) \
  |  |  ------------------
  |  |  |  |   75|      0|#define XMLSEC_SIZE_T_FMT                      "%zu"
  |  |  ------------------
  |  |  121|      0|        )
  ------------------
  841|      0|                          xmlSecKeyDataStoreKlassGetName(id));
  842|      0|        return(NULL);
  843|      0|    }
  844|    802|    memset(store, 0, id->objSize);
  845|    802|    store->id = id;
  846|       |
  847|    802|    if(id->initialize != NULL) {
  ------------------
  |  Branch (847:8): [True: 802, False: 0]
  ------------------
  848|    802|        ret = (id->initialize)(store);
  849|    802|        if(ret < 0) {
  ------------------
  |  Branch (849:12): [True: 0, False: 802]
  ------------------
  850|      0|            xmlSecInternalError("id->initialize",
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  ------------------
  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  851|      0|                                xmlSecKeyDataStoreKlassGetName(id));
  852|      0|            xmlSecKeyDataStoreDestroy(store);
  853|      0|            return(NULL);
  854|      0|        }
  855|    802|    }
  856|       |
  857|    802|    return(store);
  858|    802|}
xmlSecKeyDataStoreDestroy:
  867|    802|xmlSecKeyDataStoreDestroy(xmlSecKeyDataStorePtr store) {
  868|    802|    xmlSecAssert(xmlSecKeyDataStoreIsValid(store));
  ------------------
  |  |  449|    802|        do { \
  |  |  450|  6.41k|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (450:19): [True: 802, False: 0]
  |  |  |  Branch (450:19): [True: 802, False: 0]
  |  |  |  Branch (450:19): [True: 802, False: 0]
  |  |  |  Branch (450:19): [True: 802, False: 0]
  |  |  |  Branch (450:19): [True: 802, False: 0]
  |  |  ------------------
  |  |  451|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  452|      0|                            NULL, \
  |  |  453|      0|                            #p, \
  |  |  454|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  455|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  456|      0|                return; \
  |  |  457|      0|            } \
  |  |  458|    802|        } while(0)
  |  |  ------------------
  |  |  |  Branch (458:17): [Folded, False: 802]
  |  |  ------------------
  ------------------
  869|    802|    xmlSecAssert(store->id->objSize > 0);
  ------------------
  |  |  449|    802|        do { \
  |  |  450|    802|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (450:16): [True: 0, False: 802]
  |  |  ------------------
  |  |  451|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  452|      0|                            NULL, \
  |  |  453|      0|                            #p, \
  |  |  454|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  455|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  456|      0|                return; \
  |  |  457|      0|            } \
  |  |  458|    802|        } while(0)
  |  |  ------------------
  |  |  |  Branch (458:17): [Folded, False: 802]
  |  |  ------------------
  ------------------
  870|       |
  871|    802|    if(store->id->finalize != NULL) {
  ------------------
  |  Branch (871:8): [True: 802, False: 0]
  ------------------
  872|    802|        (store->id->finalize)(store);
  873|    802|    }
  874|    802|    xmlSecMemCleanse(store, store->id->objSize);
  875|    802|    xmlFree(store);
  876|    802|}
xmlSecKeyDataStorePtrListGetKlass:
  899|    802|xmlSecKeyDataStorePtrListGetKlass(void) {
  900|    802|    return(&xmlSecKeyDataStorePtrListKlass);
  901|    802|}
keysdata.c:xmlSecKeyDataStorePtrListDestroyItem:
  905|    802|xmlSecKeyDataStorePtrListDestroyItem(xmlSecPtr ptr) {
  906|    802|    xmlSecKeyDataStoreDestroy((xmlSecKeyDataStorePtr)ptr);
  907|    802|}

xmlSecKeysMngrCreate:
   47|    802|xmlSecKeysMngrCreate(void) {
   48|    802|    xmlSecKeysMngrPtr mngr;
   49|    802|    int ret;
   50|       |
   51|       |    /* Allocate a new xmlSecKeysMngr and fill the fields. */
   52|    802|    mngr = (xmlSecKeysMngrPtr)xmlMalloc(sizeof(xmlSecKeysMngr));
   53|    802|    if(mngr == NULL) {
  ------------------
  |  Branch (53:8): [True: 0, False: 802]
  ------------------
   54|      0|        xmlSecMallocError(sizeof(xmlSecKeysMngr), NULL);
  ------------------
  |  |  116|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  117|      0|                    (const char*)(errorObject),             \
  |  |  118|      0|                    "xmlMalloc",                            \
  |  |  119|      0|                    XMLSEC_ERRORS_R_MALLOC_FAILED,          \
  |  |  ------------------
  |  |  |  |   38|      0|#define XMLSEC_ERRORS_R_MALLOC_FAILED                   2
  |  |  ------------------
  |  |  120|      0|                    "size=" XMLSEC_SIZE_T_FMT, (size_t)(allocSize) \
  |  |  ------------------
  |  |  |  |   75|      0|#define XMLSEC_SIZE_T_FMT                      "%zu"
  |  |  ------------------
  |  |  121|      0|        )
  ------------------
   55|      0|        return(NULL);
   56|      0|    }
   57|    802|    memset(mngr, 0, sizeof(xmlSecKeysMngr));
   58|       |
   59|    802|    ret = xmlSecPtrListInitialize(&(mngr->storesList), xmlSecKeyDataStorePtrListId);
  ------------------
  |  |  685|    802|#define xmlSecKeyDataStorePtrListId     xmlSecKeyDataStorePtrListGetKlass()
  ------------------
   60|    802|    if(ret < 0) {
  ------------------
  |  Branch (60:8): [True: 0, False: 802]
  ------------------
   61|      0|        xmlSecInternalError("xmlSecPtrListInitialize(xmlSecKeyDataStorePtrListId)", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
   62|      0|        xmlFree(mngr);
   63|      0|        return(NULL);
   64|      0|    }
   65|       |
   66|    802|    return(mngr);
   67|    802|}
xmlSecKeysMngrDestroy:
   75|    802|xmlSecKeysMngrDestroy(xmlSecKeysMngrPtr mngr) {
   76|    802|    xmlSecAssert(mngr != NULL);
  ------------------
  |  |  449|    802|        do { \
  |  |  450|    802|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (450:16): [True: 0, False: 802]
  |  |  ------------------
  |  |  451|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  452|      0|                            NULL, \
  |  |  453|      0|                            #p, \
  |  |  454|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  455|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  456|      0|                return; \
  |  |  457|      0|            } \
  |  |  458|    802|        } while(0)
  |  |  ------------------
  |  |  |  Branch (458:17): [Folded, False: 802]
  |  |  ------------------
  ------------------
   77|       |
   78|       |    /* destroy keys store */
   79|    802|    if(mngr->keysStore != NULL) {
  ------------------
  |  Branch (79:8): [True: 802, False: 0]
  ------------------
   80|    802|        xmlSecKeyStoreDestroy(mngr->keysStore);
   81|    802|    }
   82|       |
   83|       |    /* destroy other data stores */
   84|    802|    xmlSecPtrListFinalize(&(mngr->storesList));
   85|       |
   86|    802|    memset(mngr, 0, sizeof(xmlSecKeysMngr));
   87|    802|    xmlFree(mngr);
   88|    802|}
xmlSecKeysMngrAdoptKeysStore:
  154|    802|xmlSecKeysMngrAdoptKeysStore(xmlSecKeysMngrPtr mngr, xmlSecKeyStorePtr store) {
  155|    802|    xmlSecAssert2(mngr != NULL, -1);
  ------------------
  |  |  466|    802|        do { \
  |  |  467|    802|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 802]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|    802|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 802]
  |  |  ------------------
  ------------------
  156|    802|    xmlSecAssert2(xmlSecKeyStoreIsValid(store), -1);
  ------------------
  |  |  466|    802|        do { \
  |  |  467|  6.41k|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:19): [True: 802, False: 0]
  |  |  |  Branch (467:19): [True: 802, False: 0]
  |  |  |  Branch (467:19): [True: 802, False: 0]
  |  |  |  Branch (467:19): [True: 802, False: 0]
  |  |  |  Branch (467:19): [True: 802, False: 0]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|    802|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 802]
  |  |  ------------------
  ------------------
  157|       |
  158|    802|    if(mngr->keysStore == store) {
  ------------------
  |  Branch (158:8): [True: 0, False: 802]
  ------------------
  159|       |        /* already adopted, nothing to do */
  160|      0|        return(0);
  161|      0|    }
  162|    802|    if(mngr->keysStore != NULL) {
  ------------------
  |  Branch (162:8): [True: 0, False: 802]
  ------------------
  163|      0|        xmlSecKeyStoreDestroy(mngr->keysStore);
  164|      0|    }
  165|    802|    mngr->keysStore = store;
  166|       |
  167|    802|    return(0);
  168|    802|}
xmlSecKeysMngrGetKeysStore:
  178|    802|xmlSecKeysMngrGetKeysStore(xmlSecKeysMngrPtr mngr) {
  179|    802|    xmlSecAssert2(mngr != NULL, NULL);
  ------------------
  |  |  466|    802|        do { \
  |  |  467|    802|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 802]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|    802|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 802]
  |  |  ------------------
  ------------------
  180|       |
  181|    802|    return(mngr->keysStore);
  182|    802|}
xmlSecKeysMngrAdoptDataStore:
  196|    802|xmlSecKeysMngrAdoptDataStore(xmlSecKeysMngrPtr mngr, xmlSecKeyDataStorePtr store) {
  197|    802|    xmlSecKeyDataStorePtr tmp;
  198|    802|    xmlSecSize pos, size;
  199|       |
  200|    802|    xmlSecAssert2(mngr != NULL, -1);
  ------------------
  |  |  466|    802|        do { \
  |  |  467|    802|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 802]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|    802|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 802]
  |  |  ------------------
  ------------------
  201|    802|    xmlSecAssert2(xmlSecKeyDataStoreIsValid(store), -1);
  ------------------
  |  |  466|    802|        do { \
  |  |  467|  6.41k|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:19): [True: 802, False: 0]
  |  |  |  Branch (467:19): [True: 802, False: 0]
  |  |  |  Branch (467:19): [True: 802, False: 0]
  |  |  |  Branch (467:19): [True: 802, False: 0]
  |  |  |  Branch (467:19): [True: 802, False: 0]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|    802|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 802]
  |  |  ------------------
  ------------------
  202|       |
  203|    802|    size = xmlSecPtrListGetSize(&(mngr->storesList));
  204|    802|    for(pos = 0; pos < size; ++pos) {
  ------------------
  |  Branch (204:18): [True: 0, False: 802]
  ------------------
  205|      0|        tmp = (xmlSecKeyDataStorePtr)xmlSecPtrListGetItem(&(mngr->storesList), pos);
  206|      0|        if((tmp != NULL) && (tmp->id == store->id)) {
  ------------------
  |  Branch (206:12): [True: 0, False: 0]
  |  Branch (206:29): [True: 0, False: 0]
  ------------------
  207|      0|            if(tmp == store) {
  ------------------
  |  Branch (207:16): [True: 0, False: 0]
  ------------------
  208|       |                /* already adopted, nothing to do */
  209|      0|                return(0);
  210|      0|            }
  211|      0|            return(xmlSecPtrListSet(&(mngr->storesList), store, pos));
  212|      0|        }
  213|      0|    }
  214|       |
  215|    802|    return(xmlSecPtrListAdd(&(mngr->storesList), store));
  216|    802|}
xmlSecKeysMngrGetDataStore:
  229|  1.67k|xmlSecKeysMngrGetDataStore(xmlSecKeysMngrPtr mngr, xmlSecKeyDataStoreId id) {
  230|  1.67k|    xmlSecKeyDataStorePtr tmp;
  231|  1.67k|    xmlSecSize pos, size;
  232|       |
  233|  1.67k|    xmlSecAssert2(mngr != NULL, NULL);
  ------------------
  |  |  466|  1.67k|        do { \
  |  |  467|  1.67k|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 1.67k]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|  1.67k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 1.67k]
  |  |  ------------------
  ------------------
  234|  1.67k|    xmlSecAssert2(id != xmlSecKeyDataStoreIdUnknown, NULL);
  ------------------
  |  |  466|  1.67k|        do { \
  |  |  467|  1.67k|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 1.67k]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|  1.67k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 1.67k]
  |  |  ------------------
  ------------------
  235|       |
  236|  1.67k|    size = xmlSecPtrListGetSize(&(mngr->storesList));
  237|  1.67k|    for(pos = 0; pos < size; ++pos) {
  ------------------
  |  Branch (237:18): [True: 869, False: 802]
  ------------------
  238|    869|        tmp = (xmlSecKeyDataStorePtr)xmlSecPtrListGetItem(&(mngr->storesList), pos);
  239|    869|        if((tmp != NULL) && (tmp->id == id)) {
  ------------------
  |  Branch (239:12): [True: 869, False: 0]
  |  Branch (239:29): [True: 869, False: 0]
  ------------------
  240|    869|            return(tmp);
  241|    869|        }
  242|    869|    }
  243|       |
  244|    802|    return(NULL);
  245|  1.67k|}
xmlSecKeyStoreCreate:
  261|  1.60k|xmlSecKeyStoreCreate(xmlSecKeyStoreId id) {
  262|  1.60k|    xmlSecKeyStorePtr store;
  263|  1.60k|    int ret;
  264|       |
  265|  1.60k|    xmlSecAssert2(id != NULL, NULL);
  ------------------
  |  |  466|  1.60k|        do { \
  |  |  467|  1.60k|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 1.60k]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|  1.60k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 1.60k]
  |  |  ------------------
  ------------------
  266|  1.60k|    xmlSecAssert2(id->klassSize >= sizeof(xmlSecKeyStoreKlass), NULL);
  ------------------
  |  |  466|  1.60k|        do { \
  |  |  467|  1.60k|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 1.60k]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|  1.60k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 1.60k]
  |  |  ------------------
  ------------------
  267|  1.60k|    xmlSecAssert2(id->objSize >= sizeof(xmlSecKeyStore), NULL);
  ------------------
  |  |  466|  1.60k|        do { \
  |  |  467|  1.60k|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 1.60k]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|  1.60k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 1.60k]
  |  |  ------------------
  ------------------
  268|  1.60k|    xmlSecAssert2(id->name != NULL, NULL);
  ------------------
  |  |  466|  1.60k|        do { \
  |  |  467|  1.60k|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 1.60k]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|  1.60k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 1.60k]
  |  |  ------------------
  ------------------
  269|       |
  270|       |    /* Allocate a new xmlSecKeyStore and fill the fields. */
  271|  1.60k|    store = (xmlSecKeyStorePtr)xmlMalloc(id->objSize);
  272|  1.60k|    if(store == NULL) {
  ------------------
  |  Branch (272:8): [True: 0, False: 1.60k]
  ------------------
  273|      0|        xmlSecMallocError(id->objSize,
  ------------------
  |  |  116|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  117|      0|                    (const char*)(errorObject),             \
  |  |  ------------------
  |  |  |  Branch (117:35): [True: 0, False: 0]
  |  |  ------------------
  |  |  118|      0|                    "xmlMalloc",                            \
  |  |  119|      0|                    XMLSEC_ERRORS_R_MALLOC_FAILED,          \
  |  |  ------------------
  |  |  |  |   38|      0|#define XMLSEC_ERRORS_R_MALLOC_FAILED                   2
  |  |  ------------------
  |  |  120|      0|                    "size=" XMLSEC_SIZE_T_FMT, (size_t)(allocSize) \
  |  |  ------------------
  |  |  |  |   75|      0|#define XMLSEC_SIZE_T_FMT                      "%zu"
  |  |  ------------------
  |  |  121|      0|        )
  ------------------
  274|      0|                          xmlSecKeyStoreKlassGetName(id));
  275|      0|        return(NULL);
  276|      0|    }
  277|  1.60k|    memset(store, 0, id->objSize);
  278|  1.60k|    store->id = id;
  279|       |
  280|  1.60k|    if(id->initialize != NULL) {
  ------------------
  |  Branch (280:8): [True: 1.60k, False: 0]
  ------------------
  281|  1.60k|        ret = (id->initialize)(store);
  282|  1.60k|        if(ret < 0) {
  ------------------
  |  Branch (282:12): [True: 0, False: 1.60k]
  ------------------
  283|      0|            xmlSecInternalError("id->initialize",
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  ------------------
  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  284|      0|                                xmlSecKeyStoreKlassGetName(id));
  285|      0|            xmlSecKeyStoreDestroy(store);
  286|      0|            return(NULL);
  287|      0|        }
  288|  1.60k|    }
  289|       |
  290|  1.60k|    return(store);
  291|  1.60k|}
xmlSecKeyStoreDestroy:
  299|  1.60k|xmlSecKeyStoreDestroy(xmlSecKeyStorePtr store) {
  300|  1.60k|    xmlSecAssert(xmlSecKeyStoreIsValid(store));
  ------------------
  |  |  449|  1.60k|        do { \
  |  |  450|  12.8k|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (450:19): [True: 1.60k, False: 0]
  |  |  |  Branch (450:19): [True: 1.60k, False: 0]
  |  |  |  Branch (450:19): [True: 1.60k, False: 0]
  |  |  |  Branch (450:19): [True: 1.60k, False: 0]
  |  |  |  Branch (450:19): [True: 1.60k, False: 0]
  |  |  ------------------
  |  |  451|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  452|      0|                            NULL, \
  |  |  453|      0|                            #p, \
  |  |  454|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  455|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  456|      0|                return; \
  |  |  457|      0|            } \
  |  |  458|  1.60k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (458:17): [Folded, False: 1.60k]
  |  |  ------------------
  ------------------
  301|  1.60k|    xmlSecAssert(store->id->objSize > 0);
  ------------------
  |  |  449|  1.60k|        do { \
  |  |  450|  1.60k|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (450:16): [True: 0, False: 1.60k]
  |  |  ------------------
  |  |  451|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  452|      0|                            NULL, \
  |  |  453|      0|                            #p, \
  |  |  454|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  455|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  456|      0|                return; \
  |  |  457|      0|            } \
  |  |  458|  1.60k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (458:17): [Folded, False: 1.60k]
  |  |  ------------------
  ------------------
  302|       |
  303|  1.60k|    if(store->id->finalize != NULL) {
  ------------------
  |  Branch (303:8): [True: 1.60k, False: 0]
  ------------------
  304|  1.60k|        (store->id->finalize)(store);
  305|  1.60k|    }
  306|  1.60k|    xmlSecMemCleanse(store, store->id->objSize);
  307|  1.60k|    xmlFree(store);
  308|  1.60k|}
xmlSecSimpleKeysStoreGetKlass:
  392|  2.40k|xmlSecSimpleKeysStoreGetKlass(void) {
  393|  2.40k|    return(&xmlSecSimpleKeysStoreKlass);
  394|  2.40k|}
keysmngr.c:xmlSecSimpleKeysStoreInitialize:
  798|    802|xmlSecSimpleKeysStoreInitialize(xmlSecKeyStorePtr store) {
  799|    802|    xmlSecPtrListPtr list;
  800|    802|    int ret;
  801|       |
  802|    802|    xmlSecAssert2(xmlSecKeyStoreCheckId(store, xmlSecSimpleKeysStoreId), -1);
  ------------------
  |  |  466|    802|        do { \
  |  |  467|  8.02k|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:19): [True: 802, False: 0]
  |  |  |  Branch (467:19): [True: 802, False: 0]
  |  |  |  Branch (467:19): [True: 802, False: 0]
  |  |  |  Branch (467:19): [True: 802, False: 0]
  |  |  |  Branch (467:19): [True: 802, False: 0]
  |  |  |  Branch (467:19): [True: 802, False: 0]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|    802|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 802]
  |  |  ------------------
  ------------------
  803|       |
  804|    802|    list = xmlSecSimpleKeysStoreGetCtx(store);
  805|    802|    xmlSecAssert2(list != NULL, -1);
  ------------------
  |  |  466|    802|        do { \
  |  |  467|    802|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 802]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|    802|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 802]
  |  |  ------------------
  ------------------
  806|       |
  807|    802|    ret = xmlSecPtrListInitialize(list, xmlSecKeyPtrListId);
  ------------------
  |  |  259|    802|#define xmlSecKeyPtrListId      xmlSecKeyPtrListGetKlass()
  ------------------
  808|    802|    if(ret < 0) {
  ------------------
  |  Branch (808:8): [True: 0, False: 802]
  ------------------
  809|      0|        xmlSecInternalError("xmlSecPtrListInitialize(xmlSecKeyPtrListId)",
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  ------------------
  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  810|      0|                            xmlSecKeyStoreGetName(store));
  811|      0|        return(-1);
  812|      0|    }
  813|       |
  814|    802|    return(0);
  815|    802|}
keysmngr.c:xmlSecSimpleKeysStoreFinalize:
  818|    802|xmlSecSimpleKeysStoreFinalize(xmlSecKeyStorePtr store) {
  819|    802|    xmlSecPtrListPtr list;
  820|       |
  821|    802|    xmlSecAssert(xmlSecKeyStoreCheckId(store, xmlSecSimpleKeysStoreId));
  ------------------
  |  |  449|    802|        do { \
  |  |  450|  8.02k|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (450:19): [True: 802, False: 0]
  |  |  |  Branch (450:19): [True: 802, False: 0]
  |  |  |  Branch (450:19): [True: 802, False: 0]
  |  |  |  Branch (450:19): [True: 802, False: 0]
  |  |  |  Branch (450:19): [True: 802, False: 0]
  |  |  |  Branch (450:19): [True: 802, False: 0]
  |  |  ------------------
  |  |  451|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  452|      0|                            NULL, \
  |  |  453|      0|                            #p, \
  |  |  454|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  455|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  456|      0|                return; \
  |  |  457|      0|            } \
  |  |  458|    802|        } while(0)
  |  |  ------------------
  |  |  |  Branch (458:17): [Folded, False: 802]
  |  |  ------------------
  ------------------
  822|       |
  823|    802|    list = xmlSecSimpleKeysStoreGetCtx(store);
  824|    802|    xmlSecAssert(list != NULL);
  ------------------
  |  |  449|    802|        do { \
  |  |  450|    802|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (450:16): [True: 0, False: 802]
  |  |  ------------------
  |  |  451|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  452|      0|                            NULL, \
  |  |  453|      0|                            #p, \
  |  |  454|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  455|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  456|      0|                return; \
  |  |  457|      0|            } \
  |  |  458|    802|        } while(0)
  |  |  ------------------
  |  |  |  Branch (458:17): [Folded, False: 802]
  |  |  ------------------
  ------------------
  825|       |
  826|    802|    xmlSecPtrListFinalize(list);
  827|    802|}

xmlSecPtrListInitialize:
  101|  4.81k|xmlSecPtrListInitialize(xmlSecPtrListPtr list, xmlSecPtrListId id) {
  102|  4.81k|    xmlSecAssert2(id != xmlSecPtrListIdUnknown, -1);
  ------------------
  |  |  466|  4.81k|        do { \
  |  |  467|  4.81k|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 4.81k]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|  4.81k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 4.81k]
  |  |  ------------------
  ------------------
  103|  4.81k|    xmlSecAssert2(list != NULL, -1);
  ------------------
  |  |  466|  4.81k|        do { \
  |  |  467|  4.81k|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 4.81k]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|  4.81k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 4.81k]
  |  |  ------------------
  ------------------
  104|       |
  105|  4.81k|    memset(list, 0, sizeof(xmlSecPtrList));
  106|  4.81k|    list->id = id;
  107|  4.81k|    list->allocMode = gAllocMode;
  108|       |
  109|  4.81k|    return(0);
  110|  4.81k|}
xmlSecPtrListFinalize:
  118|  4.81k|xmlSecPtrListFinalize(xmlSecPtrListPtr list) {
  119|  4.81k|    xmlSecAssert(xmlSecPtrListIsValid(list));
  ------------------
  |  |  449|  4.81k|        do { \
  |  |  450|  9.62k|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (450:19): [True: 4.81k, False: 0]
  |  |  |  Branch (450:19): [True: 4.81k, False: 0]
  |  |  ------------------
  |  |  451|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  452|      0|                            NULL, \
  |  |  453|      0|                            #p, \
  |  |  454|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  455|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  456|      0|                return; \
  |  |  457|      0|            } \
  |  |  458|  4.81k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (458:17): [Folded, False: 4.81k]
  |  |  ------------------
  ------------------
  120|       |
  121|  4.81k|    xmlSecPtrListEmpty(list);
  122|  4.81k|    memset(list, 0, sizeof(xmlSecPtrList));
  123|  4.81k|}
xmlSecPtrListEmpty:
  130|  4.81k|xmlSecPtrListEmpty(xmlSecPtrListPtr list) {
  131|  4.81k|    xmlSecAssert(xmlSecPtrListIsValid(list));
  ------------------
  |  |  449|  4.81k|        do { \
  |  |  450|  9.62k|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (450:19): [True: 4.81k, False: 0]
  |  |  |  Branch (450:19): [True: 4.81k, False: 0]
  |  |  ------------------
  |  |  451|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  452|      0|                            NULL, \
  |  |  453|      0|                            #p, \
  |  |  454|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  455|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  456|      0|                return; \
  |  |  457|      0|            } \
  |  |  458|  4.81k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (458:17): [Folded, False: 4.81k]
  |  |  ------------------
  ------------------
  132|  4.81k|    xmlSecAssert((list->use == 0) || (list->data != NULL));
  ------------------
  |  |  449|  4.81k|        do { \
  |  |  450|  5.61k|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (450:19): [True: 4.01k, False: 802]
  |  |  |  Branch (450:19): [True: 802, False: 0]
  |  |  ------------------
  |  |  451|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  452|      0|                            NULL, \
  |  |  453|      0|                            #p, \
  |  |  454|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  455|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  456|      0|                return; \
  |  |  457|      0|            } \
  |  |  458|  4.81k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (458:17): [Folded, False: 4.81k]
  |  |  ------------------
  ------------------
  133|       |
  134|  4.81k|    if(list->id->destroyItem != NULL) {
  ------------------
  |  Branch (134:8): [True: 2.40k, False: 2.40k]
  ------------------
  135|  2.40k|        xmlSecSize pos;
  136|       |
  137|  3.20k|        for(pos = 0; pos < list->use; ++pos) {
  ------------------
  |  Branch (137:22): [True: 802, False: 2.40k]
  ------------------
  138|    802|            if(list->data[pos] != NULL) {
  ------------------
  |  Branch (138:16): [True: 802, False: 0]
  ------------------
  139|    802|                list->id->destroyItem(list->data[pos]);
  140|    802|            }
  141|    802|        }
  142|  2.40k|    }
  143|  4.81k|    if(list->data != NULL) {
  ------------------
  |  Branch (143:8): [True: 802, False: 4.01k]
  ------------------
  144|    802|        xmlFree(list->data);
  145|    802|    }
  146|  4.81k|    list->max = list->use = 0;
  147|       |    list->data = NULL;
  148|  4.81k|}
xmlSecPtrListGetSize:
  295|  2.47k|xmlSecPtrListGetSize(xmlSecPtrListPtr list) {
  296|  2.47k|    xmlSecAssert2(xmlSecPtrListIsValid(list), 0);
  ------------------
  |  |  466|  2.47k|        do { \
  |  |  467|  4.94k|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:19): [True: 2.47k, False: 0]
  |  |  |  Branch (467:19): [True: 2.47k, False: 0]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|  2.47k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 2.47k]
  |  |  ------------------
  ------------------
  297|       |
  298|  2.47k|    return(list->use);
  299|  2.47k|}
xmlSecPtrListGetItem:
  309|    869|xmlSecPtrListGetItem(xmlSecPtrListPtr list, xmlSecSize pos) {
  310|    869|    xmlSecAssert2(xmlSecPtrListIsValid(list), NULL);
  ------------------
  |  |  466|    869|        do { \
  |  |  467|  1.73k|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:19): [True: 869, False: 0]
  |  |  |  Branch (467:19): [True: 869, False: 0]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|    869|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 869]
  |  |  ------------------
  ------------------
  311|       |
  312|    869|    if(pos >= list->use) {
  ------------------
  |  Branch (312:8): [True: 0, False: 869]
  ------------------
  313|      0|        return(NULL);
  314|      0|    }
  315|    869|    xmlSecAssert2(list->data != NULL, NULL);
  ------------------
  |  |  466|    869|        do { \
  |  |  467|    869|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 869]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|    869|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 869]
  |  |  ------------------
  ------------------
  316|       |
  317|    869|    return(list->data[pos]);
  318|    869|}
xmlSecPtrListAdd:
  327|    923|xmlSecPtrListAdd(xmlSecPtrListPtr list, xmlSecPtr item) {
  328|    923|    int ret;
  329|       |
  330|    923|    xmlSecAssert2(xmlSecPtrListIsValid(list), -1);
  ------------------
  |  |  466|    923|        do { \
  |  |  467|  1.84k|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:19): [True: 923, False: 0]
  |  |  |  Branch (467:19): [True: 923, False: 0]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|    923|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 923]
  |  |  ------------------
  ------------------
  331|    923|    xmlSecAssert2(list->use < XMLSEC_SIZE_MAX, -1);
  ------------------
  |  |  466|    923|        do { \
  |  |  467|    923|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 923]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|    923|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 923]
  |  |  ------------------
  ------------------
  332|       |
  333|    923|    ret = xmlSecPtrListEnsureSize(list, list->use + 1);
  334|    923|    if(ret < 0) {
  ------------------
  |  Branch (334:8): [True: 0, False: 923]
  ------------------
  335|      0|        xmlSecInternalError2("xmlSecPtrListEnsureSize", xmlSecPtrListGetName(list),
  ------------------
  |  |   67|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   68|      0|                    (const char*)(errorObject),             \
  |  |  ------------------
  |  |  |  Branch (68:35): [True: 0, False: 0]
  |  |  |  Branch (68:35): [True: 0, False: 0]
  |  |  ------------------
  |  |   69|      0|                    (errorFunction),                        \
  |  |   70|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   71|      0|                    (msg), (param)                          \
  |  |   72|      0|        )
  ------------------
  336|      0|            "size=" XMLSEC_SIZE_FMT, list->use + 1);
  337|      0|        return(-1);
  338|      0|    }
  339|       |
  340|    923|    list->data[list->use++] = item;
  341|    923|    return(0);
  342|    923|}
list.c:xmlSecPtrListEnsureSize:
  614|    923|xmlSecPtrListEnsureSize(xmlSecPtrListPtr list, xmlSecSize size) {
  615|    923|    xmlSecPtr* newData;
  616|    923|    xmlSecSize newSize = 0;
  617|       |
  618|    923|    xmlSecAssert2(xmlSecPtrListIsValid(list), -1);
  ------------------
  |  |  466|    923|        do { \
  |  |  467|  1.84k|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:19): [True: 923, False: 0]
  |  |  |  Branch (467:19): [True: 923, False: 0]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|    923|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 923]
  |  |  ------------------
  ------------------
  619|       |
  620|    923|    if(size <= list->max) {
  ------------------
  |  Branch (620:8): [True: 116, False: 807]
  ------------------
  621|    116|        return(0);
  622|    116|    }
  623|       |
  624|    807|    switch(list->allocMode) {
  625|      0|        case xmlSecAllocModeExact:
  ------------------
  |  Branch (625:9): [True: 0, False: 807]
  ------------------
  626|      0|            if(size > (XMLSEC_SIZE_MAX - 8)) {
  ------------------
  |  |   90|      0|#define XMLSEC_SIZE_MAX                         SIZE_MAX
  ------------------
  |  Branch (626:16): [True: 0, False: 0]
  ------------------
  627|      0|                xmlSecInvalidSizeMoreThanError("size", size, (XMLSEC_SIZE_MAX - 8), NULL);
  ------------------
  |  |  367|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  368|      0|                    (const char*)(errorObject),             \
  |  |  369|      0|                    NULL,                                   \
  |  |  370|      0|                    XMLSEC_ERRORS_R_INVALID_SIZE,           \
  |  |  ------------------
  |  |  |  |   84|      0|#define XMLSEC_ERRORS_R_INVALID_SIZE                    11
  |  |  ------------------
  |  |  371|      0|                    "invalid size for '%s': actual=" XMLSEC_SIZE_FMT " is greater than expected=" XMLSEC_SIZE_FMT, \
  |  |  ------------------
  |  |  |  |   94|      0|#define XMLSEC_SIZE_FMT                         XMLSEC_SIZE_T_FMT
  |  |  |  |  ------------------
  |  |  |  |  |  |   75|      0|#define XMLSEC_SIZE_T_FMT                      "%zu"
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  372|      0|                    xmlSecErrorsSafeString(name),           \
  |  |  ------------------
  |  |  |  |  423|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  373|      0|                    (actual),                               \
  |  |  374|      0|                    (expected)                              \
  |  |  375|      0|        )
  ------------------
  628|      0|                return(-1);
  629|      0|            }
  630|      0|            newSize = size + 8;
  631|      0|            break;
  632|    807|        case xmlSecAllocModeDouble:
  ------------------
  |  Branch (632:9): [True: 807, False: 0]
  ------------------
  633|    807|            if(size > ((XMLSEC_SIZE_MAX - 32) / 2)) {
  ------------------
  |  |   90|    807|#define XMLSEC_SIZE_MAX                         SIZE_MAX
  ------------------
  |  Branch (633:16): [True: 0, False: 807]
  ------------------
  634|      0|                xmlSecInvalidSizeMoreThanError("size", size, ((XMLSEC_SIZE_MAX - 32) / 2), NULL);
  ------------------
  |  |  367|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  368|      0|                    (const char*)(errorObject),             \
  |  |  369|      0|                    NULL,                                   \
  |  |  370|      0|                    XMLSEC_ERRORS_R_INVALID_SIZE,           \
  |  |  ------------------
  |  |  |  |   84|      0|#define XMLSEC_ERRORS_R_INVALID_SIZE                    11
  |  |  ------------------
  |  |  371|      0|                    "invalid size for '%s': actual=" XMLSEC_SIZE_FMT " is greater than expected=" XMLSEC_SIZE_FMT, \
  |  |  ------------------
  |  |  |  |   94|      0|#define XMLSEC_SIZE_FMT                         XMLSEC_SIZE_T_FMT
  |  |  |  |  ------------------
  |  |  |  |  |  |   75|      0|#define XMLSEC_SIZE_T_FMT                      "%zu"
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  372|      0|                    xmlSecErrorsSafeString(name),           \
  |  |  ------------------
  |  |  |  |  423|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  373|      0|                    (actual),                               \
  |  |  374|      0|                    (expected)                              \
  |  |  375|      0|        )
  ------------------
  635|      0|                return(-1);
  636|      0|            }
  637|    807|            newSize = 2 * size + 32;
  638|    807|            break;
  639|      0|        default:
  ------------------
  |  Branch (639:9): [True: 0, False: 807]
  ------------------
  640|       |            /* an invalid/corrupted allocation mode must not silently fall through
  641|       |             * to a clamped (and possibly insufficient) capacity */
  642|      0|            xmlSecUnsupportedEnumValueError("alloc mode", list->allocMode, NULL);
  ------------------
  |  |  615|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  616|      0|                    (const char*)(errorObject),             \
  |  |  617|      0|                    NULL,                                   \
  |  |  618|      0|                    XMLSEC_ERRORS_R_INVALID_TYPE,           \
  |  |  ------------------
  |  |  |  |   99|      0|#define XMLSEC_ERRORS_R_INVALID_TYPE                    14
  |  |  ------------------
  |  |  619|      0|                    "unsupported value for '%s': " XMLSEC_ENUM_FMT, \
  |  |  ------------------
  |  |  |  |   36|      0|#define XMLSEC_ENUM_FMT                      "%d"
  |  |  ------------------
  |  |  620|      0|                    xmlSecErrorsSafeString(name),           \
  |  |  ------------------
  |  |  |  |  423|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  621|      0|                    XMLSEC_ENUM_CAST(actual)                \
  |  |  ------------------
  |  |  |  |   35|      0|#define XMLSEC_ENUM_CAST(val)                ((int)(val))
  |  |  ------------------
  |  |  622|      0|        )
  ------------------
  643|      0|            return(-1);
  644|    807|    }
  645|       |
  646|    807|    if(newSize < gInitialSize) {
  ------------------
  |  Branch (646:8): [True: 806, False: 1]
  ------------------
  647|    806|        newSize = gInitialSize;
  648|    806|    }
  649|       |
  650|       |    /* guard against sizeof(xmlSecPtr) * newSize overflowing xmlSecSize */
  651|    807|    if(newSize > (XMLSEC_SIZE_MAX / sizeof(xmlSecPtr))) {
  ------------------
  |  |   90|    807|#define XMLSEC_SIZE_MAX                         SIZE_MAX
  ------------------
  |  Branch (651:8): [True: 0, False: 807]
  ------------------
  652|      0|        xmlSecInvalidSizeMoreThanError("size", newSize, (XMLSEC_SIZE_MAX / sizeof(xmlSecPtr)), NULL);
  ------------------
  |  |  367|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  368|      0|                    (const char*)(errorObject),             \
  |  |  369|      0|                    NULL,                                   \
  |  |  370|      0|                    XMLSEC_ERRORS_R_INVALID_SIZE,           \
  |  |  ------------------
  |  |  |  |   84|      0|#define XMLSEC_ERRORS_R_INVALID_SIZE                    11
  |  |  ------------------
  |  |  371|      0|                    "invalid size for '%s': actual=" XMLSEC_SIZE_FMT " is greater than expected=" XMLSEC_SIZE_FMT, \
  |  |  ------------------
  |  |  |  |   94|      0|#define XMLSEC_SIZE_FMT                         XMLSEC_SIZE_T_FMT
  |  |  |  |  ------------------
  |  |  |  |  |  |   75|      0|#define XMLSEC_SIZE_T_FMT                      "%zu"
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  372|      0|                    xmlSecErrorsSafeString(name),           \
  |  |  ------------------
  |  |  |  |  423|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  373|      0|                    (actual),                               \
  |  |  374|      0|                    (expected)                              \
  |  |  375|      0|        )
  ------------------
  653|      0|        return(-1);
  654|      0|    }
  655|       |
  656|    807|    if(list->data != NULL) {
  ------------------
  |  Branch (656:8): [True: 1, False: 806]
  ------------------
  657|      1|        newData = (xmlSecPtr*)xmlRealloc(list->data, sizeof(xmlSecPtr) * newSize);
  658|    806|    } else {
  659|    806|        newData = (xmlSecPtr*)xmlMalloc(sizeof(xmlSecPtr) * newSize);
  660|    806|    }
  661|    807|    if(newData == NULL) {
  ------------------
  |  Branch (661:8): [True: 0, False: 807]
  ------------------
  662|      0|        xmlSecMallocError(sizeof(xmlSecPtr) * newSize,
  ------------------
  |  |  116|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  117|      0|                    (const char*)(errorObject),             \
  |  |  ------------------
  |  |  |  Branch (117:35): [True: 0, False: 0]
  |  |  |  Branch (117:35): [True: 0, False: 0]
  |  |  ------------------
  |  |  118|      0|                    "xmlMalloc",                            \
  |  |  119|      0|                    XMLSEC_ERRORS_R_MALLOC_FAILED,          \
  |  |  ------------------
  |  |  |  |   38|      0|#define XMLSEC_ERRORS_R_MALLOC_FAILED                   2
  |  |  ------------------
  |  |  120|      0|                    "size=" XMLSEC_SIZE_T_FMT, (size_t)(allocSize) \
  |  |  ------------------
  |  |  |  |   75|      0|#define XMLSEC_SIZE_T_FMT                      "%zu"
  |  |  ------------------
  |  |  121|      0|        )
  ------------------
  663|      0|                          xmlSecPtrListGetName(list));
  664|      0|        return(-1);
  665|      0|    }
  666|       |
  667|    807|    list->data = newData;
  668|    807|    list->max = newSize;
  669|       |
  670|    807|    return(0);
  671|    807|}

xmlSecOpenSSLAppInit:
  123|      1|xmlSecOpenSSLAppInit(const char* config) {
  124|      1|#if !defined(XMLSEC_OPENSSL_API_111)
  125|       |    /* This code can be used to check that custom xmlsec LibCtx is propagated
  126|       |     everywhere as expected (see https://github.com/lsh123/xmlsec/issues/346) */
  127|       |    /*
  128|       |    OSSL_LIB_CTX * libCtx = OSSL_LIB_CTX_new();
  129|       |    OSSL_PROVIDER * legacyProvider = OSSL_PROVIDER_load(libCtx, "legacy");
  130|       |    OSSL_PROVIDER * defaultProvider = OSSL_PROVIDER_load(libCtx, "default");
  131|       |    if(!libCtx || !legacyProvider || !defaultProvider) {
  132|       |        xmlSecOpenSSLError("OSSL_LIB_CTX_new or OSSL_PROVIDER_load", NULL);
  133|       |        goto error;
  134|       |    }
  135|       |    xmlSecOpenSSLSetLibCtx(libCtx);
  136|       |    */
  137|      1|#endif /* !defined(XMLSEC_OPENSSL_API_111) */
  138|      1|    int ret;
  139|      1|    uint64_t opts = 0;
  140|       |
  141|      1|    opts |= OPENSSL_INIT_LOAD_CRYPTO_STRINGS;
  142|      1|    opts |= OPENSSL_INIT_ADD_ALL_CIPHERS;
  143|      1|    opts |= OPENSSL_INIT_ADD_ALL_DIGESTS;
  144|      1|    opts |= OPENSSL_INIT_LOAD_CONFIG;
  145|       |
  146|      1|#if !defined(XMLSEC_OPENSSL_IS_BORINGSSL) && !defined(XMLSEC_OPENSSL_IS_AWSLC)
  147|      1|    opts |= OPENSSL_INIT_ASYNC;
  148|      1|#endif /* !defined(XMLSEC_OPENSSL_IS_BORINGSSL) && !defined(XMLSEC_OPENSSL_IS_AWSLC) */
  149|       |
  150|       |#if !defined(XMLSEC_OPENSSL_IS_BORINGSSL) && defined(XMLSEC_OPENSSL_API_111) && !defined(XMLSEC_OPENSSL_IS_AWSLC)
  151|       |    opts |= OPENSSL_INIT_ENGINE_ALL_BUILTIN;
  152|       |#endif /* !defined(XMLSEC_OPENSSL_IS_BORINGSSL) && defined(XMLSEC_OPENSSL_API_111) && !defined(XMLSEC_OPENSSL_IS_AWSLC) */
  153|       |
  154|      1|    ret = OPENSSL_init_crypto(opts, NULL);
  155|      1|    if(ret != 1) {
  ------------------
  |  Branch (155:8): [True: 0, False: 1]
  ------------------
  156|      0|        xmlSecOpenSSLError("OPENSSL_init_crypto", NULL);
  ------------------
  |  |   66|      0|    do {                                                    \
  |  |   67|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   68|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   69|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   70|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   71|      0|                    (const char*)(errorObject),             \
  |  |   72|      0|                    (errorFunction),                        \
  |  |   73|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   74|      0|                    "openssl error: %s",                    \
  |  |   75|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  423|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   76|      0|        );                                                  \
  |  |   77|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (77:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  157|      0|        goto error;
  158|      0|    }
  159|       |
  160|      1|    if((config != NULL) && (xmlSecOpenSSLSetDefaultTrustedCertsFolder(BAD_CAST config) < 0)) {
  ------------------
  |  |   34|      0|#define BAD_CAST (xmlChar *)
  ------------------
  |  Branch (160:8): [True: 0, False: 1]
  |  Branch (160:28): [True: 0, False: 0]
  ------------------
  161|      0|        xmlSecInternalError("xmlSecOpenSSLSetDefaultTrustedCertsFolder", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  162|      0|        goto error;
  163|      0|    }
  164|       |
  165|       |    /* done! */
  166|      1|    return(0);
  167|       |
  168|      0|error:
  169|       |    /* cleanup */
  170|      0|    return(-1);
  171|      1|}
xmlSecOpenSSLAppKeysMngrCertLoadMemory:
 1777|    802|) {
 1778|    802|    BIO* bio;
 1779|    802|    X509* cert = NULL;
 1780|    802|    int ret;
 1781|       |
 1782|    802|    xmlSecAssert2(mngr != NULL, -1);
  ------------------
  |  |  466|    802|        do { \
  |  |  467|    802|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 802]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|    802|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 802]
  |  |  ------------------
  ------------------
 1783|    802|    xmlSecAssert2(data != NULL, -1);
  ------------------
  |  |  466|    802|        do { \
  |  |  467|    802|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 802]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|    802|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 802]
  |  |  ------------------
  ------------------
 1784|    802|    xmlSecAssert2(dataSize > 0, -1);
  ------------------
  |  |  466|    802|        do { \
  |  |  467|    802|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 802]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|    802|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 802]
  |  |  ------------------
  ------------------
 1785|    802|    xmlSecAssert2(format != xmlSecKeyDataFormatUnknown, -1);
  ------------------
  |  |  466|    802|        do { \
  |  |  467|    802|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 802]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|    802|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 802]
  |  |  ------------------
  ------------------
 1786|       |
 1787|       |    /* this would be a read only BIO, cast from const is ok */
 1788|    802|    bio = xmlSecOpenSSLCreateMemBufBio((void*)data, dataSize);
 1789|    802|    if(bio == NULL) {
  ------------------
  |  Branch (1789:8): [True: 0, False: 802]
  ------------------
 1790|      0|        xmlSecInternalError2("xmlSecOpenSSLCreateMemBufBio", NULL, "dataSize=" XMLSEC_SIZE_FMT,  dataSize);
  ------------------
  |  |   67|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   68|      0|                    (const char*)(errorObject),             \
  |  |   69|      0|                    (errorFunction),                        \
  |  |   70|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   71|      0|                    (msg), (param)                          \
  |  |   72|      0|        )
  ------------------
 1791|      0|        return(-1);
 1792|      0|    }
 1793|       |
 1794|       |    /* read cert */
 1795|    802|    cert = xmlSecOpenSSLX509CertLoadBIO(bio, format);
 1796|    802|    if(cert == NULL) {
  ------------------
  |  Branch (1796:8): [True: 769, False: 33]
  ------------------
 1797|    769|        xmlSecInternalError2("xmlSecOpenSSLX509CertLoadBIO", NULL, "dataSize=" XMLSEC_SIZE_FMT,  dataSize);
  ------------------
  |  |   67|    769|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|    769|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   68|    769|                    (const char*)(errorObject),             \
  |  |   69|    769|                    (errorFunction),                        \
  |  |   70|    769|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|    769|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   71|    769|                    (msg), (param)                          \
  |  |   72|    769|        )
  ------------------
 1798|    769|        BIO_free_all(bio);
 1799|    769|        return(-1);
 1800|    769|    }
 1801|       |
 1802|       |    /* check if any bytes remaining before adding the cert to the store */
 1803|     33|    if(xmlSecOpenSSLAppCheckMemoryBioConsumed(bio, format) != 1) {
  ------------------
  |  Branch (1803:8): [True: 18, False: 15]
  ------------------
 1804|     18|        X509_free(cert);
 1805|     18|        BIO_free_all(bio);
 1806|     18|        return(-1);
 1807|     18|    }
 1808|       |
 1809|     15|    ret = xmlSecOpenSSLAppKeysMngrCertAdopt(mngr, cert, type);
 1810|     15|    if(ret < 0) {
  ------------------
  |  Branch (1810:8): [True: 0, False: 15]
  ------------------
 1811|      0|        X509_free(cert);
 1812|      0|        BIO_free_all(bio);
 1813|      0|        return(-1);
 1814|      0|    }
 1815|       |
 1816|       |    /* success */
 1817|     15|    BIO_free_all(bio);
 1818|     15|    return(0);
 1819|     15|}
xmlSecOpenSSLAppKeysMngrCrlLoadMemory:
 1920|    802|) {
 1921|    802|    BIO* bio;
 1922|    802|    X509_CRL* crl = NULL;
 1923|    802|    int ret;
 1924|       |
 1925|    802|    xmlSecAssert2(mngr != NULL, -1);
  ------------------
  |  |  466|    802|        do { \
  |  |  467|    802|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 802]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|    802|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 802]
  |  |  ------------------
  ------------------
 1926|    802|    xmlSecAssert2(data != NULL, -1);
  ------------------
  |  |  466|    802|        do { \
  |  |  467|    802|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 802]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|    802|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 802]
  |  |  ------------------
  ------------------
 1927|    802|    xmlSecAssert2(dataSize > 0, -1);
  ------------------
  |  |  466|    802|        do { \
  |  |  467|    802|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 802]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|    802|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 802]
  |  |  ------------------
  ------------------
 1928|    802|    xmlSecAssert2(format != xmlSecKeyDataFormatUnknown, -1);
  ------------------
  |  |  466|    802|        do { \
  |  |  467|    802|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 802]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|    802|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 802]
  |  |  ------------------
  ------------------
 1929|       |
 1930|       |    /* this would be a read only BIO, cast from const is ok */
 1931|    802|    bio = xmlSecOpenSSLCreateMemBufBio((void*)data, dataSize);
 1932|    802|    if(bio == NULL) {
  ------------------
  |  Branch (1932:8): [True: 0, False: 802]
  ------------------
 1933|      0|        xmlSecInternalError2("xmlSecOpenSSLCreateMemBufBio", NULL, "dataSize=" XMLSEC_SIZE_FMT,  dataSize);
  ------------------
  |  |   67|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   68|      0|                    (const char*)(errorObject),             \
  |  |   69|      0|                    (errorFunction),                        \
  |  |   70|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   71|      0|                    (msg), (param)                          \
  |  |   72|      0|        )
  ------------------
 1934|      0|        return(-1);
 1935|      0|    }
 1936|       |
 1937|       |    /* read crl */
 1938|    802|    crl = xmlSecOpenSSLX509CrlLoadBIO(bio, format);
 1939|    802|    if(crl == NULL) {
  ------------------
  |  Branch (1939:8): [True: 743, False: 59]
  ------------------
 1940|    743|        xmlSecInternalError2("xmlSecOpenSSLX509CrlLoadBIO", NULL, "dataSize=" XMLSEC_SIZE_FMT,  dataSize);
  ------------------
  |  |   67|    743|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|    743|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   68|    743|                    (const char*)(errorObject),             \
  |  |   69|    743|                    (errorFunction),                        \
  |  |   70|    743|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|    743|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   71|    743|                    (msg), (param)                          \
  |  |   72|    743|        )
  ------------------
 1941|    743|        BIO_free_all(bio);
 1942|    743|        return(-1);
 1943|    743|    }
 1944|       |
 1945|       |    /* check if any bytes remaining before adding the CRL to the store */
 1946|     59|    if(xmlSecOpenSSLAppCheckMemoryBioConsumed(bio, format) != 1) {
  ------------------
  |  Branch (1946:8): [True: 7, False: 52]
  ------------------
 1947|      7|        X509_CRL_free(crl);
 1948|      7|        BIO_free_all(bio);
 1949|      7|        return(-1);
 1950|      7|    }
 1951|       |
 1952|     52|    ret = xmlSecOpenSSLAppKeysMngrCrlAdopt(mngr, crl);
 1953|     52|    if(ret < 0) {
  ------------------
  |  Branch (1953:8): [True: 0, False: 52]
  ------------------
 1954|      0|        X509_CRL_free(crl);
 1955|      0|        BIO_free_all(bio);
 1956|      0|        return(-1);
 1957|      0|    }
 1958|       |
 1959|       |    /* success */
 1960|     52|    BIO_free_all(bio);
 1961|     52|    return(0);
 1962|     52|}
xmlSecOpenSSLAppDefaultKeysMngrInit:
 2161|    802|xmlSecOpenSSLAppDefaultKeysMngrInit(xmlSecKeysMngrPtr mngr) {
 2162|    802|    int ret;
 2163|       |
 2164|    802|    xmlSecAssert2(mngr != NULL, -1);
  ------------------
  |  |  466|    802|        do { \
  |  |  467|    802|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 802]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|    802|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 802]
  |  |  ------------------
  ------------------
 2165|       |
 2166|       |    /* create simple keys store if needed */
 2167|    802|    if(xmlSecKeysMngrGetKeysStore(mngr) == NULL) {
  ------------------
  |  Branch (2167:8): [True: 802, False: 0]
  ------------------
 2168|    802|        xmlSecKeyStorePtr keysStore;
 2169|       |
 2170|    802|        keysStore = xmlSecKeyStoreCreate(xmlSecOpenSSLKeysStoreId);
  ------------------
  |  |   34|    802|#define xmlSecOpenSSLKeysStoreId        xmlSecOpenSSLKeysStoreGetKlass()
  ------------------
 2171|    802|        if(keysStore == NULL) {
  ------------------
  |  Branch (2171:12): [True: 0, False: 802]
  ------------------
 2172|      0|            xmlSecInternalError("xmlSecKeyStoreCreate(xmlSecOpenSSLKeysStoreId)", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
 2173|      0|            return(-1);
 2174|      0|        }
 2175|       |
 2176|    802|        ret = xmlSecKeysMngrAdoptKeysStore(mngr, keysStore);
 2177|    802|        if(ret < 0) {
  ------------------
  |  Branch (2177:12): [True: 0, False: 802]
  ------------------
 2178|      0|            xmlSecInternalError("xmlSecKeysMngrAdoptKeysStore", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
 2179|      0|            xmlSecKeyStoreDestroy(keysStore);
 2180|      0|            return(-1);
 2181|      0|        }
 2182|    802|    }
 2183|       |
 2184|    802|    ret = xmlSecOpenSSLKeysMngrInit(mngr);
 2185|    802|    if(ret < 0) {
  ------------------
  |  Branch (2185:8): [True: 0, False: 802]
  ------------------
 2186|      0|        xmlSecInternalError("xmlSecOpenSSLKeysMngrInit", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
 2187|      0|        return(-1);
 2188|      0|    }
 2189|       |
 2190|    802|    mngr->getKey = xmlSecKeysMngrGetKey;
 2191|    802|    return(0);
 2192|    802|}
xmlSecOpenSSLAppGetDefaultPwdCallback:
 2332|      1|xmlSecOpenSSLAppGetDefaultPwdCallback(void) {
 2333|      1|    return XMLSEC_FUNC_TO_PTR(pem_password_cb, xmlSecOpenSSLDefaultPasswordCallback);
  ------------------
  |  |  771|      1|    xmlSecFuncToPtr_ ##func_type((func))
  ------------------
 2334|      1|}
app.c:xmlSecOpenSSLAppCheckMemoryBioConsumed:
  199|     92|xmlSecOpenSSLAppCheckMemoryBioConsumed(BIO* bio, xmlSecKeyDataFormat format) {
  200|     92|    xmlSecAssert2(bio != NULL, -1);
  ------------------
  |  |  466|     92|        do { \
  |  |  467|     92|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 92]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|     92|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 92]
  |  |  ------------------
  ------------------
  201|     92|    xmlSecAssert2(BIO_method_type(bio) == BIO_TYPE_MEM, -1);
  ------------------
  |  |  466|     92|        do { \
  |  |  467|     92|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 92]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|     92|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 92]
  |  |  ------------------
  ------------------
  202|       |
  203|     92|    switch(format) {
  204|      4|    case xmlSecKeyDataFormatPem:
  ------------------
  |  Branch (204:5): [True: 4, False: 88]
  ------------------
  205|      4|    case xmlSecKeyDataFormatPkcs8Pem:
  ------------------
  |  Branch (205:5): [True: 0, False: 92]
  ------------------
  206|      4|    case xmlSecKeyDataFormatCertPem:
  ------------------
  |  Branch (206:5): [True: 0, False: 92]
  ------------------
  207|       |        /* PEM formats have "end marker" and might contain more data */
  208|      4|        return(1);
  209|     88|    case xmlSecKeyDataFormatDer:
  ------------------
  |  Branch (209:5): [True: 88, False: 4]
  ------------------
  210|     88|    case xmlSecKeyDataFormatPkcs8Der:
  ------------------
  |  Branch (210:5): [True: 0, False: 92]
  ------------------
  211|     88|    case xmlSecKeyDataFormatPkcs12:
  ------------------
  |  Branch (211:5): [True: 0, False: 92]
  ------------------
  212|     88|    case xmlSecKeyDataFormatCertDer:
  ------------------
  |  Branch (212:5): [True: 0, False: 92]
  ------------------
  213|       |        /* DER formats are binary and should consume all data */
  214|     88|        if(BIO_ctrl_pending(bio) > 0) {
  ------------------
  |  Branch (214:12): [True: 25, False: 63]
  ------------------
  215|     25|            xmlSecInvalidSizeDataError("Remaining bytes in buffer", BIO_ctrl_pending(bio), "0 bytes", NULL);
  ------------------
  |  |  497|     25|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|     25|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  498|     25|                    (const char*)(errorObject),             \
  |  |  499|     25|                    NULL,                                   \
  |  |  500|     25|                    XMLSEC_ERRORS_R_INVALID_DATA,           \
  |  |  ------------------
  |  |  |  |   89|     25|#define XMLSEC_ERRORS_R_INVALID_DATA                    12
  |  |  ------------------
  |  |  501|     25|                    "invalid data for '%s': actual=" XMLSEC_SIZE_FMT " and expected %s", \
  |  |  502|     25|                    xmlSecErrorsSafeString(name),           \
  |  |  ------------------
  |  |  |  |  423|     25|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:10): [True: 25, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  503|     25|                    (actual),                               \
  |  |  504|     25|                    (expected)                              \
  |  |  505|     25|        )
  ------------------
  216|     25|            return (0);
  217|     25|        }
  218|     63|        return (1);
  219|      0|    default:
  ------------------
  |  Branch (219:5): [True: 0, False: 92]
  ------------------
  220|       |        /* unexpected memory bio format */
  221|       |        xmlSecOtherError2(XMLSEC_ERRORS_R_INVALID_FORMAT, NULL, "format=" XMLSEC_ENUM_FMT, XMLSEC_ENUM_CAST(format));
  ------------------
  |  |  948|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  949|      0|                    (const char*)(errorObject),             \
  |  |  950|      0|                    NULL,                                   \
  |  |  951|      0|                    (code),                                 \
  |  |  952|      0|                    (msg), (param)                          \
  |  |  953|      0|        )
  ------------------
  222|      0|        return(-1);
  223|     92|    }
  224|     92|}
app.c:xmlSecOpenSSLAppKeysMngrCertAdopt:
 1652|     15|xmlSecOpenSSLAppKeysMngrCertAdopt(xmlSecKeysMngrPtr mngr, X509* cert, xmlSecKeyDataType type) {
 1653|     15|    xmlSecKeyDataStorePtr x509Store;
 1654|     15|    int ret;
 1655|       |
 1656|     15|    xmlSecAssert2(mngr != NULL, -1);
  ------------------
  |  |  466|     15|        do { \
  |  |  467|     15|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 15]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|     15|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 15]
  |  |  ------------------
  ------------------
 1657|     15|    xmlSecAssert2(cert != NULL, -1);
  ------------------
  |  |  466|     15|        do { \
  |  |  467|     15|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 15]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|     15|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 15]
  |  |  ------------------
  ------------------
 1658|       |
 1659|     15|    x509Store = xmlSecKeysMngrGetDataStore(mngr, xmlSecOpenSSLX509StoreId);
  ------------------
  |  |   79|     15|        xmlSecOpenSSLX509StoreGetKlass()
  ------------------
 1660|     15|    if(x509Store == NULL) {
  ------------------
  |  Branch (1660:8): [True: 0, False: 15]
  ------------------
 1661|      0|        xmlSecInternalError("xmlSecKeysMngrGetDataStore(xmlSecOpenSSLX509StoreId)", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
 1662|      0|        return(-1);
 1663|      0|    }
 1664|       |
 1665|     15|    ret = xmlSecOpenSSLX509StoreAdoptCert(x509Store, cert, type);
 1666|     15|    if(ret < 0) {
  ------------------
  |  Branch (1666:8): [True: 0, False: 15]
  ------------------
 1667|      0|        xmlSecInternalError("xmlSecOpenSSLX509StoreAdoptCert", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
 1668|      0|        return(-1);
 1669|      0|    }
 1670|       |
 1671|     15|    return(0);
 1672|     15|}
app.c:xmlSecOpenSSLAppKeysMngrCrlAdopt:
 1685|     52|xmlSecOpenSSLAppKeysMngrCrlAdopt(xmlSecKeysMngrPtr mngr, X509_CRL* crl) {
 1686|     52|    xmlSecKeyDataStorePtr x509Store;
 1687|     52|    int ret;
 1688|       |
 1689|     52|    xmlSecAssert2(mngr != NULL, -1);
  ------------------
  |  |  466|     52|        do { \
  |  |  467|     52|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 52]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|     52|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 52]
  |  |  ------------------
  ------------------
 1690|     52|    xmlSecAssert2(crl != NULL, -1);
  ------------------
  |  |  466|     52|        do { \
  |  |  467|     52|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 52]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|     52|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 52]
  |  |  ------------------
  ------------------
 1691|       |
 1692|     52|    x509Store = xmlSecKeysMngrGetDataStore(mngr, xmlSecOpenSSLX509StoreId);
  ------------------
  |  |   79|     52|        xmlSecOpenSSLX509StoreGetKlass()
  ------------------
 1693|     52|    if(x509Store == NULL) {
  ------------------
  |  Branch (1693:8): [True: 0, False: 52]
  ------------------
 1694|      0|        xmlSecInternalError("xmlSecKeysMngrGetDataStore(xmlSecOpenSSLX509StoreId)", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
 1695|      0|        return(-1);
 1696|      0|    }
 1697|       |
 1698|     52|    ret = xmlSecOpenSSLX509StoreAdoptCrl(x509Store, crl);
 1699|     52|    if(ret < 0) {
  ------------------
  |  Branch (1699:8): [True: 0, False: 52]
  ------------------
 1700|      0|        xmlSecInternalError("xmlSecOpenSSLX509StoreAdoptCrl", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
 1701|      0|        return(-1);
 1702|      0|    }
 1703|       |
 1704|     52|    return(0);
 1705|     52|}

xmlSecOpenSSLTransformAes128CbcGetKlass:
 1123|      1|xmlSecOpenSSLTransformAes128CbcGetKlass(void) {
 1124|      1|    return(&xmlSecOpenSSLAes128CbcKlass);
 1125|      1|}
xmlSecOpenSSLTransformAes192CbcGetKlass:
 1135|      1|xmlSecOpenSSLTransformAes192CbcGetKlass(void) {
 1136|      1|    return(&xmlSecOpenSSLAes192CbcKlass);
 1137|      1|}
xmlSecOpenSSLTransformAes256CbcGetKlass:
 1147|      1|xmlSecOpenSSLTransformAes256CbcGetKlass(void) {
 1148|      1|    return(&xmlSecOpenSSLAes256CbcKlass);
 1149|      1|}
xmlSecOpenSSLTransformAes128GcmGetKlass:
 1165|      1|{
 1166|      1|    return(&xmlSecOpenSSLAes128GcmKlass);
 1167|      1|}
xmlSecOpenSSLTransformAes192GcmGetKlass:
 1178|      1|{
 1179|      1|    return(&xmlSecOpenSSLAes192GcmKlass);
 1180|      1|}
xmlSecOpenSSLTransformAes256GcmGetKlass:
 1191|      1|{
 1192|      1|    return(&xmlSecOpenSSLAes256GcmKlass);
 1193|      1|}
xmlSecOpenSSLTransformCamellia128CbcGetKlass:
 1211|      1|xmlSecOpenSSLTransformCamellia128CbcGetKlass(void) {
 1212|      1|    return(&xmlSecOpenSSLCamellia128CbcKlass);
 1213|      1|}
xmlSecOpenSSLTransformCamellia192CbcGetKlass:
 1223|      1|xmlSecOpenSSLTransformCamellia192CbcGetKlass(void) {
 1224|      1|    return(&xmlSecOpenSSLCamellia192CbcKlass);
 1225|      1|}
xmlSecOpenSSLTransformCamellia256CbcGetKlass:
 1235|      1|xmlSecOpenSSLTransformCamellia256CbcGetKlass(void) {
 1236|      1|    return(&xmlSecOpenSSLCamellia256CbcKlass);
 1237|      1|}
xmlSecOpenSSLTransformDes3CbcGetKlass:
 1250|      1|xmlSecOpenSSLTransformDes3CbcGetKlass(void) {
 1251|      1|    return(&xmlSecOpenSSLDes3CbcKlass);
 1252|      1|}
xmlSecOpenSSLTransformChaCha20GetKlass:
 1335|      1|xmlSecOpenSSLTransformChaCha20GetKlass(void) {
 1336|      1|    return(&xmlSecOpenSSLChaCha20Klass);
 1337|      1|}
xmlSecOpenSSLTransformChaCha20Poly1305GetKlass:
 1410|      1|xmlSecOpenSSLTransformChaCha20Poly1305GetKlass(void) {
 1411|      1|    return(&xmlSecOpenSSLChaCha20Poly1305Klass);
 1412|      1|}

xmlSecCryptoGetFunctions_openssl:
   75|      1|xmlSecCryptoGetFunctions_openssl(void) {
   76|      1|    static xmlSecCryptoDLFunctions functions;
   77|       |
   78|      1|    if(gXmlSecOpenSSLFunctions != NULL) {
  ------------------
  |  Branch (78:8): [True: 0, False: 1]
  ------------------
   79|      0|        return(gXmlSecOpenSSLFunctions);
   80|      0|    }
   81|       |
   82|      1|    memset(&functions, 0, sizeof(functions));
   83|      1|    gXmlSecOpenSSLFunctions = &functions;
   84|       |
   85|       |    /******************************************************************************
   86|       |     *
   87|       |     * Crypto Init/shutdown
   88|       |     *
   89|       |     *****************************************************************************/
   90|      1|    gXmlSecOpenSSLFunctions->cryptoInit                 = xmlSecOpenSSLInit;
   91|      1|    gXmlSecOpenSSLFunctions->cryptoShutdown             = xmlSecOpenSSLShutdown;
   92|      1|    gXmlSecOpenSSLFunctions->cryptoKeysMngrInit         = xmlSecOpenSSLKeysMngrInit;
   93|       |
   94|       |    /******************************************************************************
   95|       |     *
   96|       |     * Key data ids
   97|       |     *
   98|       |     *****************************************************************************/
   99|      1|#ifndef XMLSEC_NO_AES
  100|      1|    gXmlSecOpenSSLFunctions->keyDataAesGetKlass         = xmlSecOpenSSLKeyDataAesGetKlass;
  101|      1|#endif /* XMLSEC_NO_AES */
  102|       |
  103|      1|#ifndef XMLSEC_NO_CAMELLIA
  104|      1|    gXmlSecOpenSSLFunctions->keyDataCamelliaGetKlass    = xmlSecOpenSSLKeyDataCamelliaGetKlass;
  105|      1|#endif /* XMLSEC_NO_CAMELLIA */
  106|       |
  107|      1|#ifndef XMLSEC_NO_CHACHA20
  108|      1|    gXmlSecOpenSSLFunctions->keyDataChaCha20GetKlass    = xmlSecOpenSSLKeyDataChaCha20GetKlass;
  109|      1|#endif /* XMLSEC_NO_CHACHA20 */
  110|       |
  111|      1|#ifndef XMLSEC_NO_CONCATKDF
  112|      1|    gXmlSecOpenSSLFunctions->keyDataConcatKdfGetKlass   = xmlSecOpenSSLKeyDataConcatKdfGetKlass;
  113|      1|#endif /* XMLSEC_NO_CONCATKDF */
  114|       |
  115|      1|#ifndef XMLSEC_NO_DES
  116|      1|    gXmlSecOpenSSLFunctions->keyDataDesGetKlass         = xmlSecOpenSSLKeyDataDesGetKlass;
  117|      1|#endif /* XMLSEC_NO_DES */
  118|       |
  119|      1|#ifndef XMLSEC_NO_DH
  120|      1|    gXmlSecOpenSSLFunctions->keyDataDhGetKlass          = xmlSecOpenSSLKeyDataDhGetKlass;
  121|      1|#endif /* XMLSEC_NO_DH */
  122|       |
  123|      1|#ifndef XMLSEC_NO_DSA
  124|      1|    gXmlSecOpenSSLFunctions->keyDataDsaGetKlass         = xmlSecOpenSSLKeyDataDsaGetKlass;
  125|      1|#endif /* XMLSEC_NO_DSA */
  126|       |
  127|      1|#ifndef XMLSEC_NO_EC
  128|      1|    gXmlSecOpenSSLFunctions->keyDataEcGetKlass          = xmlSecOpenSSLKeyDataEcGetKlass;
  129|      1|#endif /* XMLSEC_NO_EC */
  130|       |
  131|       |#ifndef XMLSEC_NO_GOST
  132|       |    gXmlSecOpenSSLFunctions->keyDataGost2001GetKlass    = xmlSecOpenSSLKeyDataGost2001GetKlass;
  133|       |#endif /* XMLSEC_NO_GOST */
  134|       |
  135|       |#ifndef XMLSEC_NO_GOST2012
  136|       |    gXmlSecOpenSSLFunctions->keyDataGostR3410_2012_256GetKlass = xmlSecOpenSSLKeyDataGostR3410_2012_256GetKlass;
  137|       |    gXmlSecOpenSSLFunctions->keyDataGostR3410_2012_512GetKlass = xmlSecOpenSSLKeyDataGostR3410_2012_512GetKlass;
  138|       |#endif /* XMLSEC_NO_GOST2012 */
  139|       |
  140|      1|#ifndef XMLSEC_NO_HMAC
  141|      1|    gXmlSecOpenSSLFunctions->keyDataHmacGetKlass        = xmlSecOpenSSLKeyDataHmacGetKlass;
  142|      1|#endif /* XMLSEC_NO_HMAC */
  143|       |
  144|      1|#ifndef XMLSEC_NO_PBKDF2
  145|      1|    gXmlSecOpenSSLFunctions->keyDataPbkdf2GetKlass      = xmlSecOpenSSLKeyDataPbkdf2GetKlass;
  146|      1|#endif /* XMLSEC_NO_PBKDF2 */
  147|       |
  148|      1|#ifndef XMLSEC_NO_HKDF
  149|      1|    gXmlSecOpenSSLFunctions->keyDataHkdfGetKlass        = xmlSecOpenSSLKeyDataHkdfGetKlass;
  150|      1|#endif /* XMLSEC_NO_HKDF */
  151|       |
  152|      1|#ifndef XMLSEC_NO_RSA
  153|      1|    gXmlSecOpenSSLFunctions->keyDataRsaGetKlass         = xmlSecOpenSSLKeyDataRsaGetKlass;
  154|      1|#endif /* XMLSEC_NO_RSA */
  155|       |
  156|       |#ifndef XMLSEC_NO_MLDSA
  157|       |    gXmlSecOpenSSLFunctions->keyDataMLDSAGetKlass       = xmlSecOpenSSLKeyDataMLDSAGetKlass;
  158|       |#endif /* XMLSEC_NO_MLDSA */
  159|       |
  160|       |#ifndef XMLSEC_NO_MLKEM
  161|       |    gXmlSecOpenSSLFunctions->keyDataMLKEMGetKlass       = xmlSecOpenSSLKeyDataMLKEMGetKlass;
  162|       |#endif /* XMLSEC_NO_MLKEM */
  163|       |
  164|       |#ifndef XMLSEC_NO_SLHDSA
  165|       |    gXmlSecOpenSSLFunctions->keyDataSLHDSAGetKlass      = xmlSecOpenSSLKeyDataSLHDSAGetKlass;
  166|       |#endif /* XMLSEC_NO_SLHDSA */
  167|       |
  168|       |#ifndef XMLSEC_NO_EDDSA
  169|       |    gXmlSecOpenSSLFunctions->keyDataEdDSAGetKlass       = xmlSecOpenSSLKeyDataEdDSAGetKlass;
  170|       |#endif /* XMLSEC_NO_EDDSA */
  171|       |
  172|      1|#ifndef XMLSEC_NO_XDH
  173|      1|    gXmlSecOpenSSLFunctions->keyDataXdhGetKlass         = xmlSecOpenSSLKeyDataXdhGetKlass;
  174|      1|#endif /* XMLSEC_NO_XDH */
  175|       |
  176|      1|#ifndef XMLSEC_NO_X509
  177|      1|    gXmlSecOpenSSLFunctions->keyDataX509GetKlass        = xmlSecOpenSSLKeyDataX509GetKlass;
  178|      1|    gXmlSecOpenSSLFunctions->keyDataRawX509CertGetKlass = xmlSecOpenSSLKeyDataRawX509CertGetKlass;
  179|      1|#endif /* XMLSEC_NO_X509 */
  180|       |
  181|      1|    gXmlSecOpenSSLFunctions->keyDataDEREncodedKeyValueGetKlass = xmlSecOpenSSLKeyDataDEREncodedKeyValueGetKlass;
  182|       |
  183|       |    /******************************************************************************
  184|       |     *
  185|       |     * Key data store ids
  186|       |     *
  187|       |     *****************************************************************************/
  188|      1|#ifndef XMLSEC_NO_X509
  189|      1|    gXmlSecOpenSSLFunctions->x509StoreGetKlass          = xmlSecOpenSSLX509StoreGetKlass;
  190|      1|#endif /* XMLSEC_NO_X509 */
  191|       |
  192|       |    /******************************************************************************
  193|       |     *
  194|       |     * Crypto transforms ids
  195|       |     *
  196|       |     *****************************************************************************/
  197|       |
  198|       |    /* AES */
  199|      1|#ifndef XMLSEC_NO_AES
  200|      1|    gXmlSecOpenSSLFunctions->transformAes128CbcGetKlass         = xmlSecOpenSSLTransformAes128CbcGetKlass;
  201|      1|    gXmlSecOpenSSLFunctions->transformAes192CbcGetKlass         = xmlSecOpenSSLTransformAes192CbcGetKlass;
  202|      1|    gXmlSecOpenSSLFunctions->transformAes256CbcGetKlass         = xmlSecOpenSSLTransformAes256CbcGetKlass;
  203|      1|    gXmlSecOpenSSLFunctions->transformAes128GcmGetKlass         = xmlSecOpenSSLTransformAes128GcmGetKlass;
  204|      1|    gXmlSecOpenSSLFunctions->transformAes192GcmGetKlass         = xmlSecOpenSSLTransformAes192GcmGetKlass;
  205|      1|    gXmlSecOpenSSLFunctions->transformAes256GcmGetKlass         = xmlSecOpenSSLTransformAes256GcmGetKlass;
  206|      1|    gXmlSecOpenSSLFunctions->transformKWAes128GetKlass          = xmlSecOpenSSLTransformKWAes128GetKlass;
  207|      1|    gXmlSecOpenSSLFunctions->transformKWAes192GetKlass          = xmlSecOpenSSLTransformKWAes192GetKlass;
  208|      1|    gXmlSecOpenSSLFunctions->transformKWAes256GetKlass          = xmlSecOpenSSLTransformKWAes256GetKlass;
  209|      1|#endif /* XMLSEC_NO_AES */
  210|       |
  211|       |
  212|       |    /* CAMELLIA */
  213|      1|#ifndef XMLSEC_NO_CAMELLIA
  214|      1|    gXmlSecOpenSSLFunctions->transformCamellia128CbcGetKlass    = xmlSecOpenSSLTransformCamellia128CbcGetKlass;
  215|      1|    gXmlSecOpenSSLFunctions->transformCamellia192CbcGetKlass    = xmlSecOpenSSLTransformCamellia192CbcGetKlass;
  216|      1|    gXmlSecOpenSSLFunctions->transformCamellia256CbcGetKlass    = xmlSecOpenSSLTransformCamellia256CbcGetKlass;
  217|      1|    gXmlSecOpenSSLFunctions->transformKWCamellia128GetKlass     = xmlSecOpenSSLTransformKWCamellia128GetKlass;
  218|      1|    gXmlSecOpenSSLFunctions->transformKWCamellia192GetKlass     = xmlSecOpenSSLTransformKWCamellia192GetKlass;
  219|      1|    gXmlSecOpenSSLFunctions->transformKWCamellia256GetKlass     = xmlSecOpenSSLTransformKWCamellia256GetKlass;
  220|      1|#endif /* XMLSEC_NO_CAMELLIA */
  221|       |
  222|       |
  223|       |    /* CHACHA20 */
  224|      1|#ifndef XMLSEC_NO_CHACHA20
  225|      1|    gXmlSecOpenSSLFunctions->transformChaCha20GetKlass          = xmlSecOpenSSLTransformChaCha20GetKlass;
  226|      1|    gXmlSecOpenSSLFunctions->transformChaCha20Poly1305GetKlass  = xmlSecOpenSSLTransformChaCha20Poly1305GetKlass;
  227|      1|#endif /* XMLSEC_NO_CHACHA20 */
  228|       |
  229|       |
  230|       |    /* CONCATKDF */
  231|      1|#ifndef XMLSEC_NO_CONCATKDF
  232|      1|    gXmlSecOpenSSLFunctions->transformConcatKdfGetKlass         = xmlSecOpenSSLTransformConcatKdfGetKlass;
  233|      1|#endif /* XMLSEC_NO_CONCATKDF */
  234|       |
  235|       |    /* DES */
  236|      1|#ifndef XMLSEC_NO_DES
  237|      1|    gXmlSecOpenSSLFunctions->transformDes3CbcGetKlass           = xmlSecOpenSSLTransformDes3CbcGetKlass;
  238|      1|    gXmlSecOpenSSLFunctions->transformKWDes3GetKlass            = xmlSecOpenSSLTransformKWDes3GetKlass;
  239|      1|#endif /* XMLSEC_NO_DES */
  240|       |
  241|       |
  242|       |    /* DH */
  243|      1|#ifndef XMLSEC_NO_DH
  244|      1|    gXmlSecOpenSSLFunctions->transformDhEsGetKlass              = xmlSecOpenSSLTransformDhEsGetKlass;
  245|      1|#endif /* XMLSEC_NO_DH */
  246|       |
  247|       |    /* DSA */
  248|      1|#ifndef XMLSEC_NO_DSA
  249|       |
  250|      1|#ifndef XMLSEC_NO_SHA1
  251|      1|    gXmlSecOpenSSLFunctions->transformDsaSha1GetKlass           = xmlSecOpenSSLTransformDsaSha1GetKlass;
  252|      1|#endif /* XMLSEC_NO_SHA1 */
  253|       |
  254|      1|#ifndef XMLSEC_NO_SHA256
  255|      1|    gXmlSecOpenSSLFunctions->transformDsaSha256GetKlass         = xmlSecOpenSSLTransformDsaSha256GetKlass;
  256|      1|#endif /* XMLSEC_NO_SHA256 */
  257|       |
  258|      1|#endif /* XMLSEC_NO_DSA */
  259|       |
  260|       |    /* ECDSA */
  261|      1|#ifndef XMLSEC_NO_EC
  262|      1|    gXmlSecOpenSSLFunctions->transformEcdhGetKlass              = xmlSecOpenSSLTransformEcdhGetKlass;
  263|       |
  264|      1|#ifndef XMLSEC_NO_RIPEMD160
  265|      1|    gXmlSecOpenSSLFunctions->transformEcdsaRipemd160GetKlass     = xmlSecOpenSSLTransformEcdsaRipemd160GetKlass;
  266|      1|#endif /* XMLSEC_NO_RIPEMD160 */
  267|       |
  268|      1|#ifndef XMLSEC_NO_SHA1
  269|      1|    gXmlSecOpenSSLFunctions->transformEcdsaSha1GetKlass         = xmlSecOpenSSLTransformEcdsaSha1GetKlass;
  270|      1|#endif /* XMLSEC_NO_SHA1 */
  271|       |
  272|      1|#ifndef XMLSEC_NO_SHA224
  273|      1|    gXmlSecOpenSSLFunctions->transformEcdsaSha224GetKlass       = xmlSecOpenSSLTransformEcdsaSha224GetKlass;
  274|      1|#endif /* XMLSEC_NO_SHA224 */
  275|       |
  276|      1|#ifndef XMLSEC_NO_SHA256
  277|      1|    gXmlSecOpenSSLFunctions->transformEcdsaSha256GetKlass       = xmlSecOpenSSLTransformEcdsaSha256GetKlass;
  278|      1|#endif /* XMLSEC_NO_SHA256 */
  279|       |
  280|      1|#ifndef XMLSEC_NO_SHA384
  281|      1|    gXmlSecOpenSSLFunctions->transformEcdsaSha384GetKlass       = xmlSecOpenSSLTransformEcdsaSha384GetKlass;
  282|      1|#endif /* XMLSEC_NO_SHA384 */
  283|       |
  284|      1|#ifndef XMLSEC_NO_SHA512
  285|      1|    gXmlSecOpenSSLFunctions->transformEcdsaSha512GetKlass       = xmlSecOpenSSLTransformEcdsaSha512GetKlass;
  286|      1|#endif /* XMLSEC_NO_SHA512 */
  287|       |
  288|       |
  289|      1|#ifndef XMLSEC_NO_SHA3
  290|      1|    gXmlSecOpenSSLFunctions->transformEcdsaSha3_224GetKlass     = xmlSecOpenSSLTransformEcdsaSha3_224GetKlass;
  291|      1|    gXmlSecOpenSSLFunctions->transformEcdsaSha3_256GetKlass     = xmlSecOpenSSLTransformEcdsaSha3_256GetKlass;
  292|      1|    gXmlSecOpenSSLFunctions->transformEcdsaSha3_384GetKlass     = xmlSecOpenSSLTransformEcdsaSha3_384GetKlass;
  293|      1|    gXmlSecOpenSSLFunctions->transformEcdsaSha3_512GetKlass     = xmlSecOpenSSLTransformEcdsaSha3_512GetKlass;
  294|      1|#endif /* XMLSEC_NO_SHA3 */
  295|       |
  296|      1|#endif /* XMLSEC_NO_EC */
  297|       |
  298|       |    /* XDH */
  299|      1|#ifndef XMLSEC_NO_XDH
  300|      1|    gXmlSecOpenSSLFunctions->transformX25519GetKlass            = xmlSecOpenSSLTransformX25519GetKlass;
  301|      1|    gXmlSecOpenSSLFunctions->transformX448GetKlass              = xmlSecOpenSSLTransformX448GetKlass;
  302|      1|#endif /* XMLSEC_NO_XDH */
  303|       |
  304|       |    /* GOST */
  305|       |#ifndef XMLSEC_NO_GOST
  306|       |    gXmlSecOpenSSLFunctions->transformGost2001GostR3411_94GetKlass     = xmlSecOpenSSLTransformGost2001GostR3411_94GetKlass;
  307|       |    gXmlSecOpenSSLFunctions->transformGostR3411_94GetKlass             = xmlSecOpenSSLTransformGostR3411_94GetKlass;
  308|       |#endif /* XMLSEC_NO_GOST */
  309|       |
  310|       |#ifndef XMLSEC_NO_GOST2012
  311|       |    gXmlSecOpenSSLFunctions->transformGostR3411_2012_256GetKlass       = xmlSecOpenSSLTransformGostR3411_2012_256GetKlass;
  312|       |    gXmlSecOpenSSLFunctions->transformGostR3411_2012_512GetKlass       = xmlSecOpenSSLTransformGostR3411_2012_512GetKlass;
  313|       |
  314|       |    gXmlSecOpenSSLFunctions->transformGostR3410_2012GostR3411_2012_256GetKlass = xmlSecOpenSSLTransformGostR3410_2012GostR3411_2012_256GetKlass;
  315|       |    gXmlSecOpenSSLFunctions->transformGostR3410_2012GostR3411_2012_512GetKlass = xmlSecOpenSSLTransformGostR3410_2012GostR3411_2012_512GetKlass;
  316|       |#endif /* XMLSEC_NO_GOST2012 */
  317|       |
  318|       |    /* HMAC */
  319|      1|#ifndef XMLSEC_NO_HMAC
  320|       |
  321|      1|#ifndef XMLSEC_NO_MD5
  322|      1|    gXmlSecOpenSSLFunctions->transformHmacMd5GetKlass           = xmlSecOpenSSLTransformHmacMd5GetKlass;
  323|      1|#endif /* XMLSEC_NO_MD5 */
  324|       |
  325|      1|#ifndef XMLSEC_NO_RIPEMD160
  326|      1|    gXmlSecOpenSSLFunctions->transformHmacRipemd160GetKlass     = xmlSecOpenSSLTransformHmacRipemd160GetKlass;
  327|      1|#endif /* XMLSEC_NO_RIPEMD160 */
  328|       |
  329|      1|#ifndef XMLSEC_NO_SHA1
  330|      1|    gXmlSecOpenSSLFunctions->transformHmacSha1GetKlass          = xmlSecOpenSSLTransformHmacSha1GetKlass;
  331|      1|#endif /* XMLSEC_NO_SHA1 */
  332|       |
  333|      1|#ifndef XMLSEC_NO_SHA224
  334|      1|    gXmlSecOpenSSLFunctions->transformHmacSha224GetKlass        = xmlSecOpenSSLTransformHmacSha224GetKlass;
  335|      1|#endif /* XMLSEC_NO_SHA224 */
  336|       |
  337|      1|#ifndef XMLSEC_NO_SHA256
  338|      1|    gXmlSecOpenSSLFunctions->transformHmacSha256GetKlass        = xmlSecOpenSSLTransformHmacSha256GetKlass;
  339|      1|#endif /* XMLSEC_NO_SHA256 */
  340|       |
  341|      1|#ifndef XMLSEC_NO_SHA384
  342|      1|    gXmlSecOpenSSLFunctions->transformHmacSha384GetKlass        = xmlSecOpenSSLTransformHmacSha384GetKlass;
  343|      1|#endif /* XMLSEC_NO_SHA384 */
  344|       |
  345|      1|#ifndef XMLSEC_NO_SHA512
  346|      1|    gXmlSecOpenSSLFunctions->transformHmacSha512GetKlass        = xmlSecOpenSSLTransformHmacSha512GetKlass;
  347|      1|#endif /* XMLSEC_NO_SHA512 */
  348|       |
  349|      1|#endif /* XMLSEC_NO_HMAC */
  350|       |
  351|       |    /* MD5 */
  352|      1|#ifndef XMLSEC_NO_MD5
  353|      1|    gXmlSecOpenSSLFunctions->transformMd5GetKlass               = xmlSecOpenSSLTransformMd5GetKlass;
  354|      1|#endif /* XMLSEC_NO_MD5 */
  355|       |
  356|       |    /* ML-DSA */
  357|       |#ifndef XMLSEC_NO_MLDSA
  358|       |    gXmlSecOpenSSLFunctions->transformMLDSA44GetKlass            = xmlSecOpenSSLTransformMLDSA44GetKlass;
  359|       |    gXmlSecOpenSSLFunctions->transformMLDSA65GetKlass            = xmlSecOpenSSLTransformMLDSA65GetKlass;
  360|       |    gXmlSecOpenSSLFunctions->transformMLDSA87GetKlass            = xmlSecOpenSSLTransformMLDSA87GetKlass;
  361|       |#endif /* XMLSEC_NO_MLDSA */
  362|       |
  363|       |    /* ML-KEM */
  364|       |#ifndef XMLSEC_NO_MLKEM
  365|       |    gXmlSecOpenSSLFunctions->transformMLKEM512GetKlass           = xmlSecOpenSSLTransformMLKEM512GetKlass;
  366|       |    gXmlSecOpenSSLFunctions->transformMLKEM768GetKlass           = xmlSecOpenSSLTransformMLKEM768GetKlass;
  367|       |    gXmlSecOpenSSLFunctions->transformMLKEM1024GetKlass          = xmlSecOpenSSLTransformMLKEM1024GetKlass;
  368|       |#endif /* XMLSEC_NO_MLKEM */
  369|       |
  370|       |
  371|       |    /* PBKDF2 */
  372|      1|#ifndef XMLSEC_NO_PBKDF2
  373|      1|    gXmlSecOpenSSLFunctions->transformPbkdf2GetKlass            = xmlSecOpenSSLTransformPbkdf2GetKlass;
  374|      1|#endif /* XMLSEC_NO_PBKDF2 */
  375|       |
  376|       |    /* HKDF */
  377|      1|#ifndef XMLSEC_NO_HKDF
  378|      1|    gXmlSecOpenSSLFunctions->transformHkdfGetKlass              = xmlSecOpenSSLTransformHkdfGetKlass;
  379|      1|#endif /* XMLSEC_NO_HKDF */
  380|       |
  381|       |    /* RIPEMD160 */
  382|      1|#ifndef XMLSEC_NO_RIPEMD160
  383|      1|    gXmlSecOpenSSLFunctions->transformRipemd160GetKlass         = xmlSecOpenSSLTransformRipemd160GetKlass;
  384|      1|#endif /* XMLSEC_NO_RIPEMD160 */
  385|       |
  386|       |    /* RSA */
  387|      1|#ifndef XMLSEC_NO_RSA
  388|       |
  389|      1|#ifndef XMLSEC_NO_MD5
  390|      1|    gXmlSecOpenSSLFunctions->transformRsaMd5GetKlass            = xmlSecOpenSSLTransformRsaMd5GetKlass;
  391|      1|#endif /* XMLSEC_NO_MD5 */
  392|       |
  393|      1|#ifndef XMLSEC_NO_RIPEMD160
  394|      1|    gXmlSecOpenSSLFunctions->transformRsaRipemd160GetKlass      = xmlSecOpenSSLTransformRsaRipemd160GetKlass;
  395|      1|#endif /* XMLSEC_NO_RIPEMD160 */
  396|       |
  397|       |
  398|      1|#ifndef XMLSEC_NO_SHA1
  399|      1|    gXmlSecOpenSSLFunctions->transformRsaSha1GetKlass           = xmlSecOpenSSLTransformRsaSha1GetKlass;
  400|      1|#endif /* XMLSEC_NO_SHA1 */
  401|       |
  402|      1|#ifndef XMLSEC_NO_SHA224
  403|      1|    gXmlSecOpenSSLFunctions->transformRsaSha224GetKlass         = xmlSecOpenSSLTransformRsaSha224GetKlass;
  404|      1|#endif /* XMLSEC_NO_SHA224 */
  405|       |
  406|      1|#ifndef XMLSEC_NO_SHA256
  407|      1|    gXmlSecOpenSSLFunctions->transformRsaSha256GetKlass         = xmlSecOpenSSLTransformRsaSha256GetKlass;
  408|      1|#endif /* XMLSEC_NO_SHA256 */
  409|       |
  410|      1|#ifndef XMLSEC_NO_SHA384
  411|      1|    gXmlSecOpenSSLFunctions->transformRsaSha384GetKlass         = xmlSecOpenSSLTransformRsaSha384GetKlass;
  412|      1|#endif /* XMLSEC_NO_SHA384 */
  413|       |
  414|      1|#ifndef XMLSEC_NO_SHA512
  415|      1|    gXmlSecOpenSSLFunctions->transformRsaSha512GetKlass         = xmlSecOpenSSLTransformRsaSha512GetKlass;
  416|      1|#endif /* XMLSEC_NO_SHA512 */
  417|       |
  418|       |
  419|      1|#ifndef XMLSEC_NO_SHA1
  420|      1|    gXmlSecOpenSSLFunctions->transformRsaPssSha1GetKlass       = xmlSecOpenSSLTransformRsaPssSha1GetKlass;
  421|      1|#endif /* XMLSEC_NO_SHA1 */
  422|       |
  423|      1|#ifndef XMLSEC_NO_SHA224
  424|      1|    gXmlSecOpenSSLFunctions->transformRsaPssSha224GetKlass     = xmlSecOpenSSLTransformRsaPssSha224GetKlass;
  425|      1|#endif /* XMLSEC_NO_SHA224 */
  426|       |
  427|      1|#ifndef XMLSEC_NO_SHA256
  428|      1|    gXmlSecOpenSSLFunctions->transformRsaPssSha256GetKlass     = xmlSecOpenSSLTransformRsaPssSha256GetKlass;
  429|      1|#endif /* XMLSEC_NO_SHA256 */
  430|       |
  431|      1|#ifndef XMLSEC_NO_SHA384
  432|      1|    gXmlSecOpenSSLFunctions->transformRsaPssSha384GetKlass     = xmlSecOpenSSLTransformRsaPssSha384GetKlass;
  433|      1|#endif /* XMLSEC_NO_SHA384 */
  434|       |
  435|      1|#ifndef XMLSEC_NO_SHA512
  436|      1|    gXmlSecOpenSSLFunctions->transformRsaPssSha512GetKlass     = xmlSecOpenSSLTransformRsaPssSha512GetKlass;
  437|      1|#endif /* XMLSEC_NO_SHA512 */
  438|       |
  439|       |
  440|      1|#ifndef XMLSEC_NO_SHA3
  441|      1|    gXmlSecOpenSSLFunctions->transformRsaPssSha3_224GetKlass   = xmlSecOpenSSLTransformRsaPssSha3_224GetKlass;
  442|      1|    gXmlSecOpenSSLFunctions->transformRsaPssSha3_256GetKlass   = xmlSecOpenSSLTransformRsaPssSha3_256GetKlass;
  443|      1|    gXmlSecOpenSSLFunctions->transformRsaPssSha3_384GetKlass   = xmlSecOpenSSLTransformRsaPssSha3_384GetKlass;
  444|      1|    gXmlSecOpenSSLFunctions->transformRsaPssSha3_512GetKlass   = xmlSecOpenSSLTransformRsaPssSha3_512GetKlass;
  445|      1|#endif /* XMLSEC_NO_SHA3 */
  446|       |
  447|      1|#ifndef XMLSEC_NO_RSA_PKCS15
  448|      1|    gXmlSecOpenSSLFunctions->transformRsaPkcs1GetKlass          = xmlSecOpenSSLTransformRsaPkcs1GetKlass;
  449|      1|#endif /* XMLSEC_NO_RSA_PKCS15 */
  450|       |
  451|      1|#ifndef XMLSEC_NO_RSA_OAEP
  452|      1|    gXmlSecOpenSSLFunctions->transformRsaOaepGetKlass           = xmlSecOpenSSLTransformRsaOaepGetKlass;
  453|      1|    gXmlSecOpenSSLFunctions->transformRsaOaepEnc11GetKlass      = xmlSecOpenSSLTransformRsaOaepEnc11GetKlass;
  454|      1|#endif /* XMLSEC_NO_RSA_OAEP */
  455|       |
  456|      1|#endif /* XMLSEC_NO_RSA */
  457|       |
  458|       |    /* SLH-DSA */
  459|       |#ifndef XMLSEC_NO_SLHDSA
  460|       |    gXmlSecOpenSSLFunctions->transformSLHDSA_SHA2_128fGetKlass = xmlSecOpenSSLTransformSLHDSA_SHA2_128fGetKlass;
  461|       |    gXmlSecOpenSSLFunctions->transformSLHDSA_SHA2_128sGetKlass = xmlSecOpenSSLTransformSLHDSA_SHA2_128sGetKlass;
  462|       |    gXmlSecOpenSSLFunctions->transformSLHDSA_SHA2_192fGetKlass = xmlSecOpenSSLTransformSLHDSA_SHA2_192fGetKlass;
  463|       |    gXmlSecOpenSSLFunctions->transformSLHDSA_SHA2_192sGetKlass = xmlSecOpenSSLTransformSLHDSA_SHA2_192sGetKlass;
  464|       |    gXmlSecOpenSSLFunctions->transformSLHDSA_SHA2_256fGetKlass = xmlSecOpenSSLTransformSLHDSA_SHA2_256fGetKlass;
  465|       |    gXmlSecOpenSSLFunctions->transformSLHDSA_SHA2_256sGetKlass = xmlSecOpenSSLTransformSLHDSA_SHA2_256sGetKlass;
  466|       |#endif /* XMLSEC_NO_SLHDSA */
  467|       |
  468|       |#ifndef XMLSEC_NO_EDDSA
  469|       |    gXmlSecOpenSSLFunctions->transformEdDSAEd25519GetKlass    = xmlSecOpenSSLTransformEdDSAEd25519GetKlass;
  470|       |    gXmlSecOpenSSLFunctions->transformEdDSAEd25519ctxGetKlass = xmlSecOpenSSLTransformEdDSAEd25519ctxGetKlass;
  471|       |    gXmlSecOpenSSLFunctions->transformEdDSAEd25519phGetKlass  = xmlSecOpenSSLTransformEdDSAEd25519phGetKlass;
  472|       |    gXmlSecOpenSSLFunctions->transformEdDSAEd448GetKlass      = xmlSecOpenSSLTransformEdDSAEd448GetKlass;
  473|       |    gXmlSecOpenSSLFunctions->transformEdDSAEd448phGetKlass    = xmlSecOpenSSLTransformEdDSAEd448phGetKlass;
  474|       |#endif /* XMLSEC_NO_EDDSA */
  475|       |
  476|       |
  477|       |    /* SHA */
  478|      1|#ifndef XMLSEC_NO_SHA1
  479|      1|    gXmlSecOpenSSLFunctions->transformSha1GetKlass              = xmlSecOpenSSLTransformSha1GetKlass;
  480|      1|#endif /* XMLSEC_NO_SHA1 */
  481|       |
  482|      1|#ifndef XMLSEC_NO_SHA224
  483|      1|    gXmlSecOpenSSLFunctions->transformSha224GetKlass            = xmlSecOpenSSLTransformSha224GetKlass;
  484|      1|#endif /* XMLSEC_NO_SHA224 */
  485|       |
  486|      1|#ifndef XMLSEC_NO_SHA256
  487|      1|    gXmlSecOpenSSLFunctions->transformSha256GetKlass            = xmlSecOpenSSLTransformSha256GetKlass;
  488|      1|#endif /* XMLSEC_NO_SHA256 */
  489|       |
  490|      1|#ifndef XMLSEC_NO_SHA384
  491|      1|    gXmlSecOpenSSLFunctions->transformSha384GetKlass            = xmlSecOpenSSLTransformSha384GetKlass;
  492|      1|#endif /* XMLSEC_NO_SHA384 */
  493|       |
  494|      1|#ifndef XMLSEC_NO_SHA512
  495|      1|    gXmlSecOpenSSLFunctions->transformSha512GetKlass            = xmlSecOpenSSLTransformSha512GetKlass;
  496|      1|#endif /* XMLSEC_NO_SHA512 */
  497|       |
  498|       |
  499|      1|#ifndef XMLSEC_NO_SHA3
  500|      1|    gXmlSecOpenSSLFunctions->transformSha3_224GetKlass          = xmlSecOpenSSLTransformSha3_224GetKlass;
  501|      1|    gXmlSecOpenSSLFunctions->transformSha3_256GetKlass          = xmlSecOpenSSLTransformSha3_256GetKlass;
  502|      1|    gXmlSecOpenSSLFunctions->transformSha3_384GetKlass          = xmlSecOpenSSLTransformSha3_384GetKlass;
  503|      1|    gXmlSecOpenSSLFunctions->transformSha3_512GetKlass          = xmlSecOpenSSLTransformSha3_512GetKlass;
  504|      1|#endif /* XMLSEC_NO_SHA3 */
  505|       |
  506|       |    /******************************************************************************
  507|       |     *
  508|       |     * High-level routines for the xmlsec command-line utility
  509|       |     *
  510|       |     *****************************************************************************/
  511|      1|    gXmlSecOpenSSLFunctions->cryptoAppInit                      = xmlSecOpenSSLAppInit;
  512|      1|    gXmlSecOpenSSLFunctions->cryptoAppShutdown                  = xmlSecOpenSSLAppShutdown;
  513|      1|    gXmlSecOpenSSLFunctions->cryptoAppDefaultKeysMngrInit       = xmlSecOpenSSLAppDefaultKeysMngrInit;
  514|      1|    gXmlSecOpenSSLFunctions->cryptoAppDefaultKeysMngrAdoptKey   = xmlSecOpenSSLAppDefaultKeysMngrAdoptKey;
  515|      1|    gXmlSecOpenSSLFunctions->cryptoAppDefaultKeysMngrVerifyKey  = xmlSecOpenSSLAppDefaultKeysMngrVerifyKey;
  516|      1|    gXmlSecOpenSSLFunctions->cryptoAppDefaultKeysMngrLoad       = xmlSecOpenSSLAppDefaultKeysMngrLoad;
  517|      1|    gXmlSecOpenSSLFunctions->cryptoAppDefaultKeysMngrSave       = xmlSecOpenSSLAppDefaultKeysMngrSave;
  518|      1|#ifndef XMLSEC_NO_X509
  519|      1|    gXmlSecOpenSSLFunctions->cryptoAppKeysMngrCertLoad          = xmlSecOpenSSLAppKeysMngrCertLoad;
  520|      1|    gXmlSecOpenSSLFunctions->cryptoAppKeysMngrCertLoadMemory    = xmlSecOpenSSLAppKeysMngrCertLoadMemory;
  521|      1|    gXmlSecOpenSSLFunctions->cryptoAppKeysMngrCrlLoad           = xmlSecOpenSSLAppKeysMngrCrlLoad;
  522|      1|    gXmlSecOpenSSLFunctions->cryptoAppKeysMngrCrlLoadAndVerify  = xmlSecOpenSSLAppKeysMngrCrlLoadAndVerify;
  523|      1|    gXmlSecOpenSSLFunctions->cryptoAppKeysMngrCrlLoadMemory     = xmlSecOpenSSLAppKeysMngrCrlLoadMemory;
  524|      1|    gXmlSecOpenSSLFunctions->cryptoAppPkcs12Load                = xmlSecOpenSSLAppPkcs12Load;
  525|      1|    gXmlSecOpenSSLFunctions->cryptoAppPkcs12LoadMemory          = xmlSecOpenSSLAppPkcs12LoadMemory;
  526|      1|    gXmlSecOpenSSLFunctions->cryptoAppKeyCertLoad               = xmlSecOpenSSLAppKeyCertLoad;
  527|      1|    gXmlSecOpenSSLFunctions->cryptoAppKeyCertLoadMemory         = xmlSecOpenSSLAppKeyCertLoadMemory;
  528|      1|#endif /* XMLSEC_NO_X509 */
  529|      1|    gXmlSecOpenSSLFunctions->cryptoAppKeyLoadEx                 = xmlSecOpenSSLAppKeyLoadEx;
  530|      1|    gXmlSecOpenSSLFunctions->cryptoAppKeyLoadMemory             = xmlSecOpenSSLAppKeyLoadMemory;
  531|      1|    gXmlSecOpenSSLFunctions->cryptoAppDefaultPwdCallback        = xmlSecOpenSSLAppGetDefaultPwdCallback();
  532|       |
  533|      1|    return(gXmlSecOpenSSLFunctions);
  534|      1|}
xmlSecOpenSSLInit:
  542|      1|xmlSecOpenSSLInit (void)  {
  543|       |    /* Check loaded xmlsec library version */
  544|      1|    if(xmlSecCheckVersionExact() != 1) {
  ------------------
  |  |  144|      1|    xmlSecCheckVersionExt(XMLSEC_VERSION_MAJOR, XMLSEC_VERSION_MINOR, XMLSEC_VERSION_SUBMINOR, xmlSecCheckVersionExactMatch)
  |  |  ------------------
  |  |  |  |   23|      1|#define XMLSEC_VERSION_MAJOR    1
  |  |  ------------------
  |  |                   xmlSecCheckVersionExt(XMLSEC_VERSION_MAJOR, XMLSEC_VERSION_MINOR, XMLSEC_VERSION_SUBMINOR, xmlSecCheckVersionExactMatch)
  |  |  ------------------
  |  |  |  |   28|      1|#define XMLSEC_VERSION_MINOR    3
  |  |  ------------------
  |  |                   xmlSecCheckVersionExt(XMLSEC_VERSION_MAJOR, XMLSEC_VERSION_MINOR, XMLSEC_VERSION_SUBMINOR, xmlSecCheckVersionExactMatch)
  |  |  ------------------
  |  |  |  |   33|      1|#define XMLSEC_VERSION_SUBMINOR 14
  |  |  ------------------
  ------------------
  |  Branch (544:8): [True: 0, False: 1]
  ------------------
  545|      0|        xmlSecInternalError("xmlSecCheckVersionExact", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  546|      0|        return(-1);
  547|      0|    }
  548|       |
  549|      1|    if(xmlSecOpenSSLErrorsInit() < 0) {
  ------------------
  |  Branch (549:8): [True: 0, False: 1]
  ------------------
  550|      0|        xmlSecInternalError("xmlSecOpenSSLErrorsInit", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  551|      0|        return(-1);
  552|      0|    }
  553|       |
  554|       |    /* register our klasses */
  555|      1|    if(xmlSecCryptoDLFunctionsRegisterKeyDataAndTransforms(xmlSecCryptoGetFunctions_openssl()) < 0) {
  ------------------
  |  Branch (555:8): [True: 0, False: 1]
  ------------------
  556|      0|        xmlSecInternalError("xmlSecCryptoDLFunctionsRegisterKeyDataAndTransforms", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  557|      0|        return(-1);
  558|      0|    }
  559|       |
  560|      1|    return(0);
  561|      1|}
xmlSecOpenSSLKeysMngrInit:
  596|    802|xmlSecOpenSSLKeysMngrInit(xmlSecKeysMngrPtr mngr) {
  597|    802|#ifndef XMLSEC_NO_X509
  598|    802|    int ret;
  599|       |
  600|    802|    xmlSecAssert2(mngr != NULL, -1);
  ------------------
  |  |  466|    802|        do { \
  |  |  467|    802|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 802]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|    802|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 802]
  |  |  ------------------
  ------------------
  601|       |
  602|       |    /* create x509 store if needed */
  603|    802|    if(xmlSecKeysMngrGetDataStore(mngr, xmlSecOpenSSLX509StoreId) == NULL) {
  ------------------
  |  |   79|    802|        xmlSecOpenSSLX509StoreGetKlass()
  ------------------
  |  Branch (603:8): [True: 802, False: 0]
  ------------------
  604|    802|        xmlSecKeyDataStorePtr x509Store;
  605|       |
  606|    802|        x509Store = xmlSecKeyDataStoreCreate(xmlSecOpenSSLX509StoreId);
  ------------------
  |  |   79|    802|        xmlSecOpenSSLX509StoreGetKlass()
  ------------------
  607|    802|        if(x509Store == NULL) {
  ------------------
  |  Branch (607:12): [True: 0, False: 802]
  ------------------
  608|      0|            xmlSecInternalError("xmlSecKeyDataStoreCreate(xmlSecOpenSSLX509StoreId)", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  609|      0|            return(-1);
  610|      0|        }
  611|       |
  612|    802|        ret = xmlSecKeysMngrAdoptDataStore(mngr, x509Store);
  613|    802|        if(ret < 0) {
  ------------------
  |  Branch (613:12): [True: 0, False: 802]
  ------------------
  614|      0|            xmlSecInternalError("xmlSecKeysMngrAdoptDataStore", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  615|      0|            xmlSecKeyDataStoreDestroy(x509Store);
  616|      0|            return(-1);
  617|      0|        }
  618|    802|    }
  619|       |
  620|       |#else /* XMLSEC_NO_X509 */
  621|       |    xmlSecAssert2(mngr != NULL, -1);
  622|       |
  623|       |#endif /* XMLSEC_NO_X509 */
  624|       |
  625|    802|    return(0);
  626|    802|}
xmlSecOpenSSLGetDefaultTrustedCertsFolder:
  846|    802|xmlSecOpenSSLGetDefaultTrustedCertsFolder(void) {
  847|    802|    return(gXmlSecOpenSSLTrustedCertsFolder);
  848|    802|}
xmlSecOpenSSLGetLibCtx:
  871|  2.47k|xmlSecOpenSSLGetLibCtx(void) {
  872|  2.47k|    return(gXmlSecOpenSSLLibCtx);
  873|  2.47k|}
xmlSecOpenSSLCreateMemBufBio:
  906|  1.60k|xmlSecOpenSSLCreateMemBufBio(const xmlSecByte *buf, xmlSecSize bufSize) {
  907|  1.60k|    BIO* bio = NULL;
  908|  1.60k|    int bufLen;
  909|       |
  910|  1.60k|    xmlSecAssert2(buf != NULL, NULL);
  ------------------
  |  |  466|  1.60k|        do { \
  |  |  467|  1.60k|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 1.60k]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|  1.60k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 1.60k]
  |  |  ------------------
  ------------------
  911|       |
  912|  1.60k|    XMLSEC_SAFE_CAST_SIZE_TO_INT(bufSize, bufLen, return(NULL), NULL);
  ------------------
  |  |  157|  1.60k|    XMLSEC_SAFE_CAST_MAX_CHECK(xmlSecSize, (srcVal), XMLSEC_SIZE_FMT,          \
  |  |  ------------------
  |  |  |  |   47|  1.60k|    do {                                                                      \
  |  |  |  |   48|  1.60k|        srcType _xmlsec_srcVal = (srcVal);                                    \
  |  |  |  |   49|  1.60k|        if(_xmlsec_srcVal > (srcType)(dstMax)) {                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (49:12): [True: 0, False: 1.60k]
  |  |  |  |  ------------------
  |  |  |  |   50|      0|            xmlSecImpossibleCastError(srcType, _xmlsec_srcVal, srcFmt,        \
  |  |  |  |  ------------------
  |  |  |  |  |  |  913|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  914|      0|                    (const char*)(errorObject),             \
  |  |  |  |  |  |  915|      0|                    NULL,                                   \
  |  |  |  |  |  |  916|      0|                    XMLSEC_ERRORS_R_CAST_IMPOSSIBLE,        \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  317|      0|#define XMLSEC_ERRORS_R_CAST_IMPOSSIBLE                 101
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  917|      0|                    "src-type=" #srcType "; src-val=" srcFmt  \
  |  |  |  |  |  |  918|      0|                    "; dst-type=" #dstType "; dst-min=" dstFmt \
  |  |  |  |  |  |  919|      0|                    "; dst-max=" dstFmt,                    \
  |  |  |  |  |  |  920|      0|                    (srcVal), (dstMinVal), (dstMaxVal)      \
  |  |  |  |  |  |  921|      0|        )
  |  |  |  |  ------------------
  |  |  |  |   51|      0|                dstType, dstMin, dstMax, dstFmt, (errorObject));              \
  |  |  |  |   52|      0|            errorAction;                                                      \
  |  |  |  |   53|      0|        }                                                                     \
  |  |  |  |   54|  1.60k|        (dstVal) = (dstType)_xmlsec_srcVal;                                   \
  |  |  |  |   55|  1.60k|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:13): [Folded, False: 1.60k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  158|  1.60k|        int, (dstVal), "%d", INT_MIN, INT_MAX,                                 \
  |  |  159|  1.60k|        errorAction, (errorObject))
  ------------------
  913|  1.60k|    bio = BIO_new_mem_buf((const void*)buf, bufLen);
  914|  1.60k|    if(bio == NULL) {
  ------------------
  |  Branch (914:8): [True: 0, False: 1.60k]
  ------------------
  915|      0|        xmlSecOpenSSLError2("BIO_new_mem_buf", NULL, "dataSize=%d", bufLen);
  ------------------
  |  |   93|      0|    do {                                                            \
  |  |   94|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   95|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   96|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   97|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   98|      0|                    (const char*)(errorObject),             \
  |  |   99|      0|                    (errorFunction),                        \
  |  |  100|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |  101|      0|                    msg "; openssl error: %s",              \
  |  |  102|      0|                    (param),                                \
  |  |  103|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  423|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  104|      0|        );                                                  \
  |  |  105|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (105:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  916|      0|        return(NULL);
  917|      0|    }
  918|  1.60k|    return(bio);
  919|  1.60k|}
crypto.c:xmlSecOpenSSLErrorsInit:
  747|      1|xmlSecOpenSSLErrorsInit(void) {
  748|       |#if defined(XMLSEC_OPENSSL_API_111) && !defined(XMLSEC_OPENSSL_IS_BORINGSSL) && !defined(XMLSEC_OPENSSL_IS_AWSLC) && !defined(OPENSSL_NO_ERR)
  749|       |    xmlSecSize pos;
  750|       |
  751|       |    /*
  752|       |     * get the XMLSec library id, reusing the previously allocated id to
  753|       |     * avoid consuming a new OpenSSL ERR library id on every init
  754|       |     */
  755|       |    if(gXmlSecOpenSSLErrorsLib == 0) {
  756|       |        gXmlSecOpenSSLErrorsLib = ERR_get_next_error_library();
  757|       |        if(gXmlSecOpenSSLErrorsLib <= 0) {
  758|       |            xmlSecInternalError("ERR_get_next_error_library", NULL);
  759|       |            gXmlSecOpenSSLErrorsLib = 0;
  760|       |            return(-1);
  761|       |        }
  762|       |    }
  763|       |
  764|       |    /* initialize xmlsec lib name array */
  765|       |    memset(xmlSecOpenSSLStrLib, 0, sizeof(xmlSecOpenSSLStrLib));
  766|       |    xmlSecOpenSSLStrLib[0].error = ERR_PACK(gXmlSecOpenSSLErrorsLib, 0, 0);
  767|       |    xmlSecOpenSSLStrLib[0].string = gXmlSecOpenSSLErrorsLibName;
  768|       |
  769|       |    /* initialize xmlsec default error array */
  770|       |    memset(xmlSecOpenSSLStrDefReason, 0, sizeof(xmlSecOpenSSLStrDefReason));
  771|       |    xmlSecOpenSSLStrDefReason[0].error = ERR_PACK(gXmlSecOpenSSLErrorsLib, XMLSEC_OPENSSL_ERRORS_FUNCTION, 0);
  772|       |    xmlSecOpenSSLStrDefReason[0].string = gXmlSecOpenSSLErrorsDefault;
  773|       |
  774|       |    /* initialize reasons array */
  775|       |    memset(xmlSecOpenSSLStrReasons, 0, sizeof(xmlSecOpenSSLStrReasons));
  776|       |    for(pos = 0; (pos < XMLSEC_OPENSSL_ERRORS_MAX_NUMBER) && (xmlSecErrorsGetMsg(pos) != NULL); ++pos) {
  777|       |        /* reason strings must use func=0 because OpenSSL 1.1.1 looks them up
  778|       |         * via ERR_reason_error_string() as ERR_PACK(lib, 0, reason), while
  779|       |         * the default string and the errors callback use func=1 */
  780|       |        xmlSecOpenSSLStrReasons[pos].error  = ERR_PACK(gXmlSecOpenSSLErrorsLib, 0, xmlSecErrorsGetCode(pos));
  781|       |        xmlSecOpenSSLStrReasons[pos].string = xmlSecErrorsGetMsg(pos);
  782|       |    }
  783|       |
  784|       |    /* Load xmlsec strings in OpenSSL: this is a best-effort initialization. */
  785|       |    (void) ERR_load_strings(gXmlSecOpenSSLErrorsLib, xmlSecOpenSSLStrLib); /* define xmlsec lib name */
  786|       |    (void) ERR_load_strings(gXmlSecOpenSSLErrorsLib, xmlSecOpenSSLStrDefReason); /* define default reason */
  787|       |    (void) ERR_load_strings(gXmlSecOpenSSLErrorsLib, xmlSecOpenSSLStrReasons);
  788|       |#endif /* defined(XMLSEC_OPENSSL_API_111) && !defined(XMLSEC_OPENSSL_IS_BORINGSSL) && !defined(XMLSEC_OPENSSL_IS_AWSLC) && !defined(OPENSSL_NO_ERR) */
  789|       |
  790|       |    /* and set default errors callback for xmlsec to use OpenSSL specific callback */
  791|      1|    xmlSecErrorsSetSystemCallback(xmlSecOpenSSLErrorsDefaultCallback);
  792|       |
  793|      1|    return(0);
  794|      1|}

xmlSecOpenSSLKeyDataDEREncodedKeyValueGetKlass:
  114|      1|xmlSecOpenSSLKeyDataDEREncodedKeyValueGetKlass(void) {
  115|      1|    return(&xmlSecOpenSSLKeyDataDEREncodedKeyValueKlass);
  116|      1|}

xmlSecOpenSSLTransformMd5GetKlass:
  519|      1|xmlSecOpenSSLTransformMd5GetKlass(void) {
  520|      1|    return(&xmlSecOpenSSLMd5Klass);
  521|      1|}
xmlSecOpenSSLTransformRipemd160GetKlass:
  538|      1|xmlSecOpenSSLTransformRipemd160GetKlass(void) {
  539|      1|    return(&xmlSecOpenSSLRipemd160Klass);
  540|      1|}
xmlSecOpenSSLTransformSha1GetKlass:
  558|      1|xmlSecOpenSSLTransformSha1GetKlass(void) {
  559|      1|    return(&xmlSecOpenSSLSha1Klass);
  560|      1|}
xmlSecOpenSSLTransformSha224GetKlass:
  577|      1|xmlSecOpenSSLTransformSha224GetKlass(void) {
  578|      1|    return(&xmlSecOpenSSLSha224Klass);
  579|      1|}
xmlSecOpenSSLTransformSha256GetKlass:
  596|      1|xmlSecOpenSSLTransformSha256GetKlass(void) {
  597|      1|    return(&xmlSecOpenSSLSha256Klass);
  598|      1|}
xmlSecOpenSSLTransformSha384GetKlass:
  615|      1|xmlSecOpenSSLTransformSha384GetKlass(void) {
  616|      1|    return(&xmlSecOpenSSLSha384Klass);
  617|      1|}
xmlSecOpenSSLTransformSha512GetKlass:
  634|      1|xmlSecOpenSSLTransformSha512GetKlass(void) {
  635|      1|    return(&xmlSecOpenSSLSha512Klass);
  636|      1|}
xmlSecOpenSSLTransformSha3_224GetKlass:
  654|      1|xmlSecOpenSSLTransformSha3_224GetKlass(void) {
  655|      1|    return(&xmlSecOpenSSLSha3_224Klass);
  656|      1|}
xmlSecOpenSSLTransformSha3_256GetKlass:
  671|      1|xmlSecOpenSSLTransformSha3_256GetKlass(void) {
  672|      1|    return(&xmlSecOpenSSLSha3_256Klass);
  673|      1|}
xmlSecOpenSSLTransformSha3_384GetKlass:
  688|      1|xmlSecOpenSSLTransformSha3_384GetKlass(void) {
  689|      1|    return(&xmlSecOpenSSLSha3_384Klass);
  690|      1|}
xmlSecOpenSSLTransformSha3_512GetKlass:
  705|      1|xmlSecOpenSSLTransformSha3_512GetKlass(void) {
  706|      1|    return(&xmlSecOpenSSLSha3_512Klass);
  707|      1|}

xmlSecOpenSSLKeyDataDsaGetKlass:
 1070|      1|xmlSecOpenSSLKeyDataDsaGetKlass(void) {
 1071|      1|    return(&xmlSecOpenSSLKeyDataDsaKlass);
 1072|      1|}
xmlSecOpenSSLKeyDataDhGetKlass:
 1841|      1|xmlSecOpenSSLKeyDataDhGetKlass(void) {
 1842|      1|    return(&xmlSecOpenSSLKeyDataDhKlass);
 1843|      1|}
xmlSecOpenSSLKeyDataEcGetKlass:
 2639|      1|xmlSecOpenSSLKeyDataEcGetKlass(void) {
 2640|      1|    return(&xmlSecOpenSSLKeyDataEcKlass);
 2641|      1|}
xmlSecOpenSSLKeyDataRsaGetKlass:
 3281|      1|xmlSecOpenSSLKeyDataRsaGetKlass(void) {
 3282|      1|    return(&xmlSecOpenSSLKeyDataRsaKlass);
 3283|      1|}
xmlSecOpenSSLKeyDataXdhGetKlass:
 4298|      1|xmlSecOpenSSLKeyDataXdhGetKlass(void) {
 4299|      1|    return(&xmlSecOpenSSLKeyDataXdhKlass);
 4300|      1|}

xmlSecOpenSSLTransformHmacMd5GetKlass:
  632|      1|xmlSecOpenSSLTransformHmacMd5GetKlass(void) {
  633|      1|    return(&xmlSecOpenSSLHmacMd5Klass);
  634|      1|}
xmlSecOpenSSLTransformHmacRipemd160GetKlass:
  648|      1|xmlSecOpenSSLTransformHmacRipemd160GetKlass(void) {
  649|      1|    return(&xmlSecOpenSSLHmacRipemd160Klass);
  650|      1|}
xmlSecOpenSSLTransformHmacSha1GetKlass:
  662|      1|xmlSecOpenSSLTransformHmacSha1GetKlass(void) {
  663|      1|    return(&xmlSecOpenSSLHmacSha1Klass);
  664|      1|}
xmlSecOpenSSLTransformHmacSha224GetKlass:
  677|      1|xmlSecOpenSSLTransformHmacSha224GetKlass(void) {
  678|      1|    return(&xmlSecOpenSSLHmacSha224Klass);
  679|      1|}
xmlSecOpenSSLTransformHmacSha256GetKlass:
  692|      1|xmlSecOpenSSLTransformHmacSha256GetKlass(void) {
  693|      1|    return(&xmlSecOpenSSLHmacSha256Klass);
  694|      1|}
xmlSecOpenSSLTransformHmacSha384GetKlass:
  707|      1|xmlSecOpenSSLTransformHmacSha384GetKlass(void) {
  708|      1|    return(&xmlSecOpenSSLHmacSha384Klass);
  709|      1|}
xmlSecOpenSSLTransformHmacSha512GetKlass:
  722|      1|xmlSecOpenSSLTransformHmacSha512GetKlass(void) {
  723|      1|    return(&xmlSecOpenSSLHmacSha512Klass);
  724|      1|}

xmlSecOpenSSLTransformConcatKdfGetKlass:
  608|      1|xmlSecOpenSSLTransformConcatKdfGetKlass(void) {
  609|      1|    return(&xmlSecOpenSSLConcatKdfKlass);
  610|      1|}
xmlSecOpenSSLTransformPbkdf2GetKlass:
  809|      1|xmlSecOpenSSLTransformPbkdf2GetKlass(void) {
  810|      1|    return(&xmlSecOpenSSLPbkdf2Klass);
  811|      1|}
xmlSecOpenSSLTransformHkdfGetKlass:
 1022|      1|xmlSecOpenSSLTransformHkdfGetKlass(void) {
 1023|      1|    return(&xmlSecOpenSSLHkdfKlass);
 1024|      1|}

xmlSecOpenSSLTransformEcdhGetKlass:
  632|      1|xmlSecOpenSSLTransformEcdhGetKlass(void) {
  633|      1|    return(&xmlSecOpenSSLEcdhKlass);
  634|      1|}
xmlSecOpenSSLTransformDhEsGetKlass:
  661|      1|xmlSecOpenSSLTransformDhEsGetKlass(void) {
  662|      1|    return(&xmlSecOpenSSLDhKlass);
  663|      1|}
xmlSecOpenSSLTransformX25519GetKlass:
  684|      1|xmlSecOpenSSLTransformX25519GetKlass(void) {
  685|      1|    return(&xmlSecOpenSSLX25519Klass);
  686|      1|}
xmlSecOpenSSLTransformX448GetKlass:
  696|      1|xmlSecOpenSSLTransformX448GetKlass(void) {
  697|      1|    return(&xmlSecOpenSSLX448Klass);
  698|      1|}

xmlSecOpenSSLKeysStoreGetKlass:
   68|  2.40k|xmlSecOpenSSLKeysStoreGetKlass(void) {
   69|  2.40k|    return(&xmlSecOpenSSLKeysStoreKlass);
   70|  2.40k|}
keysstore.c:xmlSecOpenSSLKeysStoreInitialize:
   73|    802|xmlSecOpenSSLKeysStoreInitialize(xmlSecKeyStorePtr store) {
   74|    802|    xmlSecKeyStorePtr *simplekeystore;
   75|       |
   76|    802|    xmlSecAssert2(xmlSecKeyStoreCheckId(store, xmlSecOpenSSLKeysStoreId), -1);
  ------------------
  |  |  466|    802|        do { \
  |  |  467|  8.02k|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:19): [True: 802, False: 0]
  |  |  |  Branch (467:19): [True: 802, False: 0]
  |  |  |  Branch (467:19): [True: 802, False: 0]
  |  |  |  Branch (467:19): [True: 802, False: 0]
  |  |  |  Branch (467:19): [True: 802, False: 0]
  |  |  |  Branch (467:19): [True: 802, False: 0]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|    802|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 802]
  |  |  ------------------
  ------------------
   77|       |
   78|    802|    simplekeystore = xmlSecOpenSSLKeysStoreGetCtx(store);
   79|    802|    xmlSecAssert2(((simplekeystore != NULL) && (*simplekeystore == NULL)), -1);
  ------------------
  |  |  466|    802|        do { \
  |  |  467|  1.60k|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:19): [True: 802, False: 0]
  |  |  |  Branch (467:19): [True: 802, False: 0]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|    802|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 802]
  |  |  ------------------
  ------------------
   80|       |
   81|    802|    *simplekeystore = xmlSecKeyStoreCreate(xmlSecSimpleKeysStoreId);
  ------------------
  |  |  259|    802|#define xmlSecSimpleKeysStoreId         xmlSecSimpleKeysStoreGetKlass()
  ------------------
   82|    802|    if(*simplekeystore == NULL) {
  ------------------
  |  Branch (82:8): [True: 0, False: 802]
  ------------------
   83|      0|        xmlSecInternalError("xmlSecKeyStoreCreate(xmlSecSimpleKeysStoreId)",
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  ------------------
  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
   84|      0|            xmlSecKeyStoreGetName(store));
   85|      0|        return(-1);
   86|      0|    }
   87|       |
   88|    802|    return(0);
   89|    802|}
keysstore.c:xmlSecOpenSSLKeysStoreFinalize:
   92|    802|xmlSecOpenSSLKeysStoreFinalize(xmlSecKeyStorePtr store) {
   93|    802|    xmlSecKeyStorePtr *simplekeystore;
   94|       |
   95|    802|    xmlSecAssert(xmlSecKeyStoreCheckId(store, xmlSecOpenSSLKeysStoreId));
  ------------------
  |  |  449|    802|        do { \
  |  |  450|  8.02k|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (450:19): [True: 802, False: 0]
  |  |  |  Branch (450:19): [True: 802, False: 0]
  |  |  |  Branch (450:19): [True: 802, False: 0]
  |  |  |  Branch (450:19): [True: 802, False: 0]
  |  |  |  Branch (450:19): [True: 802, False: 0]
  |  |  |  Branch (450:19): [True: 802, False: 0]
  |  |  ------------------
  |  |  451|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  452|      0|                            NULL, \
  |  |  453|      0|                            #p, \
  |  |  454|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  455|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  456|      0|                return; \
  |  |  457|      0|            } \
  |  |  458|    802|        } while(0)
  |  |  ------------------
  |  |  |  Branch (458:17): [Folded, False: 802]
  |  |  ------------------
  ------------------
   96|       |
   97|    802|    simplekeystore = xmlSecOpenSSLKeysStoreGetCtx(store);
   98|       |    /* (*simplekeystore) may be NULL if Initialize failed (e.g. OOM in
   99|       |     * xmlSecKeyStoreCreate); xmlSecKeyStoreCreate still calls finalize
  100|       |     * in that case, so guard against it. */
  101|    802|    if((simplekeystore != NULL) && (*simplekeystore != NULL)) {
  ------------------
  |  Branch (101:8): [True: 802, False: 0]
  |  Branch (101:36): [True: 802, False: 0]
  ------------------
  102|    802|        xmlSecKeyStoreDestroy(*simplekeystore);
  103|       |        *simplekeystore = NULL;
  104|    802|    }
  105|    802|}

xmlSecOpenSSLTransformRsaPkcs1GetKlass:
  126|      1|xmlSecOpenSSLTransformRsaPkcs1GetKlass(void) {
  127|      1|    return(&xmlSecOpenSSLRsaPkcs1Klass);
  128|      1|}
xmlSecOpenSSLTransformRsaOaepGetKlass:
  674|      1|xmlSecOpenSSLTransformRsaOaepGetKlass(void) {
  675|      1|    return(&xmlSecOpenSSLRsaOaepKlass);
  676|      1|}
xmlSecOpenSSLTransformRsaOaepEnc11GetKlass:
  711|      1|xmlSecOpenSSLTransformRsaOaepEnc11GetKlass(void) {
  712|      1|    return(&xmlSecOpenSSLRsaOaepEnc11Klass);
  713|      1|}

xmlSecOpenSSLTransformKWDes3GetKlass:
  156|      1|xmlSecOpenSSLTransformKWDes3GetKlass(void) {
  157|      1|    return(&xmlSecOpenSSLKWDes3Klass);
  158|      1|}

xmlSecOpenSSLTransformKWAes128GetKlass:
  699|      1|xmlSecOpenSSLTransformKWAes128GetKlass(void) {
  700|      1|    return(&xmlSecOpenSSLKWAes128Klass);
  701|      1|}
xmlSecOpenSSLTransformKWAes192GetKlass:
  711|      1|xmlSecOpenSSLTransformKWAes192GetKlass(void) {
  712|      1|    return(&xmlSecOpenSSLKWAes192Klass);
  713|      1|}
xmlSecOpenSSLTransformKWAes256GetKlass:
  722|      1|xmlSecOpenSSLTransformKWAes256GetKlass(void) {
  723|      1|    return(&xmlSecOpenSSLKWAes256Klass);
  724|      1|}
xmlSecOpenSSLTransformKWCamellia128GetKlass:
  790|      1|xmlSecOpenSSLTransformKWCamellia128GetKlass(void) {
  791|      1|    return(&xmlSecOpenSSLKWCamellia128Klass);
  792|      1|}
xmlSecOpenSSLTransformKWCamellia192GetKlass:
  801|      1|xmlSecOpenSSLTransformKWCamellia192GetKlass(void) {
  802|      1|    return(&xmlSecOpenSSLKWCamellia192Klass);
  803|      1|}
xmlSecOpenSSLTransformKWCamellia256GetKlass:
  812|      1|xmlSecOpenSSLTransformKWCamellia256GetKlass(void) {
  813|      1|    return(&xmlSecOpenSSLKWCamellia256Klass);
  814|      1|}

xmlSecOpenSSLTransformRsaMd5GetKlass:
 1610|      1|xmlSecOpenSSLTransformRsaMd5GetKlass(void) {
 1611|      1|    return(&xmlSecOpenSSLRsaMd5Klass);
 1612|      1|}
xmlSecOpenSSLTransformRsaRipemd160GetKlass:
 1625|      1|xmlSecOpenSSLTransformRsaRipemd160GetKlass(void) {
 1626|      1|    return(&xmlSecOpenSSLRsaRipemd160Klass);
 1627|      1|}
xmlSecOpenSSLTransformRsaSha1GetKlass:
 1640|      1|xmlSecOpenSSLTransformRsaSha1GetKlass(void) {
 1641|      1|    return(&xmlSecOpenSSLRsaSha1Klass);
 1642|      1|}
xmlSecOpenSSLTransformRsaSha224GetKlass:
 1655|      1|xmlSecOpenSSLTransformRsaSha224GetKlass(void) {
 1656|      1|    return(&xmlSecOpenSSLRsaSha224Klass);
 1657|      1|}
xmlSecOpenSSLTransformRsaSha256GetKlass:
 1670|      1|xmlSecOpenSSLTransformRsaSha256GetKlass(void) {
 1671|      1|    return(&xmlSecOpenSSLRsaSha256Klass);
 1672|      1|}
xmlSecOpenSSLTransformRsaSha384GetKlass:
 1685|      1|xmlSecOpenSSLTransformRsaSha384GetKlass(void) {
 1686|      1|    return(&xmlSecOpenSSLRsaSha384Klass);
 1687|      1|}
xmlSecOpenSSLTransformRsaSha512GetKlass:
 1700|      1|xmlSecOpenSSLTransformRsaSha512GetKlass(void) {
 1701|      1|    return(&xmlSecOpenSSLRsaSha512Klass);
 1702|      1|}
xmlSecOpenSSLTransformRsaPssSha1GetKlass:
 1715|      1|xmlSecOpenSSLTransformRsaPssSha1GetKlass(void) {
 1716|      1|    return(&xmlSecOpenSSLRsaPssSha1Klass);
 1717|      1|}
xmlSecOpenSSLTransformRsaPssSha224GetKlass:
 1731|      1|xmlSecOpenSSLTransformRsaPssSha224GetKlass(void) {
 1732|      1|    return(&xmlSecOpenSSLRsaPssSha224Klass);
 1733|      1|}
xmlSecOpenSSLTransformRsaPssSha256GetKlass:
 1746|      1|xmlSecOpenSSLTransformRsaPssSha256GetKlass(void) {
 1747|      1|    return(&xmlSecOpenSSLRsaPssSha256Klass);
 1748|      1|}
xmlSecOpenSSLTransformRsaPssSha384GetKlass:
 1761|      1|xmlSecOpenSSLTransformRsaPssSha384GetKlass(void) {
 1762|      1|    return(&xmlSecOpenSSLRsaPssSha384Klass);
 1763|      1|}
xmlSecOpenSSLTransformRsaPssSha512GetKlass:
 1776|      1|xmlSecOpenSSLTransformRsaPssSha512GetKlass(void) {
 1777|      1|    return(&xmlSecOpenSSLRsaPssSha512Klass);
 1778|      1|}
xmlSecOpenSSLTransformRsaPssSha3_224GetKlass:
 1793|      1|xmlSecOpenSSLTransformRsaPssSha3_224GetKlass(void) {
 1794|      1|    return(&xmlSecOpenSSLRsaPssSha3_224Klass);
 1795|      1|}
xmlSecOpenSSLTransformRsaPssSha3_256GetKlass:
 1805|      1|xmlSecOpenSSLTransformRsaPssSha3_256GetKlass(void) {
 1806|      1|    return(&xmlSecOpenSSLRsaPssSha3_256Klass);
 1807|      1|}
xmlSecOpenSSLTransformRsaPssSha3_384GetKlass:
 1817|      1|xmlSecOpenSSLTransformRsaPssSha3_384GetKlass(void) {
 1818|      1|    return(&xmlSecOpenSSLRsaPssSha3_384Klass);
 1819|      1|}
xmlSecOpenSSLTransformRsaPssSha3_512GetKlass:
 1829|      1|xmlSecOpenSSLTransformRsaPssSha3_512GetKlass(void) {
 1830|      1|    return(&xmlSecOpenSSLRsaPssSha3_512Klass);
 1831|      1|}
xmlSecOpenSSLTransformDsaSha1GetKlass:
 2095|      1|xmlSecOpenSSLTransformDsaSha1GetKlass(void) {
 2096|      1|    return(&xmlSecOpenSSLDsaSha1Klass);
 2097|      1|}
xmlSecOpenSSLTransformDsaSha256GetKlass:
 2110|      1|xmlSecOpenSSLTransformDsaSha256GetKlass(void) {
 2111|      1|    return(&xmlSecOpenSSLDsaSha256Klass);
 2112|      1|}
xmlSecOpenSSLTransformEcdsaRipemd160GetKlass:
 2428|      1|xmlSecOpenSSLTransformEcdsaRipemd160GetKlass(void) {
 2429|      1|    return(&xmlSecOpenSSLEcdsaRipemd160Klass);
 2430|      1|}
xmlSecOpenSSLTransformEcdsaSha1GetKlass:
 2443|      1|xmlSecOpenSSLTransformEcdsaSha1GetKlass(void) {
 2444|      1|    return(&xmlSecOpenSSLEcdsaSha1Klass);
 2445|      1|}
xmlSecOpenSSLTransformEcdsaSha224GetKlass:
 2458|      1|xmlSecOpenSSLTransformEcdsaSha224GetKlass(void) {
 2459|      1|    return(&xmlSecOpenSSLEcdsaSha224Klass);
 2460|      1|}
xmlSecOpenSSLTransformEcdsaSha256GetKlass:
 2473|      1|xmlSecOpenSSLTransformEcdsaSha256GetKlass(void) {
 2474|      1|    return(&xmlSecOpenSSLEcdsaSha256Klass);
 2475|      1|}
xmlSecOpenSSLTransformEcdsaSha384GetKlass:
 2488|      1|xmlSecOpenSSLTransformEcdsaSha384GetKlass(void) {
 2489|      1|    return(&xmlSecOpenSSLEcdsaSha384Klass);
 2490|      1|}
xmlSecOpenSSLTransformEcdsaSha512GetKlass:
 2503|      1|xmlSecOpenSSLTransformEcdsaSha512GetKlass(void) {
 2504|      1|    return(&xmlSecOpenSSLEcdsaSha512Klass);
 2505|      1|}
xmlSecOpenSSLTransformEcdsaSha3_224GetKlass:
 2519|      1|xmlSecOpenSSLTransformEcdsaSha3_224GetKlass(void) {
 2520|      1|    return(&xmlSecOpenSSLEcdsaSha3_224Klass);
 2521|      1|}
xmlSecOpenSSLTransformEcdsaSha3_256GetKlass:
 2531|      1|xmlSecOpenSSLTransformEcdsaSha3_256GetKlass(void) {
 2532|      1|    return(&xmlSecOpenSSLEcdsaSha3_256Klass);
 2533|      1|}
xmlSecOpenSSLTransformEcdsaSha3_384GetKlass:
 2543|      1|xmlSecOpenSSLTransformEcdsaSha3_384GetKlass(void) {
 2544|      1|    return(&xmlSecOpenSSLEcdsaSha3_384Klass);
 2545|      1|}
xmlSecOpenSSLTransformEcdsaSha3_512GetKlass:
 2556|      1|xmlSecOpenSSLTransformEcdsaSha3_512GetKlass(void) {
 2557|      1|    return(&xmlSecOpenSSLEcdsaSha3_512Klass);
 2558|      1|}

xmlSecOpenSSLKeyDataAesGetKlass:
  298|      1|xmlSecOpenSSLKeyDataAesGetKlass(void) {
  299|      1|    return(&xmlSecOpenSSLKeyDataAesKlass);
  300|      1|}
xmlSecOpenSSLKeyDataCamelliaGetKlass:
  337|      1|xmlSecOpenSSLKeyDataCamelliaGetKlass(void) {
  338|      1|    return(&xmlSecOpenSSLKeyDataCamelliaKlass);
  339|      1|}
xmlSecOpenSSLKeyDataChaCha20GetKlass:
  376|      1|xmlSecOpenSSLKeyDataChaCha20GetKlass(void) {
  377|      1|    return(&xmlSecOpenSSLKeyDataChaCha20Klass);
  378|      1|}
xmlSecOpenSSLKeyDataConcatKdfGetKlass:
  423|      1|xmlSecOpenSSLKeyDataConcatKdfGetKlass(void) {
  424|      1|    return(&xmlSecOpenSSLKeyDataConcatKdfKlass);
  425|      1|}
xmlSecOpenSSLKeyDataDesGetKlass:
  463|      1|xmlSecOpenSSLKeyDataDesGetKlass(void) {
  464|      1|    return(&xmlSecOpenSSLKeyDataDesKlass);
  465|      1|}
xmlSecOpenSSLKeyDataHmacGetKlass:
  503|      1|xmlSecOpenSSLKeyDataHmacGetKlass(void) {
  504|      1|    return(&xmlSecOpenSSLKeyDataHmacKlass);
  505|      1|}
xmlSecOpenSSLKeyDataPbkdf2GetKlass:
  550|      1|xmlSecOpenSSLKeyDataPbkdf2GetKlass(void) {
  551|      1|    return(&xmlSecOpenSSLKeyDataPbkdf2Klass);
  552|      1|}
xmlSecOpenSSLKeyDataHkdfGetKlass:
  596|      1|xmlSecOpenSSLKeyDataHkdfGetKlass(void) {
  597|      1|    return(&xmlSecOpenSSLKeyDataHkdfKlass);
  598|      1|}

xmlSecOpenSSLKeyDataX509GetKlass:
  172|      1|xmlSecOpenSSLKeyDataX509GetKlass(void) {
  173|      1|    return(&xmlSecOpenSSLKeyDataX509Klass);
  174|      1|}
xmlSecOpenSSLX509CertLoadBIO:
 1801|    802|xmlSecOpenSSLX509CertLoadBIO(BIO* bio, xmlSecKeyDataFormat format) {
 1802|    802|    X509* tmp = NULL;
 1803|    802|    X509* res = NULL;
 1804|       |
 1805|    802|    xmlSecAssert2(bio != NULL, NULL);
  ------------------
  |  |  466|    802|        do { \
  |  |  467|    802|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 802]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|    802|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 802]
  |  |  ------------------
  ------------------
 1806|    802|    xmlSecAssert2(format != xmlSecKeyDataFormatUnknown, NULL);
  ------------------
  |  |  466|    802|        do { \
  |  |  467|    802|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 802]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|    802|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 802]
  |  |  ------------------
  ------------------
 1807|       |
 1808|       |    /* create certificate object to hold the cert we are going to read */
 1809|    802|    tmp = X509_new_ex(xmlSecOpenSSLGetLibCtx(), NULL);
 1810|    802|    if(tmp == NULL) {
  ------------------
  |  Branch (1810:8): [True: 0, False: 802]
  ------------------
 1811|      0|        xmlSecOpenSSLError("X509_new_ex", NULL);
  ------------------
  |  |   66|      0|    do {                                                    \
  |  |   67|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   68|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   69|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   70|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   71|      0|                    (const char*)(errorObject),             \
  |  |   72|      0|                    (errorFunction),                        \
  |  |   73|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   74|      0|                    "openssl error: %s",                    \
  |  |   75|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  423|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   76|      0|        );                                                  \
  |  |   77|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (77:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1812|      0|        goto done;
 1813|      0|    }
 1814|       |
 1815|       |    /* read the cert */
 1816|    802|    switch(format) {
 1817|    672|    case xmlSecKeyDataFormatPem:
  ------------------
  |  Branch (1817:5): [True: 672, False: 130]
  ------------------
 1818|    672|    case xmlSecKeyDataFormatCertPem:
  ------------------
  |  Branch (1818:5): [True: 0, False: 802]
  ------------------
 1819|    672|        res = PEM_read_bio_X509_AUX(bio, &tmp, NULL, NULL);
 1820|    672|        if(res == NULL) {
  ------------------
  |  Branch (1820:12): [True: 670, False: 2]
  ------------------
 1821|    670|            xmlSecOpenSSLError("PEM_read_bio_X509_AUX", NULL);
  ------------------
  |  |   66|    670|    do {                                                    \
  |  |   67|    670|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   68|    670|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   69|    670|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   70|    670|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|    670|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   71|    670|                    (const char*)(errorObject),             \
  |  |   72|    670|                    (errorFunction),                        \
  |  |   73|    670|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|    670|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   74|    670|                    "openssl error: %s",                    \
  |  |   75|    670|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  423|    670|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:10): [True: 670, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   76|    670|        );                                                  \
  |  |   77|    670|    } while(0)
  |  |  ------------------
  |  |  |  Branch (77:13): [Folded, False: 670]
  |  |  ------------------
  ------------------
 1822|    670|            goto done;
 1823|    670|        }
 1824|      2|        tmp = NULL; /* now it's res */
 1825|      2|        break;
 1826|    130|    case xmlSecKeyDataFormatDer:
  ------------------
  |  Branch (1826:5): [True: 130, False: 672]
  ------------------
 1827|    130|    case xmlSecKeyDataFormatCertDer:
  ------------------
  |  Branch (1827:5): [True: 0, False: 802]
  ------------------
 1828|    130|        res = d2i_X509_bio(bio, &tmp);
 1829|    130|        if(res == NULL) {
  ------------------
  |  Branch (1829:12): [True: 99, False: 31]
  ------------------
 1830|     99|            xmlSecOpenSSLError("d2i_X509_bio", NULL);
  ------------------
  |  |   66|     99|    do {                                                    \
  |  |   67|     99|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   68|     99|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   69|     99|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   70|     99|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|     99|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   71|     99|                    (const char*)(errorObject),             \
  |  |   72|     99|                    (errorFunction),                        \
  |  |   73|     99|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|     99|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   74|     99|                    "openssl error: %s",                    \
  |  |   75|     99|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  423|     99|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:10): [True: 99, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   76|     99|        );                                                  \
  |  |   77|     99|    } while(0)
  |  |  ------------------
  |  |  |  Branch (77:13): [Folded, False: 99]
  |  |  ------------------
  ------------------
 1831|     99|            goto done;
 1832|     99|        }
 1833|     31|        tmp = NULL; /* now it's res */
 1834|     31|        break;
 1835|      0|    default:
  ------------------
  |  Branch (1835:5): [True: 0, False: 802]
  ------------------
 1836|      0|        xmlSecOtherError2(XMLSEC_ERRORS_R_INVALID_FORMAT, NULL,
  ------------------
  |  |  948|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  949|      0|                    (const char*)(errorObject),             \
  |  |  950|      0|                    NULL,                                   \
  |  |  951|      0|                    (code),                                 \
  |  |  952|      0|                    (msg), (param)                          \
  |  |  953|      0|        )
  ------------------
 1837|      0|            "format=" XMLSEC_ENUM_FMT, XMLSEC_ENUM_CAST(format));
 1838|      0|        goto done;
 1839|    802|    }
 1840|       |
 1841|    802|done:
 1842|    802|    if(tmp != NULL) {
  ------------------
  |  Branch (1842:8): [True: 729, False: 73]
  ------------------
 1843|    729|        X509_free(tmp);
 1844|    729|    }
 1845|    802|    return(res);
 1846|    802|}
xmlSecOpenSSLX509CrlLoadBIO:
 1850|    802|xmlSecOpenSSLX509CrlLoadBIO(BIO* bio, xmlSecKeyDataFormat format) {
 1851|    802|    X509_CRL* tmp = NULL;
 1852|    802|    X509_CRL* res = NULL;
 1853|       |
 1854|    802|    xmlSecAssert2(bio != NULL, NULL);
  ------------------
  |  |  466|    802|        do { \
  |  |  467|    802|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 802]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|    802|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 802]
  |  |  ------------------
  ------------------
 1855|    802|    xmlSecAssert2(format != xmlSecKeyDataFormatUnknown, NULL);
  ------------------
  |  |  466|    802|        do { \
  |  |  467|    802|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 802]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|    802|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 802]
  |  |  ------------------
  ------------------
 1856|       |
 1857|       |    /* create CRL object to hold the CRL we are going to read */
 1858|    802|    tmp = X509_CRL_new_ex(xmlSecOpenSSLGetLibCtx(), NULL);
 1859|    802|    if(tmp == NULL) {
  ------------------
  |  Branch (1859:8): [True: 0, False: 802]
  ------------------
 1860|      0|        xmlSecOpenSSLError("X509_CRL_new_ex", NULL);
  ------------------
  |  |   66|      0|    do {                                                    \
  |  |   67|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   68|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   69|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   70|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   71|      0|                    (const char*)(errorObject),             \
  |  |   72|      0|                    (errorFunction),                        \
  |  |   73|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   74|      0|                    "openssl error: %s",                    \
  |  |   75|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  423|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   76|      0|        );                                                  \
  |  |   77|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (77:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1861|      0|        goto done;
 1862|      0|    }
 1863|       |
 1864|       |    /* read the CRL */
 1865|    802|    switch(format) {
 1866|    672|    case xmlSecKeyDataFormatPem:
  ------------------
  |  Branch (1866:5): [True: 672, False: 130]
  ------------------
 1867|    672|    case xmlSecKeyDataFormatCertPem:
  ------------------
  |  Branch (1867:5): [True: 0, False: 802]
  ------------------
 1868|    672|        res = PEM_read_bio_X509_CRL(bio, &tmp, NULL, NULL);
 1869|    672|        if(res == NULL) {
  ------------------
  |  Branch (1869:12): [True: 670, False: 2]
  ------------------
 1870|    670|            xmlSecOpenSSLError("PEM_read_bio_X509_CRL", NULL);
  ------------------
  |  |   66|    670|    do {                                                    \
  |  |   67|    670|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   68|    670|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   69|    670|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   70|    670|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|    670|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   71|    670|                    (const char*)(errorObject),             \
  |  |   72|    670|                    (errorFunction),                        \
  |  |   73|    670|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|    670|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   74|    670|                    "openssl error: %s",                    \
  |  |   75|    670|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  423|    670|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:10): [True: 670, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   76|    670|        );                                                  \
  |  |   77|    670|    } while(0)
  |  |  ------------------
  |  |  |  Branch (77:13): [Folded, False: 670]
  |  |  ------------------
  ------------------
 1871|    670|            goto done;
 1872|    670|        }
 1873|      2|        tmp = NULL; /* now it's res */
 1874|      2|        break;
 1875|    130|    case xmlSecKeyDataFormatDer:
  ------------------
  |  Branch (1875:5): [True: 130, False: 672]
  ------------------
 1876|    130|    case xmlSecKeyDataFormatCertDer:
  ------------------
  |  Branch (1876:5): [True: 0, False: 802]
  ------------------
 1877|    130|        res = d2i_X509_CRL_bio(bio, &tmp);
 1878|    130|        if(res == NULL) {
  ------------------
  |  Branch (1878:12): [True: 73, False: 57]
  ------------------
 1879|     73|            xmlSecOpenSSLError("d2i_X509_CRL_bio", NULL);
  ------------------
  |  |   66|     73|    do {                                                    \
  |  |   67|     73|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   68|     73|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   69|     73|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   70|     73|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|     73|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   71|     73|                    (const char*)(errorObject),             \
  |  |   72|     73|                    (errorFunction),                        \
  |  |   73|     73|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|     73|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   74|     73|                    "openssl error: %s",                    \
  |  |   75|     73|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  423|     73|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:10): [True: 73, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   76|     73|        );                                                  \
  |  |   77|     73|    } while(0)
  |  |  ------------------
  |  |  |  Branch (77:13): [Folded, False: 73]
  |  |  ------------------
  ------------------
 1880|     73|            goto done;
 1881|     73|        }
 1882|     57|        tmp = NULL; /* now it's res */
 1883|     57|        break;
 1884|      0|    default:
  ------------------
  |  Branch (1884:5): [True: 0, False: 802]
  ------------------
 1885|      0|        xmlSecOtherError2(XMLSEC_ERRORS_R_INVALID_FORMAT, NULL,
  ------------------
  |  |  948|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  949|      0|                    (const char*)(errorObject),             \
  |  |  950|      0|                    NULL,                                   \
  |  |  951|      0|                    (code),                                 \
  |  |  952|      0|                    (msg), (param)                          \
  |  |  953|      0|        )
  ------------------
 1886|      0|            "format=" XMLSEC_ENUM_FMT, XMLSEC_ENUM_CAST(format));
 1887|      0|        goto done;
 1888|    802|    }
 1889|       |
 1890|    802|done:
 1891|    802|    if(tmp != NULL) {
  ------------------
  |  Branch (1891:8): [True: 690, False: 112]
  ------------------
 1892|    690|        X509_CRL_free(tmp);
 1893|    690|    }
 1894|    802|    return(res);
 1895|    802|}
xmlSecOpenSSLX509NameToString:
 1975|     46|xmlSecOpenSSLX509NameToString(XMLSEC_OPENSSL400_CONST X509_NAME* name, char* buf, int bufLen) {
 1976|     46|    BIO* mem = NULL;
 1977|     46|    char* data = NULL;
 1978|     46|    long len;
 1979|     46|    size_t lenSize;
 1980|     46|    int res = -1;
 1981|       |
 1982|     46|    xmlSecAssert2(buf != NULL, -1);
  ------------------
  |  |  466|     46|        do { \
  |  |  467|     46|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 46]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|     46|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 46]
  |  |  ------------------
  ------------------
 1983|     46|    xmlSecAssert2(bufLen > 0, -1);
  ------------------
  |  |  466|     46|        do { \
  |  |  467|     46|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 46]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|     46|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 46]
  |  |  ------------------
  ------------------
 1984|       |
 1985|     46|    buf[0] = '\0';
 1986|     46|    if(name == NULL) {
  ------------------
  |  Branch (1986:8): [True: 0, False: 46]
  ------------------
 1987|       |        /* no name: leave buf empty */
 1988|      0|        return(0);
 1989|      0|    }
 1990|       |
 1991|     46|    mem = BIO_new(BIO_s_mem());
 1992|     46|    if(mem == NULL) {
  ------------------
  |  Branch (1992:8): [True: 0, False: 46]
  ------------------
 1993|      0|        xmlSecOpenSSLError("BIO_new", NULL);
  ------------------
  |  |   66|      0|    do {                                                    \
  |  |   67|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   68|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   69|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   70|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   71|      0|                    (const char*)(errorObject),             \
  |  |   72|      0|                    (errorFunction),                        \
  |  |   73|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   74|      0|                    "openssl error: %s",                    \
  |  |   75|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  423|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   76|      0|        );                                                  \
  |  |   77|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (77:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1994|      0|        goto done;
 1995|      0|    }
 1996|       |    /*
 1997|       |     * X509_NAME_print_ex() returns the number of characters written on
 1998|       |     * success and -1 on failure; 0 is a valid result for an empty name
 1999|       |     * (RFC 5280 section 4.1.2.6 permits an empty subject name)
 2000|       |     */
 2001|     46|    if(X509_NAME_print_ex(mem, name, 0, XN_FLAG_RFC2253) < 0) {
  ------------------
  |  Branch (2001:8): [True: 0, False: 46]
  ------------------
 2002|      0|        xmlSecOpenSSLError("X509_NAME_print_ex", NULL);
  ------------------
  |  |   66|      0|    do {                                                    \
  |  |   67|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   68|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   69|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   70|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   71|      0|                    (const char*)(errorObject),             \
  |  |   72|      0|                    (errorFunction),                        \
  |  |   73|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   74|      0|                    "openssl error: %s",                    \
  |  |   75|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  423|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   76|      0|        );                                                  \
  |  |   77|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (77:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2003|      0|        goto done;
 2004|      0|    }
 2005|     46|    len = BIO_get_mem_data(mem, &data);
 2006|     46|    if((len < 0) || ((len > 0) && (data == NULL))) {
  ------------------
  |  Branch (2006:8): [True: 0, False: 46]
  |  Branch (2006:22): [True: 46, False: 0]
  |  Branch (2006:35): [True: 0, False: 46]
  ------------------
 2007|      0|        xmlSecOpenSSLError("BIO_get_mem_data", NULL);
  ------------------
  |  |   66|      0|    do {                                                    \
  |  |   67|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   68|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   69|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   70|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   71|      0|                    (const char*)(errorObject),             \
  |  |   72|      0|                    (errorFunction),                        \
  |  |   73|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   74|      0|                    "openssl error: %s",                    \
  |  |   75|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  423|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   76|      0|        );                                                  \
  |  |   77|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (77:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2008|      0|        goto done;
 2009|      0|    }
 2010|       |
 2011|       |    /* truncate the name if needed */
 2012|     46|    if(len > bufLen - 1) {
  ------------------
  |  Branch (2012:8): [True: 27, False: 19]
  ------------------
 2013|     27|        long pos;
 2014|     27|        long charLen;
 2015|     27|        unsigned char leadByte;
 2016|       |
 2017|     27|        len = bufLen - 1;
 2018|       |
 2019|       |        /*
 2020|       |         * XN_FLAG_RFC2253 output is UTF-8: back off to a character boundary
 2021|       |         * so we do not split a multi-byte character when truncating the
 2022|       |         * diagnostic text. Locate the lead byte of the last character and
 2023|       |         * drop the character if it does not fit entirely within the
 2024|       |         * truncated length.
 2025|       |         */
 2026|     27|        pos = len - 1;
 2027|     27|        while((pos >= 0) && ((((unsigned char)data[pos]) & 0xC0) == 0x80)) {
  ------------------
  |  Branch (2027:15): [True: 27, False: 0]
  |  Branch (2027:29): [True: 0, False: 27]
  ------------------
 2028|      0|            pos--;
 2029|      0|        }
 2030|     27|        if(pos >= 0) {
  ------------------
  |  Branch (2030:12): [True: 27, False: 0]
  ------------------
 2031|     27|            leadByte = (unsigned char)data[pos];
 2032|     27|            if(leadByte >= 0xF0) {
  ------------------
  |  Branch (2032:16): [True: 0, False: 27]
  ------------------
 2033|      0|                charLen = 4;
 2034|     27|            } else if(leadByte >= 0xE0) {
  ------------------
  |  Branch (2034:23): [True: 0, False: 27]
  ------------------
 2035|      0|                charLen = 3;
 2036|     27|            } else if(leadByte >= 0xC0) {
  ------------------
  |  Branch (2036:23): [True: 0, False: 27]
  ------------------
 2037|      0|                charLen = 2;
 2038|     27|            } else {
 2039|     27|                charLen = 1;
 2040|     27|            }
 2041|     27|            if(pos + charLen > len) {
  ------------------
  |  Branch (2041:16): [True: 0, False: 27]
  ------------------
 2042|      0|                len = pos;
 2043|      0|            }
 2044|     27|        }
 2045|     27|    }
 2046|     46|    XMLSEC_SAFE_CAST_LONG_TO_SIZE(len, lenSize, goto done, NULL);
  ------------------
  |  |  398|     46|    XMLSEC_SAFE_CAST_MIN_CHECK(long, (srcVal), "%ld",                            \
  |  |  ------------------
  |  |  |  |   60|     46|    do {                                                                      \
  |  |  |  |   61|     46|        srcType _xmlsec_srcVal = (srcVal);                                    \
  |  |  |  |   62|     46|        if(_xmlsec_srcVal < (srcType)(dstMin)) {                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (62:12): [True: 0, False: 46]
  |  |  |  |  ------------------
  |  |  |  |   63|      0|            xmlSecImpossibleCastError(srcType, _xmlsec_srcVal, srcFmt,        \
  |  |  |  |  ------------------
  |  |  |  |  |  |  913|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  914|      0|                    (const char*)(errorObject),             \
  |  |  |  |  |  |  915|      0|                    NULL,                                   \
  |  |  |  |  |  |  916|      0|                    XMLSEC_ERRORS_R_CAST_IMPOSSIBLE,        \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  317|      0|#define XMLSEC_ERRORS_R_CAST_IMPOSSIBLE                 101
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  917|      0|                    "src-type=" #srcType "; src-val=" srcFmt  \
  |  |  |  |  |  |  918|      0|                    "; dst-type=" #dstType "; dst-min=" dstFmt \
  |  |  |  |  |  |  919|      0|                    "; dst-max=" dstFmt,                    \
  |  |  |  |  |  |  920|      0|                    (srcVal), (dstMinVal), (dstMaxVal)      \
  |  |  |  |  |  |  921|      0|        )
  |  |  |  |  ------------------
  |  |  |  |   64|      0|                dstType, dstMin, dstMax, dstFmt, (errorObject));              \
  |  |  |  |   65|      0|            errorAction;                                                      \
  |  |  |  |   66|      0|        }                                                                     \
  |  |  |  |   67|     46|        (dstVal) = (dstType)_xmlsec_srcVal;                                   \
  |  |  |  |   68|     46|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (68:13): [Folded, False: 46]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  399|     46|        xmlSecSize, (dstVal), XMLSEC_SIZE_FMT, XMLSEC_SIZE_MIN, XMLSEC_SIZE_MAX, \
  |  |  400|     46|        errorAction, (errorObject))
  ------------------
 2047|     46|    if(lenSize > 0) {
  ------------------
  |  Branch (2047:8): [True: 46, False: 0]
  ------------------
 2048|       |        /*
 2049|       |         * BIO_get_mem_data() returns a NULL data pointer together with a
 2050|       |         * zero length for an empty memory BIO, so the copy is only
 2051|       |         * performed for a non-empty name
 2052|       |         */
 2053|     46|        memcpy(buf, data, lenSize);
 2054|     46|    }
 2055|     46|    buf[len] = '\0';
 2056|       |
 2057|       |    /* success */
 2058|     46|    res = 0;
 2059|       |
 2060|     46|done:
 2061|     46|    if(mem != NULL) {
  ------------------
  |  Branch (2061:8): [True: 46, False: 0]
  ------------------
 2062|     46|        BIO_free(mem);
 2063|     46|    }
 2064|     46|    return(res);
 2065|     46|}
xmlSecOpenSSLKeyDataRawX509CertGetKlass:
 2198|      1|xmlSecOpenSSLKeyDataRawX509CertGetKlass(void) {
 2199|      1|    return(&xmlSecOpenSSLKeyDataRawX509CertKlass);
 2200|      1|}

xmlSecOpenSSLX509StoreGetKlass:
  119|  4.21k|xmlSecOpenSSLX509StoreGetKlass(void) {
  120|  4.21k|    return(&xmlSecOpenSSLX509StoreKlass);
  121|  4.21k|}
xmlSecOpenSSLX509StoreVerify:
  943|     13|xmlSecOpenSSLX509StoreVerify(xmlSecKeyDataStorePtr store, STACK_OF(X509)* certs, STACK_OF(X509_CRL)* crls, xmlSecKeyInfoCtxPtr keyInfoCtx) {
  944|     13|    xmlSecOpenSSLX509StoreCtxPtr ctx;
  945|     13|    STACK_OF(X509)* all_untrusted_certs = NULL;
  946|     13|    STACK_OF(X509_CRL)* verified_crls = NULL;
  947|     13|    STACK_OF(X509_CRL)* time_filtered_crls = NULL;
  948|     13|    X509 * res = NULL;
  949|     13|    X509 * cert;
  950|     13|    X509_STORE_CTX *xsc = NULL;
  951|     13|    xmlSecOpenSSLSizeT ii, num;
  952|     13|    int ret;
  953|       |
  954|     13|    xmlSecAssert2(xmlSecKeyDataStoreCheckId(store, xmlSecOpenSSLX509StoreId), NULL);
  ------------------
  |  |  466|     13|        do { \
  |  |  467|    130|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:19): [True: 13, False: 0]
  |  |  |  Branch (467:19): [True: 13, False: 0]
  |  |  |  Branch (467:19): [True: 13, False: 0]
  |  |  |  Branch (467:19): [True: 13, False: 0]
  |  |  |  Branch (467:19): [True: 13, False: 0]
  |  |  |  Branch (467:19): [True: 13, False: 0]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|     13|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 13]
  |  |  ------------------
  ------------------
  955|     13|    xmlSecAssert2(certs != NULL, NULL);
  ------------------
  |  |  466|     13|        do { \
  |  |  467|     13|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 13]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|     13|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 13]
  |  |  ------------------
  ------------------
  956|     13|    xmlSecAssert2(keyInfoCtx != NULL, NULL);
  ------------------
  |  |  466|     13|        do { \
  |  |  467|     13|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 13]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|     13|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 13]
  |  |  ------------------
  ------------------
  957|       |
  958|     13|    ctx = xmlSecOpenSSLX509StoreGetCtx(store);
  959|     13|    xmlSecAssert2(ctx != NULL, NULL);
  ------------------
  |  |  466|     13|        do { \
  |  |  467|     13|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 13]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|     13|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 13]
  |  |  ------------------
  ------------------
  960|     13|    xmlSecAssert2(ctx->xst != NULL, NULL);
  ------------------
  |  |  466|     13|        do { \
  |  |  467|     13|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 13]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|     13|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 13]
  |  |  ------------------
  ------------------
  961|       |
  962|       |    /* reuse xsc for both crls and certs verification */
  963|     13|    xsc = X509_STORE_CTX_new_ex(xmlSecOpenSSLGetLibCtx(), NULL);
  964|     13|    if(xsc == NULL) {
  ------------------
  |  Branch (964:8): [True: 0, False: 13]
  ------------------
  965|      0|        xmlSecOpenSSLError("X509_STORE_CTX_new_ex", xmlSecKeyDataStoreGetName(store));
  ------------------
  |  |   66|      0|    do {                                                    \
  |  |   67|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   68|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   69|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   70|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   71|      0|                    (const char*)(errorObject),             \
  |  |  ------------------
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  ------------------
  |  |   72|      0|                    (errorFunction),                        \
  |  |   73|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   74|      0|                    "openssl error: %s",                    \
  |  |   75|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  423|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   76|      0|        );                                                  \
  |  |   77|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (77:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  966|      0|        goto done;
  967|      0|    }
  968|       |
  969|       |    /* create a combined list of all untrusted certs (new list doesn't OWN certs)*/
  970|     13|    all_untrusted_certs = xmlSecOpenSSLX509StoreCombineCerts(certs, ctx->untrusted);
  971|     13|    if(all_untrusted_certs == NULL) {
  ------------------
  |  Branch (971:8): [True: 0, False: 13]
  ------------------
  972|      0|        xmlSecInternalError("xmlSecOpenSSLX509StoreCombineCerts", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  973|      0|        goto done;
  974|      0|    }
  975|       |
  976|       |    /* if cert verification is disabled, return the first leaf cert without
  977|       |     * touching CRLs or other verification-only state.
  978|       |     */
  979|     13|    if((keyInfoCtx->flags & XMLSEC_KEYINFO_FLAGS_X509DATA_DONT_VERIFY_CERTS) != 0) {
  ------------------
  |  |  111|     13|#define XMLSEC_KEYINFO_FLAGS_X509DATA_DONT_VERIFY_CERTS         0x00000200
  ------------------
  |  Branch (979:8): [True: 0, False: 13]
  ------------------
  980|      0|        num = sk_X509_num(certs);
  981|      0|        for(ii = 0; ii < num; ++ii) {
  ------------------
  |  Branch (981:21): [True: 0, False: 0]
  ------------------
  982|      0|            cert = sk_X509_value(certs, ii);
  983|      0|            if(cert == NULL) {
  ------------------
  |  Branch (983:16): [True: 0, False: 0]
  ------------------
  984|      0|                continue;
  985|      0|            }
  986|       |
  987|      0|            if(xmlSecOpenSSLX509FindChildCert(all_untrusted_certs, cert) != NULL) {
  ------------------
  |  Branch (987:16): [True: 0, False: 0]
  ------------------
  988|      0|                continue;
  989|      0|            }
  990|       |
  991|      0|            res = cert;
  992|      0|            goto done;
  993|      0|        }
  994|       |
  995|      0|        goto done;
  996|      0|    }
  997|       |
  998|       |    /* copy crls list but remove all non-verified (we assume that CRLs in the store are already verified) */
  999|     13|    ret = xmlSecOpenSSLX509StoreVerifyAndCopyCrls(ctx->xst, xsc, all_untrusted_certs, crls, keyInfoCtx, &verified_crls);
 1000|     13|    if(ret < 0) {
  ------------------
  |  Branch (1000:8): [True: 13, False: 0]
  ------------------
 1001|     13|        xmlSecInternalError("xmlSecOpenSSLX509StoreVerifyAndCopyCrls", xmlSecKeyDataStoreGetName(store));
  ------------------
  |  |   51|     13|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|     13|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|    156|                    (const char*)(errorObject),             \
  |  |  ------------------
  |  |  |  Branch (52:35): [True: 13, False: 0]
  |  |  |  Branch (52:35): [True: 13, False: 0]
  |  |  |  Branch (52:35): [True: 13, False: 0]
  |  |  |  Branch (52:35): [True: 13, False: 0]
  |  |  |  Branch (52:35): [True: 13, False: 0]
  |  |  |  Branch (52:35): [True: 13, False: 0]
  |  |  ------------------
  |  |   53|     13|                    (errorFunction),                        \
  |  |   54|     13|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|     13|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|     13|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|     13|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|     13|        )
  ------------------
 1002|     13|        goto done;
 1003|     13|    }
 1004|       |
 1005|       |    /* filter store crls by time validity (signatures already trusted) */
 1006|      0|    ret = xmlSecOpenSSLX509FilterCrlsByTime(ctx->crls, keyInfoCtx, &time_filtered_crls);
 1007|      0|    if(ret < 0) {
  ------------------
  |  Branch (1007:8): [True: 0, False: 0]
  ------------------
 1008|      0|        xmlSecInternalError("xmlSecOpenSSLX509FilterCrlsByTime", xmlSecKeyDataStoreGetName(store));
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  ------------------
  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
 1009|      0|        goto done;
 1010|      0|    }
 1011|       |
 1012|       |    /* get one cert after another and try to verify */
 1013|      0|    num = sk_X509_num(certs);
 1014|      0|    for(ii = 0; ii < num; ++ii) {
  ------------------
  |  Branch (1014:17): [True: 0, False: 0]
  ------------------
 1015|      0|        cert = sk_X509_value(certs, ii);
 1016|      0|        if(cert == NULL) {
  ------------------
  |  Branch (1016:12): [True: 0, False: 0]
  ------------------
 1017|      0|            continue;
 1018|      0|        }
 1019|       |
 1020|       |        /* we only attempt to verify "leaf" certs without children */
 1021|      0|        if(xmlSecOpenSSLX509FindChildCert(all_untrusted_certs, cert) != NULL) {
  ------------------
  |  Branch (1021:12): [True: 0, False: 0]
  ------------------
 1022|      0|            continue;
 1023|      0|        }
 1024|       |
 1025|      0|        ret = xmlSecOpenSSLX509StoreVerifyCert(ctx->xst, xsc, cert, all_untrusted_certs, verified_crls, time_filtered_crls, keyInfoCtx);
 1026|      0|        if(ret < 0) {
  ------------------
  |  Branch (1026:12): [True: 0, False: 0]
  ------------------
 1027|      0|            xmlSecInternalError("xmlSecOpenSSLX509StoreVerifyCert", xmlSecKeyDataStoreGetName(store));
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  ------------------
  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
 1028|      0|            goto done;
 1029|      0|        } else if(ret != 1) {
  ------------------
  |  Branch (1029:19): [True: 0, False: 0]
  ------------------
 1030|      0|            continue;
 1031|      0|        }
 1032|       |
 1033|       |        /* success! */
 1034|      0|        res = cert;
 1035|      0|        break;
 1036|      0|    }
 1037|       |
 1038|     13|done:
 1039|       |    /* only free sk_* structures, not the certs or crls because caller owns pointers
 1040|       |     * or the store does and we didn't up_ref / dup certs when creating the sk_*'s.
 1041|       |     */
 1042|     13|    if(all_untrusted_certs != NULL) {
  ------------------
  |  Branch (1042:8): [True: 13, False: 0]
  ------------------
 1043|     13|        sk_X509_free(all_untrusted_certs);
 1044|     13|    }
 1045|     13|    if(verified_crls != NULL) {
  ------------------
  |  Branch (1045:8): [True: 0, False: 13]
  ------------------
 1046|      0|        sk_X509_CRL_free(verified_crls);
 1047|      0|    }
 1048|     13|    if(time_filtered_crls != NULL) {
  ------------------
  |  Branch (1048:8): [True: 0, False: 13]
  ------------------
 1049|      0|        sk_X509_CRL_free(time_filtered_crls);
 1050|      0|    }
 1051|     13|    if(xsc != NULL) {
  ------------------
  |  Branch (1051:8): [True: 13, False: 0]
  ------------------
 1052|     13|        X509_STORE_CTX_free(xsc);
 1053|     13|    }
 1054|     13|    return(res);
 1055|      0|}
xmlSecOpenSSLX509StoreVerifyCrl:
 1193|     59|) {
 1194|     59|    xmlSecOpenSSLX509StoreCtxPtr ctx;
 1195|     59|    X509_STORE_CTX *xsc = NULL;
 1196|     59|    int ret;
 1197|     59|    int res = -1;
 1198|       |
 1199|     59|    xmlSecAssert2(xmlSecKeyDataStoreCheckId(store, xmlSecOpenSSLX509StoreId), -1);
  ------------------
  |  |  466|     59|        do { \
  |  |  467|    590|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:19): [True: 59, False: 0]
  |  |  |  Branch (467:19): [True: 59, False: 0]
  |  |  |  Branch (467:19): [True: 59, False: 0]
  |  |  |  Branch (467:19): [True: 59, False: 0]
  |  |  |  Branch (467:19): [True: 59, False: 0]
  |  |  |  Branch (467:19): [True: 59, False: 0]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|     59|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 59]
  |  |  ------------------
  ------------------
 1200|     59|    xmlSecAssert2(crl != NULL, -1);
  ------------------
  |  |  466|     59|        do { \
  |  |  467|     59|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 59]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|     59|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 59]
  |  |  ------------------
  ------------------
 1201|     59|    xmlSecAssert2(keyInfoCtx != NULL, -1);
  ------------------
  |  |  466|     59|        do { \
  |  |  467|     59|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 59]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|     59|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 59]
  |  |  ------------------
  ------------------
 1202|       |
 1203|       |    /* do we even need to verify the CRL? */
 1204|     59|    if((keyInfoCtx->flags & XMLSEC_KEYINFO_FLAGS_X509DATA_DONT_VERIFY_CERTS) != 0) {
  ------------------
  |  |  111|     59|#define XMLSEC_KEYINFO_FLAGS_X509DATA_DONT_VERIFY_CERTS         0x00000200
  ------------------
  |  Branch (1204:8): [True: 0, False: 59]
  ------------------
 1205|      0|        return(1);
 1206|      0|    }
 1207|       |
 1208|     59|    ctx = xmlSecOpenSSLX509StoreGetCtx(store);
 1209|     59|    xmlSecAssert2(ctx != NULL, -1);
  ------------------
  |  |  466|     59|        do { \
  |  |  467|     59|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 59]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|     59|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 59]
  |  |  ------------------
  ------------------
 1210|     59|    xmlSecAssert2(ctx->xst != NULL, -1);
  ------------------
  |  |  466|     59|        do { \
  |  |  467|     59|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 59]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|     59|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 59]
  |  |  ------------------
  ------------------
 1211|       |
 1212|       |    /* Create store context */
 1213|     59|    xsc = X509_STORE_CTX_new_ex(xmlSecOpenSSLGetLibCtx(), NULL);
 1214|     59|    if(xsc == NULL) {
  ------------------
  |  Branch (1214:8): [True: 0, False: 59]
  ------------------
 1215|      0|        xmlSecOpenSSLError("X509_STORE_CTX_new_ex", xmlSecKeyDataStoreGetName(store));
  ------------------
  |  |   66|      0|    do {                                                    \
  |  |   67|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   68|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   69|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   70|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   71|      0|                    (const char*)(errorObject),             \
  |  |  ------------------
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  ------------------
  |  |   72|      0|                    (errorFunction),                        \
  |  |   73|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   74|      0|                    "openssl error: %s",                    \
  |  |   75|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  423|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   76|      0|        );                                                  \
  |  |   77|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (77:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1216|      0|        goto done;
 1217|      0|    }
 1218|       |
 1219|       |    /* Verify CRL signature, issuer, and time validity */
 1220|     59|    ret = xmlSecOpenSSLX509VerifyCRL(ctx->xst, xsc, ctx->untrusted, crl, keyInfoCtx);
 1221|     59|    if(ret < 0) {
  ------------------
  |  Branch (1221:8): [True: 18, False: 41]
  ------------------
 1222|     18|        xmlSecInternalError("xmlSecOpenSSLX509VerifyCRL", xmlSecKeyDataStoreGetName(store));
  ------------------
  |  |   51|     18|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|     18|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|    216|                    (const char*)(errorObject),             \
  |  |  ------------------
  |  |  |  Branch (52:35): [True: 18, False: 0]
  |  |  |  Branch (52:35): [True: 18, False: 0]
  |  |  |  Branch (52:35): [True: 18, False: 0]
  |  |  |  Branch (52:35): [True: 18, False: 0]
  |  |  |  Branch (52:35): [True: 18, False: 0]
  |  |  |  Branch (52:35): [True: 18, False: 0]
  |  |  ------------------
  |  |   53|     18|                    (errorFunction),                        \
  |  |   54|     18|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|     18|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|     18|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|     18|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|     18|        )
  ------------------
 1223|     18|        goto done;
 1224|     41|    } else if(ret != 1) {
  ------------------
  |  Branch (1224:15): [True: 41, False: 0]
  ------------------
 1225|       |        /* Verification failed */
 1226|     41|        res = 0;
 1227|     41|        goto done;
 1228|     41|    }
 1229|       |
 1230|       |    /* Success */
 1231|      0|    res = 1;
 1232|       |
 1233|     59|done:
 1234|     59|    if(xsc != NULL) {
  ------------------
  |  Branch (1234:8): [True: 59, False: 0]
  ------------------
 1235|     59|        X509_STORE_CTX_free(xsc);
 1236|     59|    }
 1237|     59|    return(res);
 1238|      0|}
xmlSecOpenSSLX509StoreAdoptCert:
 1249|     15|xmlSecOpenSSLX509StoreAdoptCert(xmlSecKeyDataStorePtr store, X509* cert, xmlSecKeyDataType type) {
 1250|     15|    xmlSecOpenSSLX509StoreCtxPtr ctx;
 1251|       |
 1252|     15|    xmlSecAssert2(xmlSecKeyDataStoreCheckId(store, xmlSecOpenSSLX509StoreId), -1);
  ------------------
  |  |  466|     15|        do { \
  |  |  467|    150|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:19): [True: 15, False: 0]
  |  |  |  Branch (467:19): [True: 15, False: 0]
  |  |  |  Branch (467:19): [True: 15, False: 0]
  |  |  |  Branch (467:19): [True: 15, False: 0]
  |  |  |  Branch (467:19): [True: 15, False: 0]
  |  |  |  Branch (467:19): [True: 15, False: 0]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|     15|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 15]
  |  |  ------------------
  ------------------
 1253|     15|    xmlSecAssert2(cert != NULL, -1);
  ------------------
  |  |  466|     15|        do { \
  |  |  467|     15|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 15]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|     15|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 15]
  |  |  ------------------
  ------------------
 1254|       |
 1255|     15|    ctx = xmlSecOpenSSLX509StoreGetCtx(store);
 1256|     15|    xmlSecAssert2(ctx != NULL, -1);
  ------------------
  |  |  466|     15|        do { \
  |  |  467|     15|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 15]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|     15|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 15]
  |  |  ------------------
  ------------------
 1257|       |
 1258|     15|    if((type & xmlSecKeyDataTypeTrusted) != 0) {
  ------------------
  |  |  193|     15|#define xmlSecKeyDataTypeTrusted                        0x0100
  ------------------
  |  Branch (1258:8): [True: 7, False: 8]
  ------------------
 1259|      7|        int ret;
 1260|       |
 1261|      7|        xmlSecAssert2(ctx->xst != NULL, -1);
  ------------------
  |  |  466|      7|        do { \
  |  |  467|      7|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 7]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|      7|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 7]
  |  |  ------------------
  ------------------
 1262|       |
 1263|      7|        ret = X509_STORE_add_cert(ctx->xst, cert);
 1264|      7|        if(ret != 1) {
  ------------------
  |  Branch (1264:12): [True: 0, False: 7]
  ------------------
 1265|      0|            xmlSecOpenSSLError("X509_STORE_add_cert",
  ------------------
  |  |   66|      0|    do {                                                    \
  |  |   67|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   68|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   69|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   70|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   71|      0|                    (const char*)(errorObject),             \
  |  |  ------------------
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  ------------------
  |  |   72|      0|                    (errorFunction),                        \
  |  |   73|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   74|      0|                    "openssl error: %s",                    \
  |  |   75|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  423|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   76|      0|        );                                                  \
  |  |   77|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (77:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1266|      0|                               xmlSecKeyDataStoreGetName(store));
 1267|      0|            return(-1);
 1268|      0|        }
 1269|       |        /* add cert increments the reference */
 1270|      7|        X509_free(cert);
 1271|      8|    } else {
 1272|      8|        xmlSecOpenSSLSizeT ret;
 1273|       |
 1274|      8|        xmlSecAssert2(ctx->untrusted != NULL, -1);
  ------------------
  |  |  466|      8|        do { \
  |  |  467|      8|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 8]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|      8|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1275|       |
 1276|      8|        ret = sk_X509_push(ctx->untrusted, cert);
 1277|      8|        if(ret <= 0) {
  ------------------
  |  Branch (1277:12): [True: 0, False: 8]
  ------------------
 1278|      0|            xmlSecOpenSSLError("sk_X509_push", xmlSecKeyDataStoreGetName(store));
  ------------------
  |  |   66|      0|    do {                                                    \
  |  |   67|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   68|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   69|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   70|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   71|      0|                    (const char*)(errorObject),             \
  |  |  ------------------
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  ------------------
  |  |   72|      0|                    (errorFunction),                        \
  |  |   73|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   74|      0|                    "openssl error: %s",                    \
  |  |   75|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  423|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   76|      0|        );                                                  \
  |  |   77|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (77:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1279|      0|            return(-1);
 1280|      0|        }
 1281|      8|    }
 1282|     15|    return(0);
 1283|     15|}
xmlSecOpenSSLX509StoreAdoptCrl:
 1293|     52|xmlSecOpenSSLX509StoreAdoptCrl(xmlSecKeyDataStorePtr store, X509_CRL* crl) {
 1294|     52|    xmlSecOpenSSLX509StoreCtxPtr ctx;
 1295|     52|    xmlSecOpenSSLSizeT ret;
 1296|       |
 1297|     52|    xmlSecAssert2(xmlSecKeyDataStoreCheckId(store, xmlSecOpenSSLX509StoreId), -1);
  ------------------
  |  |  466|     52|        do { \
  |  |  467|    520|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:19): [True: 52, False: 0]
  |  |  |  Branch (467:19): [True: 52, False: 0]
  |  |  |  Branch (467:19): [True: 52, False: 0]
  |  |  |  Branch (467:19): [True: 52, False: 0]
  |  |  |  Branch (467:19): [True: 52, False: 0]
  |  |  |  Branch (467:19): [True: 52, False: 0]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|     52|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 52]
  |  |  ------------------
  ------------------
 1298|     52|    xmlSecAssert2(crl != NULL, -1);
  ------------------
  |  |  466|     52|        do { \
  |  |  467|     52|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 52]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|     52|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 52]
  |  |  ------------------
  ------------------
 1299|       |
 1300|     52|    ctx = xmlSecOpenSSLX509StoreGetCtx(store);
 1301|     52|    xmlSecAssert2(ctx != NULL, -1);
  ------------------
  |  |  466|     52|        do { \
  |  |  467|     52|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 52]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|     52|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 52]
  |  |  ------------------
  ------------------
 1302|     52|    xmlSecAssert2(ctx->crls != NULL, -1);
  ------------------
  |  |  466|     52|        do { \
  |  |  467|     52|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 52]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|     52|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 52]
  |  |  ------------------
  ------------------
 1303|       |
 1304|     52|    ret = sk_X509_CRL_push(ctx->crls, crl);
 1305|     52|    if(ret <= 0) {
  ------------------
  |  Branch (1305:8): [True: 0, False: 52]
  ------------------
 1306|      0|        xmlSecOpenSSLError("sk_X509_CRL_push", xmlSecKeyDataStoreGetName(store));
  ------------------
  |  |   66|      0|    do {                                                    \
  |  |   67|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   68|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   69|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   70|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   71|      0|                    (const char*)(errorObject),             \
  |  |  ------------------
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  ------------------
  |  |   72|      0|                    (errorFunction),                        \
  |  |   73|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   74|      0|                    "openssl error: %s",                    \
  |  |   75|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  423|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   76|      0|        );                                                  \
  |  |   77|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (77:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1307|      0|        return(-1);
 1308|      0|    }
 1309|       |
 1310|     52|    return (0);
 1311|     52|}
x509vfy.c:xmlSecOpenSSLX509StoreInitialize:
 1386|    802|xmlSecOpenSSLX509StoreInitialize(xmlSecKeyDataStorePtr store) {
 1387|    802|    const xmlChar* path;
 1388|    802|    X509_LOOKUP *lookup = NULL;
 1389|    802|    int ret;
 1390|       |
 1391|    802|    xmlSecOpenSSLX509StoreCtxPtr ctx;
 1392|    802|    xmlSecAssert2(xmlSecKeyDataStoreCheckId(store, xmlSecOpenSSLX509StoreId), -1);
  ------------------
  |  |  466|    802|        do { \
  |  |  467|  8.02k|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:19): [True: 802, False: 0]
  |  |  |  Branch (467:19): [True: 802, False: 0]
  |  |  |  Branch (467:19): [True: 802, False: 0]
  |  |  |  Branch (467:19): [True: 802, False: 0]
  |  |  |  Branch (467:19): [True: 802, False: 0]
  |  |  |  Branch (467:19): [True: 802, False: 0]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|    802|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 802]
  |  |  ------------------
  ------------------
 1393|       |
 1394|    802|    ctx = xmlSecOpenSSLX509StoreGetCtx(store);
 1395|    802|    xmlSecAssert2(ctx != NULL, -1);
  ------------------
  |  |  466|    802|        do { \
  |  |  467|    802|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 802]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|    802|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 802]
  |  |  ------------------
  ------------------
 1396|       |
 1397|    802|    memset(ctx, 0, sizeof(xmlSecOpenSSLX509StoreCtx));
 1398|       |
 1399|    802|    ctx->xst = X509_STORE_new();
 1400|    802|    if(ctx->xst == NULL) {
  ------------------
  |  Branch (1400:8): [True: 0, False: 802]
  ------------------
 1401|      0|        xmlSecOpenSSLError("X509_STORE_new", xmlSecKeyDataStoreGetName(store));
  ------------------
  |  |   66|      0|    do {                                                    \
  |  |   67|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   68|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   69|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   70|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   71|      0|                    (const char*)(errorObject),             \
  |  |  ------------------
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  ------------------
  |  |   72|      0|                    (errorFunction),                        \
  |  |   73|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   74|      0|                    "openssl error: %s",                    \
  |  |   75|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  423|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   76|      0|        );                                                  \
  |  |   77|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (77:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1402|      0|        return(-1);
 1403|      0|    }
 1404|       |
 1405|    802|    ret = X509_STORE_set_default_paths_ex(ctx->xst, xmlSecOpenSSLGetLibCtx(), NULL);
 1406|    802|    if(ret != 1) {
  ------------------
  |  Branch (1406:8): [True: 0, False: 802]
  ------------------
 1407|      0|        xmlSecOpenSSLError("X509_STORE_set_default_paths_ex", xmlSecKeyDataStoreGetName(store));
  ------------------
  |  |   66|      0|    do {                                                    \
  |  |   67|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   68|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   69|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   70|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   71|      0|                    (const char*)(errorObject),             \
  |  |  ------------------
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  ------------------
  |  |   72|      0|                    (errorFunction),                        \
  |  |   73|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   74|      0|                    "openssl error: %s",                    \
  |  |   75|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  423|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   76|      0|        );                                                  \
  |  |   77|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (77:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1408|      0|        return(-1);
 1409|      0|    }
 1410|       |
 1411|       |
 1412|    802|    lookup = X509_STORE_add_lookup(ctx->xst, X509_LOOKUP_hash_dir());
 1413|    802|    if(lookup == NULL) {
  ------------------
  |  Branch (1413:8): [True: 0, False: 802]
  ------------------
 1414|      0|        xmlSecOpenSSLError("X509_STORE_add_lookup",
  ------------------
  |  |   66|      0|    do {                                                    \
  |  |   67|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   68|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   69|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   70|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   71|      0|                    (const char*)(errorObject),             \
  |  |  ------------------
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  ------------------
  |  |   72|      0|                    (errorFunction),                        \
  |  |   73|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   74|      0|                    "openssl error: %s",                    \
  |  |   75|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  423|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   76|      0|        );                                                  \
  |  |   77|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (77:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1415|      0|                           xmlSecKeyDataStoreGetName(store));
 1416|      0|        return(-1);
 1417|      0|    }
 1418|       |
 1419|    802|    path = xmlSecOpenSSLGetDefaultTrustedCertsFolder();
 1420|    802|    if(path != NULL) {
  ------------------
  |  Branch (1420:8): [True: 0, False: 802]
  ------------------
 1421|      0|        if(!X509_LOOKUP_add_dir(lookup, (char*)path, X509_FILETYPE_PEM)) {
  ------------------
  |  Branch (1421:12): [True: 0, False: 0]
  ------------------
 1422|      0|            xmlSecOpenSSLError2("X509_LOOKUP_add_dir",
  ------------------
  |  |   93|      0|    do {                                                            \
  |  |   94|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   95|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   96|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   97|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   98|      0|                    (const char*)(errorObject),             \
  |  |  ------------------
  |  |  |  Branch (98:35): [True: 0, False: 0]
  |  |  |  Branch (98:35): [True: 0, False: 0]
  |  |  |  Branch (98:35): [True: 0, False: 0]
  |  |  |  Branch (98:35): [True: 0, False: 0]
  |  |  |  Branch (98:35): [True: 0, False: 0]
  |  |  |  Branch (98:35): [True: 0, False: 0]
  |  |  ------------------
  |  |   99|      0|                    (errorFunction),                        \
  |  |  100|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |  101|      0|                    msg "; openssl error: %s",              \
  |  |  102|      0|                    (param),                                \
  |  |  ------------------
  |  |  |  Branch (102:22): [True: 0, False: 0]
  |  |  ------------------
  |  |  103|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  423|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  104|      0|        );                                                  \
  |  |  105|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (105:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1423|      0|                                xmlSecKeyDataStoreGetName(store),
 1424|      0|                                "path='%s'",
 1425|      0|                                xmlSecErrorsSafeString(path));
 1426|      0|            return(-1);
 1427|      0|        }
 1428|    802|    } else {
 1429|    802|        if(!X509_LOOKUP_add_dir(lookup, NULL, X509_FILETYPE_DEFAULT)) {
  ------------------
  |  Branch (1429:12): [True: 0, False: 802]
  ------------------
 1430|      0|            xmlSecOpenSSLError("X509_LOOKUP_add_dir", xmlSecKeyDataStoreGetName(store));
  ------------------
  |  |   66|      0|    do {                                                    \
  |  |   67|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   68|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   69|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   70|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   71|      0|                    (const char*)(errorObject),             \
  |  |  ------------------
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  ------------------
  |  |   72|      0|                    (errorFunction),                        \
  |  |   73|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   74|      0|                    "openssl error: %s",                    \
  |  |   75|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  423|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   76|      0|        );                                                  \
  |  |   77|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (77:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1431|      0|            return(-1);
 1432|      0|        }
 1433|    802|    }
 1434|       |
 1435|    802|    ctx->untrusted = sk_X509_new_null();
 1436|    802|    if(ctx->untrusted == NULL) {
  ------------------
  |  Branch (1436:8): [True: 0, False: 802]
  ------------------
 1437|      0|        xmlSecOpenSSLError("sk_X509_new_null", xmlSecKeyDataStoreGetName(store));
  ------------------
  |  |   66|      0|    do {                                                    \
  |  |   67|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   68|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   69|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   70|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   71|      0|                    (const char*)(errorObject),             \
  |  |  ------------------
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  ------------------
  |  |   72|      0|                    (errorFunction),                        \
  |  |   73|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   74|      0|                    "openssl error: %s",                    \
  |  |   75|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  423|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   76|      0|        );                                                  \
  |  |   77|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (77:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1438|      0|        return(-1);
 1439|      0|    }
 1440|       |
 1441|    802|    ctx->crls = sk_X509_CRL_new_null();
 1442|    802|    if(ctx->crls == NULL) {
  ------------------
  |  Branch (1442:8): [True: 0, False: 802]
  ------------------
 1443|      0|        xmlSecOpenSSLError("sk_X509_CRL_new_null", xmlSecKeyDataStoreGetName(store));
  ------------------
  |  |   66|      0|    do {                                                    \
  |  |   67|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   68|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   69|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   70|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   71|      0|                    (const char*)(errorObject),             \
  |  |  ------------------
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  ------------------
  |  |   72|      0|                    (errorFunction),                        \
  |  |   73|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   74|      0|                    "openssl error: %s",                    \
  |  |   75|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  423|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   76|      0|        );                                                  \
  |  |   77|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (77:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1444|      0|        return(-1);
 1445|      0|    }
 1446|       |
 1447|    802|    ctx->vpm = X509_VERIFY_PARAM_new();
 1448|    802|    if(ctx->vpm == NULL) {
  ------------------
  |  Branch (1448:8): [True: 0, False: 802]
  ------------------
 1449|      0|        xmlSecOpenSSLError("X509_VERIFY_PARAM_new", xmlSecKeyDataStoreGetName(store));
  ------------------
  |  |   66|      0|    do {                                                    \
  |  |   67|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   68|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   69|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   70|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   71|      0|                    (const char*)(errorObject),             \
  |  |  ------------------
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  ------------------
  |  |   72|      0|                    (errorFunction),                        \
  |  |   73|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   74|      0|                    "openssl error: %s",                    \
  |  |   75|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  423|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   76|      0|        );                                                  \
  |  |   77|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (77:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1450|      0|        return(-1);
 1451|      0|    }
 1452|    802|    X509_VERIFY_PARAM_set_depth(ctx->vpm, 9); /* the default maximum cert verification depth in xmlsec (see XMLSEC_KEYINFO_DEFAULT_MAX_CERT_VERIFICATION_DEPTH) */
 1453|    802|    ret = X509_STORE_set1_param(ctx->xst, ctx->vpm);
 1454|    802|    if(ret != 1) {
  ------------------
  |  Branch (1454:8): [True: 0, False: 802]
  ------------------
 1455|      0|        xmlSecOpenSSLError("X509_STORE_set1_param", xmlSecKeyDataStoreGetName(store));
  ------------------
  |  |   66|      0|    do {                                                    \
  |  |   67|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   68|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   69|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   70|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   71|      0|                    (const char*)(errorObject),             \
  |  |  ------------------
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  |  Branch (71:35): [True: 0, False: 0]
  |  |  ------------------
  |  |   72|      0|                    (errorFunction),                        \
  |  |   73|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   74|      0|                    "openssl error: %s",                    \
  |  |   75|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  423|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   76|      0|        );                                                  \
  |  |   77|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (77:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1456|      0|        return(-1);
 1457|      0|    }
 1458|       |
 1459|       |
 1460|    802|    return(0);
 1461|    802|}
x509vfy.c:xmlSecOpenSSLX509StoreFinalize:
 1464|    802|xmlSecOpenSSLX509StoreFinalize(xmlSecKeyDataStorePtr store) {
 1465|    802|    xmlSecOpenSSLX509StoreCtxPtr ctx;
 1466|    802|    xmlSecAssert(xmlSecKeyDataStoreCheckId(store, xmlSecOpenSSLX509StoreId));
  ------------------
  |  |  449|    802|        do { \
  |  |  450|  8.02k|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (450:19): [True: 802, False: 0]
  |  |  |  Branch (450:19): [True: 802, False: 0]
  |  |  |  Branch (450:19): [True: 802, False: 0]
  |  |  |  Branch (450:19): [True: 802, False: 0]
  |  |  |  Branch (450:19): [True: 802, False: 0]
  |  |  |  Branch (450:19): [True: 802, False: 0]
  |  |  ------------------
  |  |  451|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  452|      0|                            NULL, \
  |  |  453|      0|                            #p, \
  |  |  454|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  455|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  456|      0|                return; \
  |  |  457|      0|            } \
  |  |  458|    802|        } while(0)
  |  |  ------------------
  |  |  |  Branch (458:17): [Folded, False: 802]
  |  |  ------------------
  ------------------
 1467|       |
 1468|    802|    ctx = xmlSecOpenSSLX509StoreGetCtx(store);
 1469|    802|    xmlSecAssert(ctx != NULL);
  ------------------
  |  |  449|    802|        do { \
  |  |  450|    802|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (450:16): [True: 0, False: 802]
  |  |  ------------------
  |  |  451|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  452|      0|                            NULL, \
  |  |  453|      0|                            #p, \
  |  |  454|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  455|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  456|      0|                return; \
  |  |  457|      0|            } \
  |  |  458|    802|        } while(0)
  |  |  ------------------
  |  |  |  Branch (458:17): [Folded, False: 802]
  |  |  ------------------
  ------------------
 1470|       |
 1471|       |
 1472|    802|    if(ctx->xst != NULL) {
  ------------------
  |  Branch (1472:8): [True: 802, False: 0]
  ------------------
 1473|    802|        X509_STORE_free(ctx->xst);
 1474|    802|    }
 1475|    802|    if(ctx->untrusted != NULL) {
  ------------------
  |  Branch (1475:8): [True: 802, False: 0]
  ------------------
 1476|    802|        sk_X509_pop_free(ctx->untrusted, X509_free);
 1477|    802|    }
 1478|    802|    if(ctx->crls != NULL) {
  ------------------
  |  Branch (1478:8): [True: 802, False: 0]
  ------------------
 1479|    802|        sk_X509_CRL_pop_free(ctx->crls, X509_CRL_free);
 1480|    802|    }
 1481|    802|    if(ctx->vpm != NULL) {
  ------------------
  |  Branch (1481:8): [True: 802, False: 0]
  ------------------
 1482|    802|        X509_VERIFY_PARAM_free(ctx->vpm);
 1483|    802|    }
 1484|       |
 1485|    802|    OPENSSL_cleanse(ctx, sizeof(xmlSecOpenSSLX509StoreCtx));
 1486|    802|}
x509vfy.c:xmlSecOpenSSLX509StoreVerifyAndCopyCrls:
  330|     13|) {
  331|     13|    STACK_OF(X509_CRL)* verified_crls = NULL;
  332|     13|    xmlSecOpenSSLSizeT ii, num, num2;
  333|     13|    int ret;
  334|       |
  335|     13|    xmlSecAssert2(xst != NULL, -1);
  ------------------
  |  |  466|     13|        do { \
  |  |  467|     13|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 13]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|     13|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 13]
  |  |  ------------------
  ------------------
  336|     13|    xmlSecAssert2(xsc != NULL, -1);
  ------------------
  |  |  466|     13|        do { \
  |  |  467|     13|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 13]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|     13|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 13]
  |  |  ------------------
  ------------------
  337|     13|    xmlSecAssert2(keyInfoCtx != NULL, -1);
  ------------------
  |  |  466|     13|        do { \
  |  |  467|     13|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 13]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|     13|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 13]
  |  |  ------------------
  ------------------
  338|     13|    xmlSecAssert2(out_crls != NULL, -1);
  ------------------
  |  |  466|     13|        do { \
  |  |  467|     13|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 13]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|     13|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 13]
  |  |  ------------------
  ------------------
  339|       |
  340|     13|    (*out_crls) = NULL;
  341|       |
  342|       |    /* check if we have anything to copy */
  343|     13|    if(crls == NULL) {
  ------------------
  |  Branch (343:8): [True: 0, False: 13]
  ------------------
  344|      0|        return(0);
  345|      0|    }
  346|     13|    num = sk_X509_CRL_num(crls);
  347|     13|    if(num <= 0) {
  ------------------
  |  Branch (347:8): [True: 0, False: 13]
  ------------------
  348|      0|        return(0);
  349|      0|    }
  350|       |
  351|       |    /* create output crls list */
  352|     13|    verified_crls = sk_X509_CRL_new_null();
  353|     13|    if(verified_crls == NULL) {
  ------------------
  |  Branch (353:8): [True: 0, False: 13]
  ------------------
  354|      0|        xmlSecOpenSSLError("sk_X509_CRL_new_null", NULL);
  ------------------
  |  |   66|      0|    do {                                                    \
  |  |   67|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   68|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   69|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   70|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   71|      0|                    (const char*)(errorObject),             \
  |  |   72|      0|                    (errorFunction),                        \
  |  |   73|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   74|      0|                    "openssl error: %s",                    \
  |  |   75|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  423|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   76|      0|        );                                                  \
  |  |   77|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (77:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  355|      0|        return(-1);
  356|      0|    }
  357|     13|    ret = sk_X509_CRL_reserve(verified_crls, num);
  358|     13|    if(ret != 1) {
  ------------------
  |  Branch (358:8): [True: 0, False: 13]
  ------------------
  359|      0|        xmlSecOpenSSLError("sk_X509_CRL_reserve", NULL);
  ------------------
  |  |   66|      0|    do {                                                    \
  |  |   67|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   68|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   69|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   70|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   71|      0|                    (const char*)(errorObject),             \
  |  |   72|      0|                    (errorFunction),                        \
  |  |   73|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   74|      0|                    "openssl error: %s",                    \
  |  |   75|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  423|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   76|      0|        );                                                  \
  |  |   77|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (77:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  360|      0|        sk_X509_CRL_free(verified_crls);
  361|      0|        return(-1);
  362|      0|    }
  363|       |
  364|       |    /* verify and dup crls */
  365|     13|    for(ii = 0; ii < num; ++ii) {
  ------------------
  |  Branch (365:17): [True: 13, False: 0]
  ------------------
  366|     13|        X509_CRL* crl = sk_X509_CRL_value(crls, ii);
  367|     13|        if(crl == NULL) {
  ------------------
  |  Branch (367:12): [True: 0, False: 13]
  ------------------
  368|      0|            continue;
  369|      0|        }
  370|       |
  371|     13|        ret = xmlSecOpenSSLX509VerifyCRL(xst, xsc, untrusted, crl, keyInfoCtx);
  372|     13|        if(ret < 0) {
  ------------------
  |  Branch (372:12): [True: 8, False: 5]
  ------------------
  373|      8|            xmlSecInternalError("xmlSecOpenSSLX509VerifyCRL", NULL);
  ------------------
  |  |   51|      8|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      8|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      8|                    (const char*)(errorObject),             \
  |  |   53|      8|                    (errorFunction),                        \
  |  |   54|      8|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      8|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      8|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      8|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      8|        )
  ------------------
  374|      8|            sk_X509_CRL_free(verified_crls);
  375|      8|            return(-1);
  376|      8|        } else if (ret != 1) {
  ------------------
  |  Branch (376:20): [True: 5, False: 0]
  ------------------
  377|       |            /* crl failed verification: this is a hard failure because we expect CRLs to be valid */
  378|      5|            xmlSecOtherError(XMLSEC_ERRORS_R_CRL_VERIFY_FAILED, NULL,
  ------------------
  |  |  931|      5|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      5|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  932|      5|                    (const char*)(errorObject),             \
  |  |  933|      5|                    NULL,                                   \
  |  |  934|      5|                    (code),                                 \
  |  |  935|      5|                    "details=%s",                           \
  |  |  936|      5|                    xmlSecErrorsSafeString(details)         \
  |  |  ------------------
  |  |  |  |  423|      5|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:10): [True: 5, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  937|      5|        )
  ------------------
  379|      5|                "xmlSecOpenSSLX509VerifyCRL");
  380|      5|            sk_X509_CRL_free(verified_crls);
  381|      5|            return(-1);
  382|      5|        }
  383|       |        /* don't duplicate or up_ref the crl since we own
  384|       |         * the pointer to it */
  385|      0|        num2 = sk_X509_CRL_push(verified_crls, crl);
  386|      0|        if(num2 <= 0) {
  ------------------
  |  Branch (386:12): [True: 0, False: 0]
  ------------------
  387|      0|            xmlSecOpenSSLError("sk_X509_CRL_push", NULL);
  ------------------
  |  |   66|      0|    do {                                                    \
  |  |   67|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   68|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   69|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   70|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   71|      0|                    (const char*)(errorObject),             \
  |  |   72|      0|                    (errorFunction),                        \
  |  |   73|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   74|      0|                    "openssl error: %s",                    \
  |  |   75|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  423|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   76|      0|        );                                                  \
  |  |   77|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (77:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  388|      0|            sk_X509_CRL_free(verified_crls);
  389|      0|            return(-1);
  390|      0|        }
  391|      0|    }
  392|       |
  393|       |    /* done! */
  394|      0|    (*out_crls) = verified_crls;
  395|      0|    return(0);
  396|     13|}
x509vfy.c:xmlSecOpenSSLX509VerifyCRLTimeValidity:
 1705|     72|xmlSecOpenSSLX509VerifyCRLTimeValidity(X509_CRL *crl, xmlSecKeyInfoCtx* keyInfoCtx) {
 1706|     72|    const ASN1_TIME *thisUpdate, *nextUpdate;
 1707|     72|    time_t verification_time;
 1708|     72|    int ret;
 1709|       |
 1710|     72|    xmlSecAssert2(crl != NULL, -1);
  ------------------
  |  |  466|     72|        do { \
  |  |  467|     72|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 72]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|     72|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 72]
  |  |  ------------------
  ------------------
 1711|     72|    xmlSecAssert2(keyInfoCtx != NULL, -1);
  ------------------
  |  |  466|     72|        do { \
  |  |  467|     72|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 72]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|     72|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 72]
  |  |  ------------------
  ------------------
 1712|       |
 1713|       |    /* honor the SKIP_TIME_CHECKS flag: the certificate path honors it via
 1714|       |     * X509_V_FLAG_NO_CHECK_TIME (see xmlSecOpenSSLX509StoreSetCtx), and the
 1715|       |     * mscrypto/gnutls backends skip the CRL time checks the same way */
 1716|     72|    if((keyInfoCtx->flags & XMLSEC_KEYINFO_FLAGS_X509DATA_SKIP_TIME_CHECKS) != 0) {
  ------------------
  |  |  171|     72|#define XMLSEC_KEYINFO_FLAGS_X509DATA_SKIP_TIME_CHECKS          0x00010000
  ------------------
  |  Branch (1716:8): [True: 0, False: 72]
  ------------------
 1717|      0|        return(1);
 1718|      0|    }
 1719|       |
 1720|       |    /* Get verification time */
 1721|     72|    verification_time = (keyInfoCtx->certsVerificationTime > 0) ?
  ------------------
  |  Branch (1721:25): [True: 0, False: 72]
  ------------------
 1722|     72|                        keyInfoCtx->certsVerificationTime : time(NULL);
 1723|       |
 1724|     72|    thisUpdate = X509_CRL_get0_lastUpdate(crl);
 1725|     72|    nextUpdate = X509_CRL_get0_nextUpdate(crl);
 1726|       |
 1727|       |    /* Policy note: thisUpdate and nextUpdate are OPTIONAL in the CRL grammar.
 1728|       |     * A CRL that omits either bound is treated as unbounded on that side and
 1729|       |     * passes the time-validity check: this is deliberately more permissive than
 1730|       |     * OpenSSL's built-in CRL handling (which requires both timestamps), chosen
 1731|       |     * to match real-world issuer-provided CRLs. */
 1732|       |    /* Verify thisUpdate */
 1733|     72|    if(thisUpdate != NULL) {
  ------------------
  |  Branch (1733:8): [True: 72, False: 0]
  ------------------
 1734|     72|        ret = xmlSecOpenSSLAsn1TimeIsAfter(thisUpdate, &verification_time);
 1735|     72|        if(ret < 0) {
  ------------------
  |  Branch (1735:12): [True: 10, False: 62]
  ------------------
 1736|     10|            xmlSecOpenSSLError("xmlSecOpenSSLAsn1TimeIsAfter(thisUpdate)", NULL);
  ------------------
  |  |   66|     10|    do {                                                    \
  |  |   67|     10|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   68|     10|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   69|     10|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   70|     10|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|     10|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   71|     10|                    (const char*)(errorObject),             \
  |  |   72|     10|                    (errorFunction),                        \
  |  |   73|     10|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|     10|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   74|     10|                    "openssl error: %s",                    \
  |  |   75|     10|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  423|     10|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:10): [True: 10, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   76|     10|        );                                                  \
  |  |   77|     10|    } while(0)
  |  |  ------------------
  |  |  |  Branch (77:13): [Folded, False: 10]
  |  |  ------------------
  ------------------
 1737|     10|            return(-1);
 1738|     10|        }
 1739|     62|        if(ret > 0) {
  ------------------
  |  Branch (1739:12): [True: 12, False: 50]
  ------------------
 1740|       |            /* thisUpdate > verification_time: CRL not yet valid */
 1741|     12|            char issuer[256];
 1742|       |
 1743|     12|            ret = xmlSecOpenSSLX509NameToString(X509_CRL_get_issuer(crl), issuer, sizeof(issuer));
 1744|     12|            xmlSecOtherError2(XMLSEC_ERRORS_R_CRL_NOT_YET_VALID, NULL,
  ------------------
  |  |  948|     12|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|     12|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  949|     12|                    (const char*)(errorObject),             \
  |  |  950|     12|                    NULL,                                   \
  |  |  951|     12|                    (code),                                 \
  |  |  952|     24|                    (msg), (param)                          \
  |  |  ------------------
  |  |  |  Branch (952:29): [True: 12, False: 0]
  |  |  ------------------
  |  |  953|     12|        )
  ------------------
 1745|     12|                "issuer=%s", ((ret >= 0) ? issuer : "unknown"));
 1746|     12|            return(0);
 1747|     12|        }
 1748|     62|    }
 1749|       |
 1750|       |    /* Verify nextUpdate */
 1751|     50|    if(nextUpdate != NULL) {
  ------------------
  |  Branch (1751:8): [True: 50, False: 0]
  ------------------
 1752|     50|        ret = xmlSecOpenSSLAsn1TimeIsAfter(nextUpdate, &verification_time);
 1753|     50|        if(ret < 0) {
  ------------------
  |  Branch (1753:12): [True: 16, False: 34]
  ------------------
 1754|     16|            xmlSecOpenSSLError("xmlSecOpenSSLAsn1TimeIsAfter(nextUpdate)", NULL);
  ------------------
  |  |   66|     16|    do {                                                    \
  |  |   67|     16|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   68|     16|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   69|     16|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   70|     16|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|     16|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   71|     16|                    (const char*)(errorObject),             \
  |  |   72|     16|                    (errorFunction),                        \
  |  |   73|     16|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|     16|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   74|     16|                    "openssl error: %s",                    \
  |  |   75|     16|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  423|     16|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:10): [True: 16, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   76|     16|        );                                                  \
  |  |   77|     16|    } while(0)
  |  |  ------------------
  |  |  |  Branch (77:13): [Folded, False: 16]
  |  |  ------------------
  ------------------
 1755|     16|            return(-1);
 1756|     16|        }
 1757|     34|        if(ret == 0) {
  ------------------
  |  Branch (1757:12): [True: 8, False: 26]
  ------------------
 1758|       |            /* nextUpdate is before or equal to verification_time: CRL expired */
 1759|      8|            char issuer[256];
 1760|       |
 1761|      8|            ret = xmlSecOpenSSLX509NameToString(X509_CRL_get_issuer(crl), issuer, sizeof(issuer));
 1762|      8|            xmlSecOtherError2(XMLSEC_ERRORS_R_CRL_HAS_EXPIRED, NULL,
  ------------------
  |  |  948|      8|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      8|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  949|      8|                    (const char*)(errorObject),             \
  |  |  950|      8|                    NULL,                                   \
  |  |  951|      8|                    (code),                                 \
  |  |  952|     16|                    (msg), (param)                          \
  |  |  ------------------
  |  |  |  Branch (952:29): [True: 8, False: 0]
  |  |  ------------------
  |  |  953|      8|        )
  ------------------
 1763|      8|                "issuer=%s", ((ret >= 0) ? issuer : "unknown"));
 1764|      8|            return(0);
 1765|      8|        }
 1766|     34|    }
 1767|       |
 1768|       |    /* Success */
 1769|     26|    return(1);
 1770|     50|}
x509vfy.c:xmlSecOpenSSLAsn1TimeIsAfter:
  408|    122|xmlSecOpenSSLAsn1TimeIsAfter(const ASN1_TIME * a, time_t * b) {
  409|       |#if defined(XMLSEC_OPENSSL_API_400)
  410|       |    int ret = ASN1_TIME_cmp_time_t(a, *b);
  411|       |    if(ret < 0) {
  412|       |        /* -2 is an error; -1 means (a) is before (b) */
  413|       |        return(ret == -2 ? -1 : 0);
  414|       |    }
  415|       |    /* ret >= 0: 0 means equal, 1 means after */
  416|       |    return(ret > 0 ? 1 : 0);
  417|       |#else /* defined(XMLSEC_OPENSSL_API_400) */
  418|    122|    int ret = X509_cmp_time(a, b);
  419|    122|    if(ret < 0) {
  ------------------
  |  Branch (419:8): [True: 58, False: 64]
  ------------------
  420|       |        /* before-or-equal */
  421|     58|        return(0);
  422|     58|    }
  423|     64|    if(ret == 0) {
  ------------------
  |  Branch (423:8): [True: 26, False: 38]
  ------------------
  424|       |        /* error */
  425|     26|        return(-1);
  426|     26|    }
  427|       |    /* after */
  428|     38|    return(1);
  429|     64|#endif /* defined(XMLSEC_OPENSSL_API_400) */
  430|     64|}
x509vfy.c:xmlSecOpenSSLX509VerifyCRL:
 1852|     72|xmlSecOpenSSLX509VerifyCRL(X509_STORE* xst, X509_STORE_CTX* xsc, STACK_OF(X509)* untrusted, X509_CRL *crl, xmlSecKeyInfoCtx* keyInfoCtx) {
 1853|     72|    int ret;
 1854|       |
 1855|     72|    xmlSecAssert2(xst != NULL, -1);
  ------------------
  |  |  466|     72|        do { \
  |  |  467|     72|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 72]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|     72|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 72]
  |  |  ------------------
  ------------------
 1856|     72|    xmlSecAssert2(xsc != NULL, -1);
  ------------------
  |  |  466|     72|        do { \
  |  |  467|     72|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 72]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|     72|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 72]
  |  |  ------------------
  ------------------
 1857|     72|    xmlSecAssert2(crl != NULL, -1);
  ------------------
  |  |  466|     72|        do { \
  |  |  467|     72|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 72]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|     72|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 72]
  |  |  ------------------
  ------------------
 1858|     72|    xmlSecAssert2(keyInfoCtx != NULL, -1);
  ------------------
  |  |  466|     72|        do { \
  |  |  467|     72|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 72]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|     72|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 72]
  |  |  ------------------
  ------------------
 1859|       |
 1860|       |    /* Verify time validity first (fast check) */
 1861|     72|    ret = xmlSecOpenSSLX509VerifyCRLTimeValidity(crl, keyInfoCtx);
 1862|     72|    if(ret < 0) {
  ------------------
  |  Branch (1862:8): [True: 26, False: 46]
  ------------------
 1863|     26|        xmlSecInternalError("xmlSecOpenSSLX509VerifyCRLTimeValidity", NULL);
  ------------------
  |  |   51|     26|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|     26|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|     26|                    (const char*)(errorObject),             \
  |  |   53|     26|                    (errorFunction),                        \
  |  |   54|     26|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|     26|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|     26|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|     26|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|     26|        )
  ------------------
 1864|     26|        return(-1);
 1865|     46|    } else if(ret != 1) {
  ------------------
  |  Branch (1865:15): [True: 20, False: 26]
  ------------------
 1866|       |        /* Time validity check failed */
 1867|     20|        return(0);
 1868|     20|    }
 1869|       |
 1870|       |    /* Verify CRL signature (slower check) */
 1871|     26|    ret = xmlSecOpenSSLX509VerifyCRLSignature(xst, xsc, untrusted, crl, keyInfoCtx);
 1872|     26|    if(ret < 0) {
  ------------------
  |  Branch (1872:8): [True: 0, False: 26]
  ------------------
 1873|      0|        xmlSecInternalError("xmlSecOpenSSLX509VerifyCRLSignature", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
 1874|      0|        return(-1);
 1875|     26|    } else if(ret != 1) {
  ------------------
  |  Branch (1875:15): [True: 26, False: 0]
  ------------------
 1876|       |        /* Signature verification failed */
 1877|     26|        return(0);
 1878|     26|    }
 1879|       |
 1880|       |    /* success: verified */
 1881|      0|    return(1);
 1882|     26|}
x509vfy.c:xmlSecOpenSSLX509VerifyCRLSignature:
 1773|     26|xmlSecOpenSSLX509VerifyCRLSignature(X509_STORE* xst, X509_STORE_CTX* xsc, STACK_OF(X509)* untrusted, X509_CRL *crl, xmlSecKeyInfoCtx* keyInfoCtx) {
 1774|     26|    X509 *issuer_cert = NULL;
 1775|     26|    EVP_PKEY *pKey = NULL;
 1776|     26|    int ret;
 1777|     26|    int res = -1;
 1778|       |
 1779|     26|    xmlSecAssert2(xst != NULL, -1);
  ------------------
  |  |  466|     26|        do { \
  |  |  467|     26|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 26]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|     26|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 26]
  |  |  ------------------
  ------------------
 1780|     26|    xmlSecAssert2(xsc != NULL, -1);
  ------------------
  |  |  466|     26|        do { \
  |  |  467|     26|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 26]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|     26|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 26]
  |  |  ------------------
  ------------------
 1781|     26|    xmlSecAssert2(crl != NULL, -1);
  ------------------
  |  |  466|     26|        do { \
  |  |  467|     26|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 26]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|     26|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 26]
  |  |  ------------------
  ------------------
 1782|     26|    xmlSecAssert2(keyInfoCtx != NULL, -1);
  ------------------
  |  |  466|     26|        do { \
  |  |  467|     26|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 26]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|     26|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 26]
  |  |  ------------------
  ------------------
 1783|       |
 1784|       |    /* Find the CRL issuer certificate (searches untrusted first, then trusted) */
 1785|     26|    issuer_cert = xmlSecOpenSSLX509FindIssuer(X509_CRL_get_issuer(crl), xst, xsc, untrusted, keyInfoCtx);
 1786|     26|    if(issuer_cert == NULL) {
  ------------------
  |  Branch (1786:8): [True: 26, False: 0]
  ------------------
 1787|     26|        char issuer[256];
 1788|       |
 1789|     26|        ret = xmlSecOpenSSLX509NameToString(X509_CRL_get_issuer(crl), issuer, sizeof(issuer));
 1790|       |
 1791|     26|        xmlSecOtherError2(XMLSEC_ERRORS_R_CERT_NOT_FOUND, NULL,
  ------------------
  |  |  948|     26|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|     26|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  949|     26|                    (const char*)(errorObject),             \
  |  |  950|     26|                    NULL,                                   \
  |  |  951|     26|                    (code),                                 \
  |  |  952|     52|                    (msg), (param)                          \
  |  |  ------------------
  |  |  |  Branch (952:29): [True: 26, False: 0]
  |  |  ------------------
  |  |  953|     26|        )
  ------------------
 1792|     26|            "issuer=%s", ((ret >= 0) ? issuer : "unknown"));
 1793|     26|        res = 0; /* not verified */
 1794|     26|        goto done;
 1795|     26|    }
 1796|       |
 1797|       |    /* RFC 5280 section 6.3.3: if the keyUsage extension is present in the
 1798|       |     * CRL issuer certificate, the cRLSign bit must be asserted */
 1799|      0|    ret = xmlSecOpenSSLX509CertCanSignCrl(issuer_cert);
 1800|      0|    if(ret < 0) {
  ------------------
  |  Branch (1800:8): [True: 0, False: 0]
  ------------------
 1801|      0|        xmlSecInternalError("xmlSecOpenSSLX509CertCanSignCrl", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
 1802|      0|        goto done;
 1803|      0|    } else if(ret != 1) {
  ------------------
  |  Branch (1803:15): [True: 0, False: 0]
  ------------------
 1804|      0|        char issuer[256];
 1805|       |
 1806|      0|        ret = xmlSecOpenSSLX509NameToString(X509_CRL_get_issuer(crl), issuer, sizeof(issuer));
 1807|      0|        xmlSecOtherError2(XMLSEC_ERRORS_R_CRL_VERIFY_FAILED, NULL,
  ------------------
  |  |  948|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  949|      0|                    (const char*)(errorObject),             \
  |  |  950|      0|                    NULL,                                   \
  |  |  951|      0|                    (code),                                 \
  |  |  952|      0|                    (msg), (param)                          \
  |  |  ------------------
  |  |  |  Branch (952:29): [True: 0, False: 0]
  |  |  ------------------
  |  |  953|      0|        )
  ------------------
 1808|      0|            "issuer=%s; cRLSign key usage is not asserted", ((ret >= 0) ? issuer : "unknown"));
 1809|       |
 1810|       |        /* not verified */
 1811|      0|        res = 0;
 1812|      0|        goto done;
 1813|      0|    }
 1814|       |
 1815|      0|    pKey = X509_get_pubkey(issuer_cert);
 1816|      0|    if(pKey == NULL) {
  ------------------
  |  Branch (1816:8): [True: 0, False: 0]
  ------------------
 1817|      0|        xmlSecOpenSSLError("X509_get_pubkey", NULL);
  ------------------
  |  |   66|      0|    do {                                                    \
  |  |   67|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   68|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   69|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   70|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   71|      0|                    (const char*)(errorObject),             \
  |  |   72|      0|                    (errorFunction),                        \
  |  |   73|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   74|      0|                    "openssl error: %s",                    \
  |  |   75|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  423|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   76|      0|        );                                                  \
  |  |   77|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (77:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1818|      0|        goto done;
 1819|      0|    }
 1820|       |
 1821|      0|    ret = X509_CRL_verify(crl, pKey);
 1822|      0|    if(ret < 0) {
  ------------------
  |  Branch (1822:8): [True: 0, False: 0]
  ------------------
 1823|      0|        xmlSecOpenSSLError("X509_CRL_verify", NULL);
  ------------------
  |  |   66|      0|    do {                                                    \
  |  |   67|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   68|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   69|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   70|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   71|      0|                    (const char*)(errorObject),             \
  |  |   72|      0|                    (errorFunction),                        \
  |  |   73|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   74|      0|                    "openssl error: %s",                    \
  |  |   75|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  423|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   76|      0|        );                                                  \
  |  |   77|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (77:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1824|      0|        goto done;
 1825|      0|    } else if(ret == 0) {
  ------------------
  |  Branch (1825:15): [True: 0, False: 0]
  ------------------
 1826|      0|        char issuer[256];
 1827|       |
 1828|       |        /* the CRL signature was not verified */
 1829|      0|        ret = xmlSecOpenSSLX509NameToString(X509_CRL_get_issuer(crl), issuer, sizeof(issuer));
 1830|      0|        xmlSecOtherError2(XMLSEC_ERRORS_R_CRL_VERIFY_FAILED, NULL,
  ------------------
  |  |  948|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  949|      0|                    (const char*)(errorObject),             \
  |  |  950|      0|                    NULL,                                   \
  |  |  951|      0|                    (code),                                 \
  |  |  952|      0|                    (msg), (param)                          \
  |  |  ------------------
  |  |  |  Branch (952:29): [True: 0, False: 0]
  |  |  ------------------
  |  |  953|      0|        )
  ------------------
 1831|      0|            "issuer=%s", ((ret >= 0) ? issuer : "unknown"));
 1832|       |
 1833|       |        /* not verified */
 1834|      0|        res = 0;
 1835|      0|        goto done;
 1836|      0|    }
 1837|       |
 1838|       |    /* success: verified */
 1839|      0|    res = 1;
 1840|       |
 1841|     26|done:
 1842|     26|    if(pKey != NULL) {
  ------------------
  |  Branch (1842:8): [True: 0, False: 26]
  ------------------
 1843|      0|        EVP_PKEY_free(pKey);
 1844|      0|    }
 1845|     26|    if(issuer_cert != NULL) {
  ------------------
  |  Branch (1845:8): [True: 0, False: 26]
  ------------------
 1846|      0|        X509_free(issuer_cert);
 1847|      0|    }
 1848|     26|    return(res);
 1849|      0|}
x509vfy.c:xmlSecOpenSSLX509FindIssuer:
 1642|     26|xmlSecOpenSSLX509FindIssuer(XMLSEC_OPENSSL400_CONST X509_NAME* issuer, X509_STORE* xst, X509_STORE_CTX* xsc, STACK_OF(X509)* untrusted, xmlSecKeyInfoCtx* keyInfoCtx) {
 1643|     26|    X509* issuer_cert = NULL;
 1644|       |
 1645|     26|    xmlSecAssert2(xst != NULL, NULL);
  ------------------
  |  |  466|     26|        do { \
  |  |  467|     26|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 26]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|     26|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 26]
  |  |  ------------------
  ------------------
 1646|     26|    xmlSecAssert2(xsc != NULL, NULL);
  ------------------
  |  |  466|     26|        do { \
  |  |  467|     26|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 26]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|     26|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 26]
  |  |  ------------------
  ------------------
 1647|     26|    xmlSecAssert2(issuer != NULL, NULL);
  ------------------
  |  |  466|     26|        do { \
  |  |  467|     26|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 26]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|     26|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 26]
  |  |  ------------------
  ------------------
 1648|     26|    xmlSecAssert2(keyInfoCtx != NULL, NULL);
  ------------------
  |  |  466|     26|        do { \
  |  |  467|     26|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 26]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|     26|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 26]
  |  |  ------------------
  ------------------
 1649|       |
 1650|       |    /* First, search in the untrusted certificates */
 1651|     26|    issuer_cert = xmlSecOpenSSLX509FindUntrustedIssuer(issuer, xst, xsc, untrusted, keyInfoCtx);
 1652|     26|    if(issuer_cert != NULL) {
  ------------------
  |  Branch (1652:8): [True: 0, False: 26]
  ------------------
 1653|      0|        return(issuer_cert);
 1654|      0|    }
 1655|       |
 1656|       |    /* Not found in untrusted certs, search in trusted store */
 1657|     26|    issuer_cert = xmlSecOpenSSLX509FindTrustedIssuer(xst, issuer);
 1658|     26|    if(issuer_cert != NULL) {
  ------------------
  |  Branch (1658:8): [True: 0, False: 26]
  ------------------
 1659|      0|        return(issuer_cert);
 1660|      0|    }
 1661|       |
 1662|       |    /* no luck */
 1663|     26|    return(NULL);
 1664|     26|}
x509vfy.c:xmlSecOpenSSLX509FindUntrustedIssuer:
 1563|     26|xmlSecOpenSSLX509FindUntrustedIssuer(XMLSEC_OPENSSL400_CONST X509_NAME* issuer, X509_STORE* xst, X509_STORE_CTX* xsc, STACK_OF(X509)* untrusted, xmlSecKeyInfoCtx* keyInfoCtx) {
 1564|     26|    X509* issuer_cert = NULL;
 1565|     26|    xmlSecOpenSSLSizeT ii, num;
 1566|     26|    int ret;
 1567|     26|    int ctx_initialized = 0;
 1568|       |
 1569|     26|    xmlSecAssert2(xst != NULL, NULL);
  ------------------
  |  |  466|     26|        do { \
  |  |  467|     26|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 26]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|     26|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 26]
  |  |  ------------------
  ------------------
 1570|     26|    xmlSecAssert2(xsc != NULL, NULL);
  ------------------
  |  |  466|     26|        do { \
  |  |  467|     26|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 26]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|     26|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 26]
  |  |  ------------------
  ------------------
 1571|     26|    xmlSecAssert2(issuer != NULL, NULL);
  ------------------
  |  |  466|     26|        do { \
  |  |  467|     26|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 26]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|     26|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 26]
  |  |  ------------------
  ------------------
 1572|     26|    xmlSecAssert2(keyInfoCtx != NULL, NULL);
  ------------------
  |  |  466|     26|        do { \
  |  |  467|     26|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 26]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|     26|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 26]
  |  |  ------------------
  ------------------
 1573|       |
 1574|     26|    if(untrusted == NULL) {
  ------------------
  |  Branch (1574:8): [True: 0, False: 26]
  ------------------
 1575|      0|        return(NULL);
 1576|      0|    }
 1577|       |
 1578|     26|    num = sk_X509_num(untrusted);
 1579|     30|    for(ii = 0; ii < num; ++ii) {
  ------------------
  |  Branch (1579:17): [True: 4, False: 26]
  ------------------
 1580|      4|        X509* cert = sk_X509_value(untrusted, ii);
 1581|      4|        XMLSEC_OPENSSL400_CONST X509_NAME* cert_subject;
 1582|       |
 1583|      4|        if(cert == NULL) {
  ------------------
  |  Branch (1583:12): [True: 0, False: 4]
  ------------------
 1584|      0|            continue;
 1585|      0|        }
 1586|       |
 1587|      4|        cert_subject = X509_get_subject_name(cert);
 1588|      4|        if(cert_subject == NULL) {
  ------------------
  |  Branch (1588:12): [True: 0, False: 4]
  ------------------
 1589|      0|            continue;
 1590|      0|        }
 1591|       |
 1592|       |        /* Check if subject matches the issuer we're looking for */
 1593|      4|        if(X509_NAME_cmp(cert_subject, issuer) != 0) {
  ------------------
  |  Branch (1593:12): [True: 4, False: 0]
  ------------------
 1594|      4|            continue;
 1595|      4|        }
 1596|       |
 1597|       |        /* Found a candidate, verify the chain to a trusted root using passed xsc */
 1598|      0|        ret = X509_STORE_CTX_init(xsc, xst, cert, untrusted);
 1599|      0|        if(ret != 1) {
  ------------------
  |  Branch (1599:12): [True: 0, False: 0]
  ------------------
 1600|      0|            xmlSecOpenSSLError("X509_STORE_CTX_init", NULL);
  ------------------
  |  |   66|      0|    do {                                                    \
  |  |   67|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   68|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   69|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   70|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   71|      0|                    (const char*)(errorObject),             \
  |  |   72|      0|                    (errorFunction),                        \
  |  |   73|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   74|      0|                    "openssl error: %s",                    \
  |  |   75|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  423|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   76|      0|        );                                                  \
  |  |   77|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (77:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1601|      0|            goto done;
 1602|      0|        }
 1603|      0|        ctx_initialized = 1;
 1604|       |
 1605|      0|        ret = xmlSecOpenSSLX509StoreSetCtx(xsc, keyInfoCtx);
 1606|      0|        if(ret < 0) {
  ------------------
  |  Branch (1606:12): [True: 0, False: 0]
  ------------------
 1607|      0|            xmlSecInternalError("xmlSecOpenSSLX509StoreSetCtx", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
 1608|      0|            goto done;
 1609|      0|        }
 1610|       |
 1611|      0|        ret = X509_verify_cert(xsc);
 1612|      0|        if(ret < 0) {
  ------------------
  |  Branch (1612:12): [True: 0, False: 0]
  ------------------
 1613|       |            /* A hard failure (e.g. a low-level memory error) is not the same
 1614|       |             * as an unverified chain: report it and stop trying the
 1615|       |             * remaining candidates */
 1616|      0|            xmlSecOpenSSLError("X509_verify_cert", NULL);
  ------------------
  |  |   66|      0|    do {                                                    \
  |  |   67|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   68|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   69|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   70|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   71|      0|                    (const char*)(errorObject),             \
  |  |   72|      0|                    (errorFunction),                        \
  |  |   73|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   74|      0|                    "openssl error: %s",                    \
  |  |   75|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  423|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   76|      0|        );                                                  \
  |  |   77|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (77:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1617|      0|            goto done;
 1618|      0|        }
 1619|       |
 1620|      0|        if(ret == 1) {
  ------------------
  |  Branch (1620:12): [True: 0, False: 0]
  ------------------
 1621|       |            /* Chain verified successfully, return a copy */
 1622|      0|            issuer_cert = X509_dup(cert);
 1623|      0|            if(issuer_cert == NULL) {
  ------------------
  |  Branch (1623:16): [True: 0, False: 0]
  ------------------
 1624|      0|                xmlSecOpenSSLError("X509_dup", NULL);
  ------------------
  |  |   66|      0|    do {                                                    \
  |  |   67|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   68|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   69|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   70|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   71|      0|                    (const char*)(errorObject),             \
  |  |   72|      0|                    (errorFunction),                        \
  |  |   73|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   74|      0|                    "openssl error: %s",                    \
  |  |   75|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  423|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   76|      0|        );                                                  \
  |  |   77|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (77:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1625|      0|            }
 1626|      0|            goto done;
 1627|      0|        }
 1628|       |
 1629|       |        /* Chain verification failed, try next candidate */
 1630|      0|        X509_STORE_CTX_cleanup(xsc);
 1631|      0|        ctx_initialized = 0;
 1632|      0|    }
 1633|       |
 1634|     26|done:
 1635|     26|    if(ctx_initialized != 0) {
  ------------------
  |  Branch (1635:8): [True: 0, False: 26]
  ------------------
 1636|      0|        X509_STORE_CTX_cleanup(xsc);
 1637|      0|    }
 1638|     26|    return(issuer_cert);
 1639|     26|}
x509vfy.c:xmlSecOpenSSLX509FindTrustedIssuer:
 1495|     26|xmlSecOpenSSLX509FindTrustedIssuer(X509_STORE* xst, XMLSEC_OPENSSL400_CONST X509_NAME* issuer) {
 1496|     26|    STACK_OF(X509_OBJECT)* objects = NULL;
 1497|     26|    xmlSecOpenSSLSizeT ii, num;
 1498|     26|    X509* issuer_cert = NULL;
 1499|       |
 1500|     26|    xmlSecAssert2(xst != NULL, NULL);
  ------------------
  |  |  466|     26|        do { \
  |  |  467|     26|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 26]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|     26|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 26]
  |  |  ------------------
  ------------------
 1501|     26|    xmlSecAssert2(issuer != NULL, NULL);
  ------------------
  |  |  466|     26|        do { \
  |  |  467|     26|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 26]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|     26|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 26]
  |  |  ------------------
  ------------------
 1502|       |
 1503|       |    /* Get all objects from the trusted store */
 1504|       |#ifndef XMLSEC_OPENSSL_NO_X509_STORE_GET1_OBJECTS
 1505|       |    objects = X509_STORE_get1_objects(xst);
 1506|       |    if(objects == NULL) {
 1507|       |        return(NULL);
 1508|       |    }
 1509|       |#else   /* XMLSEC_OPENSSL_NO_X509_STORE_GET1_OBJECTS */
 1510|     26|    objects = X509_STORE_get0_objects(xst);
 1511|     26|    if(objects == NULL) {
  ------------------
  |  Branch (1511:8): [True: 0, False: 26]
  ------------------
 1512|      0|        return(NULL);
 1513|      0|    }
 1514|     26|#endif /* XMLSEC_OPENSSL_NO_X509_STORE_GET1_OBJECTS */
 1515|       |
 1516|       |    /* Search for a certificate with matching subject */
 1517|     26|    num = sk_X509_OBJECT_num(objects);
 1518|  2.94k|    for(ii = 0; ii < num; ++ii) {
  ------------------
  |  Branch (1518:17): [True: 2.91k, False: 26]
  ------------------
 1519|  2.91k|        X509_OBJECT* obj = sk_X509_OBJECT_value(objects, ii);
 1520|  2.91k|        X509* cert;
 1521|  2.91k|        XMLSEC_OPENSSL400_CONST X509_NAME* cert_subject;
 1522|       |
 1523|  2.91k|        if(obj == NULL) {
  ------------------
  |  Branch (1523:12): [True: 0, False: 2.91k]
  ------------------
 1524|      0|            continue;
 1525|      0|        }
 1526|       |
 1527|       |        /* Check if this object is a certificate */
 1528|  2.91k|        if(X509_OBJECT_get_type(obj) != X509_LU_X509) {
  ------------------
  |  Branch (1528:12): [True: 0, False: 2.91k]
  ------------------
 1529|      0|            continue;
 1530|      0|        }
 1531|       |
 1532|  2.91k|        cert = X509_OBJECT_get0_X509(obj);
 1533|  2.91k|        if(cert == NULL) {
  ------------------
  |  Branch (1533:12): [True: 0, False: 2.91k]
  ------------------
 1534|      0|            continue;
 1535|      0|        }
 1536|       |
 1537|  2.91k|        cert_subject = X509_get_subject_name(cert);
 1538|  2.91k|        if(cert_subject == NULL) {
  ------------------
  |  Branch (1538:12): [True: 0, False: 2.91k]
  ------------------
 1539|      0|            continue;
 1540|      0|        }
 1541|       |
 1542|       |        /* Check if subject matches the issuer we're looking for */
 1543|  2.91k|        if(X509_NAME_cmp(cert_subject, issuer) == 0) {
  ------------------
  |  Branch (1543:12): [True: 0, False: 2.91k]
  ------------------
 1544|       |            /* Found a match, duplicate and return */
 1545|      0|            issuer_cert = X509_dup(cert);
 1546|      0|            if(issuer_cert == NULL) {
  ------------------
  |  Branch (1546:16): [True: 0, False: 0]
  ------------------
 1547|      0|                xmlSecOpenSSLError("X509_dup", NULL);
  ------------------
  |  |   66|      0|    do {                                                    \
  |  |   67|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   68|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   69|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   70|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   71|      0|                    (const char*)(errorObject),             \
  |  |   72|      0|                    (errorFunction),                        \
  |  |   73|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   74|      0|                    "openssl error: %s",                    \
  |  |   75|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  423|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   76|      0|        );                                                  \
  |  |   77|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (77:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1548|      0|            }
 1549|      0|            break;
 1550|      0|        }
 1551|  2.91k|    }
 1552|       |
 1553|       |    /* list returned by X509_STORE_get1_objects needs to be freed */
 1554|       |#ifndef XMLSEC_OPENSSL_NO_X509_STORE_GET1_OBJECTS
 1555|       |    sk_X509_OBJECT_pop_free(objects, X509_OBJECT_free);
 1556|       |#endif /* XMLSEC_OPENSSL_NO_X509_STORE_GET1_OBJECTS */
 1557|       |
 1558|       |    /* done */
 1559|     26|    return(issuer_cert);
 1560|     26|}
x509vfy.c:xmlSecOpenSSLX509StoreCombineCerts:
 2310|     13|xmlSecOpenSSLX509StoreCombineCerts(STACK_OF(X509)* certs1, STACK_OF(X509)* certs2) {
 2311|     13|#if !defined(XMLSEC_OPENSSL_API_111)
 2312|     13|    STACK_OF(X509)* res = NULL;
 2313|     13|    int ret;
 2314|       |
 2315|     13|    res = sk_X509_new_null();
 2316|     13|    if (res == NULL) {
  ------------------
  |  Branch (2316:9): [True: 0, False: 13]
  ------------------
 2317|      0|        xmlSecOpenSSLError("sk_X509_new_null", NULL);
  ------------------
  |  |   66|      0|    do {                                                    \
  |  |   67|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   68|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   69|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   70|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   71|      0|                    (const char*)(errorObject),             \
  |  |   72|      0|                    (errorFunction),                        \
  |  |   73|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   74|      0|                    "openssl error: %s",                    \
  |  |   75|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  423|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   76|      0|        );                                                  \
  |  |   77|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (77:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2318|      0|        return(NULL);
 2319|      0|    }
 2320|       |
 2321|       |    /* certs 1 */
 2322|     13|    ret = X509_add_certs(res, certs1, 0);
 2323|     13|    if (ret != 1) {
  ------------------
  |  Branch (2323:9): [True: 0, False: 13]
  ------------------
 2324|      0|        xmlSecOpenSSLError("X509_add_certs(certs1)", NULL);
  ------------------
  |  |   66|      0|    do {                                                    \
  |  |   67|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   68|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   69|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   70|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   71|      0|                    (const char*)(errorObject),             \
  |  |   72|      0|                    (errorFunction),                        \
  |  |   73|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   74|      0|                    "openssl error: %s",                    \
  |  |   75|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  423|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   76|      0|        );                                                  \
  |  |   77|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (77:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2325|      0|        sk_X509_free(res);
 2326|      0|        return(NULL);
 2327|      0|    }
 2328|       |
 2329|       |
 2330|       |    /* certs 2 */
 2331|     13|    ret = X509_add_certs(res, certs2, 0);
 2332|     13|    if (ret != 1) {
  ------------------
  |  Branch (2332:9): [True: 0, False: 13]
  ------------------
 2333|      0|        xmlSecOpenSSLError("X509_add_certs(certs2)", NULL);
  ------------------
  |  |   66|      0|    do {                                                    \
  |  |   67|      0|        char _openssl_error_buf[XMLSEC_OPENSSL_ERROR_BUFFER_SIZE]; \
  |  |   68|      0|        xmlSecOpenSSLErrorType _openssl_error_code = ERR_peek_last_error(); \
  |  |   69|      0|        ERR_error_string_n(_openssl_error_code, _openssl_error_buf, sizeof(_openssl_error_buf)); \
  |  |   70|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   71|      0|                    (const char*)(errorObject),             \
  |  |   72|      0|                    (errorFunction),                        \
  |  |   73|      0|                    XMLSEC_ERRORS_R_CRYPTO_FAILED,          \
  |  |  ------------------
  |  |  |  |   48|      0|#define XMLSEC_ERRORS_R_CRYPTO_FAILED                   4
  |  |  ------------------
  |  |   74|      0|                    "openssl error: %s",                    \
  |  |   75|      0|                    xmlSecErrorsSafeString(_openssl_error_buf) \
  |  |  ------------------
  |  |  |  |  423|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   76|      0|        );                                                  \
  |  |   77|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (77:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2334|      0|        sk_X509_free(res);
 2335|      0|        return(NULL);
 2336|      0|    }
 2337|       |
 2338|       |    /* done
 2339|       |    */
 2340|     13|    return (res);
 2341|       |
 2342|       |#else /* !defined(XMLSEC_OPENSSL_API_111) */
 2343|       |    STACK_OF(X509)* res = NULL;
 2344|       |
 2345|       |    /* certs1 */
 2346|       |    if((res == NULL) && (certs1 != NULL)) {
 2347|       |        res = sk_X509_dup(certs1);
 2348|       |        if(res == NULL) {
 2349|       |            xmlSecOpenSSLError("sk_X509_dup(certs1)", NULL);
 2350|       |            return(NULL);
 2351|       |        }
 2352|       |    }
 2353|       |
 2354|       |    /* certs2 */
 2355|       |    if((res == NULL) && (certs2 != NULL)) {
 2356|       |        res = sk_X509_dup(certs2);
 2357|       |        if(res == NULL) {
 2358|       |            xmlSecOpenSSLError("sk_X509_dup(certs2)", NULL);
 2359|       |            return(NULL);
 2360|       |        }
 2361|       |    } else if(certs2 != NULL) {
 2362|       |        X509 * cert;
 2363|       |        xmlSecOpenSSLSizeT ii, num;
 2364|       |        xmlSecOpenSSLSizeT ret;
 2365|       |
 2366|       |        /* append certs2 to result */
 2367|       |        num = sk_X509_num(certs2);
 2368|       |        ret = sk_X509_reserve(res, num + sk_X509_num(res));
 2369|       |        if(ret != 1) {
 2370|       |            xmlSecOpenSSLError2("sk_X509_reserve(res)", NULL,
 2371|       |                "size=%d", (int)(num + sk_X509_num(res)));
 2372|       |            sk_X509_free(res);
 2373|       |            return(NULL);
 2374|       |        }
 2375|       |
 2376|       |        for(ii = 0; ii < num; ++ii) {
 2377|       |            cert = sk_X509_value(certs2, ii);
 2378|       |            if(cert == NULL) {
 2379|       |                continue;
 2380|       |            }
 2381|       |            ret = sk_X509_push(res, cert);
 2382|       |            if(ret <= 0) {
 2383|       |                xmlSecOpenSSLError("sk_X509_push(res)", NULL);
 2384|       |                sk_X509_free(res);
 2385|       |                return(NULL);
 2386|       |            }
 2387|       |        }
 2388|       |    }
 2389|       |
 2390|       |    /* done */
 2391|       |    return(res);
 2392|       |#endif /* !defined(XMLSEC_OPENSSL_API_111) */
 2393|     13|}

xmlSecTransformRelationshipGetKlass:
  168|      1|xmlSecTransformRelationshipGetKlass(void) {
  169|      1|    return(&xmlSecRelationshipKlass);
  170|      1|}

xmlSecTransformIdsGet:
   89|     90|xmlSecTransformIdsGet(void) {
   90|     90|    return(&xmlSecAllTransformIds);
   91|     90|}
xmlSecTransformIdsInit:
  101|      1|xmlSecTransformIdsInit(void) {
  102|      1|    int ret;
  103|       |
  104|      1|    ret = xmlSecPtrListInitialize(xmlSecTransformIdsGet(), xmlSecTransformIdListId);
  ------------------
  |  |  770|      1|#define xmlSecTransformIdListId xmlSecTransformIdListGetKlass()
  ------------------
  105|      1|    if(ret < 0) {
  ------------------
  |  Branch (105:8): [True: 0, False: 1]
  ------------------
  106|      0|        xmlSecInternalError("xmlSecPtrListInitialize(xmlSecTransformIdListId)", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  107|      0|        return(-1);
  108|      0|    }
  109|       |
  110|      1|    ret = xmlSecTransformIdsRegisterDefault();
  111|      1|    if(ret < 0) {
  ------------------
  |  Branch (111:8): [True: 0, False: 1]
  ------------------
  112|      0|        xmlSecInternalError("xmlSecTransformIdsRegisterDefault", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  113|      0|        return(-1);
  114|      0|    }
  115|       |
  116|      1|#ifndef XMLSEC_NO_XSLT
  117|      1|    ret = xmlSecTransformXsltInitialize();
  118|      1|    if(ret < 0) {
  ------------------
  |  Branch (118:8): [True: 0, False: 1]
  ------------------
  119|      0|        xmlSecInternalError("xmlSecTransformXsltInitialize", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  120|      0|        return(-1);
  121|      0|    }
  122|      1|#endif /* XMLSEC_NO_XSLT */
  123|       |
  124|      1|    return(0);
  125|      1|}
xmlSecTransformIdsRegister:
  149|     89|xmlSecTransformIdsRegister(xmlSecTransformId id) {
  150|     89|    int ret;
  151|       |
  152|     89|    xmlSecAssert2(id != xmlSecTransformIdUnknown, -1);
  ------------------
  |  |  466|     89|        do { \
  |  |  467|     89|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 89]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|     89|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 89]
  |  |  ------------------
  ------------------
  153|       |
  154|     89|    ret = xmlSecPtrListAdd(xmlSecTransformIdsGet(), (xmlSecPtr)id);
  155|     89|    if(ret < 0) {
  ------------------
  |  Branch (155:8): [True: 0, False: 89]
  ------------------
  156|      0|        xmlSecInternalError("xmlSecPtrListAdd",
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |  ------------------
  |  |  |  Branch (52:35): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  157|      0|                            xmlSecTransformKlassGetName(id));
  158|      0|        return(-1);
  159|      0|    }
  160|       |
  161|     89|    return(0);
  162|     89|}
xmlSecTransformIdsRegisterDefault:
  172|      1|xmlSecTransformIdsRegisterDefault(void) {
  173|      1|    if(xmlSecTransformIdsRegister(xmlSecTransformBase64Id) < 0) {
  ------------------
  |  |  800|      1|        xmlSecTransformBase64GetKlass()
  ------------------
  |  Branch (173:8): [True: 0, False: 1]
  ------------------
  174|      0|        xmlSecInternalError("xmlSecTransformIdsRegister(xmlSecTransformBase64Id)", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  175|      0|        return(-1);
  176|      0|    }
  177|       |
  178|      1|    if(xmlSecTransformIdsRegister(xmlSecTransformEnvelopedId) < 0) {
  ------------------
  |  |  850|      1|        xmlSecTransformEnvelopedGetKlass()
  ------------------
  |  Branch (178:8): [True: 0, False: 1]
  ------------------
  179|      0|        xmlSecInternalError("xmlSecTransformIdsRegister(xmlSecTransformEnvelopedId)", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  180|      0|        return(-1);
  181|      0|    }
  182|       |
  183|       |    /* c14n methods */
  184|      1|    if(xmlSecTransformIdsRegister(xmlSecTransformInclC14NId) < 0) {
  ------------------
  |  |  808|      1|        xmlSecTransformInclC14NGetKlass()
  ------------------
  |  Branch (184:8): [True: 0, False: 1]
  ------------------
  185|      0|        xmlSecInternalError("xmlSecTransformIdsRegister(xmlSecTransformInclC14NId)", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  186|      0|        return(-1);
  187|      0|    }
  188|      1|    if(xmlSecTransformIdsRegister(xmlSecTransformInclC14NWithCommentsId) < 0) {
  ------------------
  |  |  815|      1|        xmlSecTransformInclC14NWithCommentsGetKlass()
  ------------------
  |  Branch (188:8): [True: 0, False: 1]
  ------------------
  189|      0|        xmlSecInternalError("xmlSecTransformIdsRegister(xmlSecTransformInclC14NWithCommentsId)", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  190|      0|        return(-1);
  191|      0|    }
  192|      1|    if(xmlSecTransformIdsRegister(xmlSecTransformInclC14N11Id) < 0) {
  ------------------
  |  |  822|      1|        xmlSecTransformInclC14N11GetKlass()
  ------------------
  |  Branch (192:8): [True: 0, False: 1]
  ------------------
  193|      0|        xmlSecInternalError("xmlSecTransformIdsRegister(xmlSecTransformInclC14N11Id)", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  194|      0|        return(-1);
  195|      0|    }
  196|      1|    if(xmlSecTransformIdsRegister(xmlSecTransformInclC14N11WithCommentsId) < 0) {
  ------------------
  |  |  829|      1|        xmlSecTransformInclC14N11WithCommentsGetKlass()
  ------------------
  |  Branch (196:8): [True: 0, False: 1]
  ------------------
  197|      0|        xmlSecInternalError("xmlSecTransformIdsRegister(xmlSecTransformInclC14N11WithCommentsId)", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  198|      0|        return(-1);
  199|      0|    }
  200|      1|    if(xmlSecTransformIdsRegister(xmlSecTransformExclC14NId) < 0) {
  ------------------
  |  |  836|      1|        xmlSecTransformExclC14NGetKlass()
  ------------------
  |  Branch (200:8): [True: 0, False: 1]
  ------------------
  201|      0|        xmlSecInternalError("xmlSecTransformIdsRegister(xmlSecTransformExclC14NId)", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  202|      0|        return(-1);
  203|      0|    }
  204|      1|    if(xmlSecTransformIdsRegister(xmlSecTransformExclC14NWithCommentsId) < 0) {
  ------------------
  |  |  843|      1|        xmlSecTransformExclC14NWithCommentsGetKlass()
  ------------------
  |  Branch (204:8): [True: 0, False: 1]
  ------------------
  205|      0|        xmlSecInternalError("xmlSecTransformIdsRegister(xmlSecTransformExclC14NWithCommentsId)", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  206|      0|        return(-1);
  207|      0|    }
  208|       |
  209|      1|    if(xmlSecTransformIdsRegister(xmlSecTransformXPathId) < 0) {
  ------------------
  |  |  857|      1|        xmlSecTransformXPathGetKlass()
  ------------------
  |  Branch (209:8): [True: 0, False: 1]
  ------------------
  210|      0|        xmlSecInternalError("xmlSecTransformIdsRegister(xmlSecTransformXPathId)", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  211|      0|        return(-1);
  212|      0|    }
  213|       |
  214|      1|    if(xmlSecTransformIdsRegister(xmlSecTransformXPath2Id) < 0) {
  ------------------
  |  |  864|      1|        xmlSecTransformXPath2GetKlass()
  ------------------
  |  Branch (214:8): [True: 0, False: 1]
  ------------------
  215|      0|        xmlSecInternalError("xmlSecTransformIdsRegister(xmlSecTransformXPath2Id)", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  216|      0|        return(-1);
  217|      0|    }
  218|       |
  219|      1|    if(xmlSecTransformIdsRegister(xmlSecTransformXPointerId) < 0) {
  ------------------
  |  |  871|      1|        xmlSecTransformXPointerGetKlass()
  ------------------
  |  Branch (219:8): [True: 0, False: 1]
  ------------------
  220|      0|        xmlSecInternalError("xmlSecTransformIdsRegister(xmlSecTransformXPointerId)", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  221|      0|        return(-1);
  222|      0|    }
  223|      1|    if(xmlSecTransformIdsRegister(xmlSecTransformXPointerLegacyId) < 0) {
  ------------------
  |  |  886|      1|        xmlSecTransformXPointerLegacyGetKlass()
  ------------------
  |  Branch (223:8): [True: 0, False: 1]
  ------------------
  224|      0|        xmlSecInternalError("xmlSecTransformIdsRegister(xmlSecTransformXPointerLegacyId)", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  225|      0|        return(-1);
  226|      0|    }
  227|       |
  228|      1|    if(xmlSecTransformIdsRegister(xmlSecTransformRelationshipId) < 0) {
  ------------------
  |  |  892|      1|        xmlSecTransformRelationshipGetKlass()
  ------------------
  |  Branch (228:8): [True: 0, False: 1]
  ------------------
  229|      0|        xmlSecInternalError("xmlSecTransformIdsRegister(xmlSecTransformRelationshipId)", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  230|      0|        return(-1);
  231|      0|    }
  232|       |
  233|      1|#ifndef XMLSEC_NO_XSLT
  234|      1|    if(xmlSecTransformIdsRegister(xmlSecTransformXsltId) < 0) {
  ------------------
  |  |  901|      1|        xmlSecTransformXsltGetKlass()
  ------------------
  |  Branch (234:8): [True: 0, False: 1]
  ------------------
  235|      0|        xmlSecInternalError("xmlSecTransformIdsRegister(xmlSecTransformXsltId)", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  236|      0|        return(-1);
  237|      0|    }
  238|      1|#endif /* XMLSEC_NO_XSLT */
  239|       |
  240|      1|    return(0);
  241|      1|}
xmlSecTransformCtxGetDefaultBinaryChunkSize:
  303|  1.60k|xmlSecTransformCtxGetDefaultBinaryChunkSize(void) {
  304|  1.60k|    return(g_xmlSecTransformCtxDefaultBinaryChunkSize);
  305|  1.60k|}
xmlSecTransformCtxGetDefaultMaxDepth:
  331|  1.60k|xmlSecTransformCtxGetDefaultMaxDepth(void) {
  332|  1.60k|    return(g_xmlSecTransformCtxDefaultMaxDepth);
  333|  1.60k|}
xmlSecTransformCtxGetDefaultUriReadBytesLimit:
  356|  1.60k|xmlSecTransformCtxGetDefaultUriReadBytesLimit(void) {
  357|  1.60k|    return(g_xmlSecTransformCtxDefaultUriReadBytesLimit);
  358|  1.60k|}
xmlSecTransformCtxGetDefaultXpathOpsLimit:
  383|  1.60k|xmlSecTransformCtxGetDefaultXpathOpsLimit(void) {
  384|  1.60k|    return(g_xmlSecTransformCtxDefaultXpathOpsLimit);
  385|  1.60k|}
xmlSecTransformCtxInitialize:
  590|  1.60k|xmlSecTransformCtxInitialize(xmlSecTransformCtxPtr ctx) {
  591|  1.60k|    int ret;
  592|       |
  593|  1.60k|    xmlSecAssert2(ctx != NULL, -1);
  ------------------
  |  |  466|  1.60k|        do { \
  |  |  467|  1.60k|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 1.60k]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|  1.60k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 1.60k]
  |  |  ------------------
  ------------------
  594|       |
  595|  1.60k|    memset(ctx, 0, sizeof(xmlSecTransformCtx));
  596|       |
  597|  1.60k|    ret = xmlSecPtrListInitialize(&(ctx->enabledTransforms), xmlSecTransformIdListId);
  ------------------
  |  |  770|  1.60k|#define xmlSecTransformIdListId xmlSecTransformIdListGetKlass()
  ------------------
  598|  1.60k|    if(ret < 0) {
  ------------------
  |  Branch (598:8): [True: 0, False: 1.60k]
  ------------------
  599|      0|        xmlSecInternalError("xmlSecPtrListInitialize(xmlSecTransformIdListId)", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  600|      0|        return(-1);
  601|      0|    }
  602|       |
  603|       |    /* Allow only empty and same-document URIs. Applications needing remote/local dereference
  604|       |    can explicitly opt in. */
  605|  1.60k|    ctx->enabledUris = xmlSecTransformUriTypeEmpty | xmlSecTransformUriTypeSameDocument;
  ------------------
  |  |  112|  1.60k|#define xmlSecTransformUriTypeEmpty             0x0001
  ------------------
                  ctx->enabledUris = xmlSecTransformUriTypeEmpty | xmlSecTransformUriTypeSameDocument;
  ------------------
  |  |  117|  1.60k|#define xmlSecTransformUriTypeSameDocument      0x0002
  ------------------
  606|  1.60k|    ctx->binaryChunkSize = xmlSecTransformCtxGetDefaultBinaryChunkSize();
  607|  1.60k|    ctx->maxDepth = xmlSecTransformCtxGetDefaultMaxDepth();
  608|  1.60k|    ctx->uriReadBytesLimit = xmlSecTransformCtxGetDefaultUriReadBytesLimit();
  609|  1.60k|    ctx->xpathOpsLimit = xmlSecTransformCtxGetDefaultXpathOpsLimit();
  610|       |
  611|       |    /* done */
  612|  1.60k|    return(0);
  613|  1.60k|}
xmlSecTransformCtxFinalize:
  621|  1.60k|xmlSecTransformCtxFinalize(xmlSecTransformCtxPtr ctx) {
  622|  1.60k|    xmlSecAssert(ctx != NULL);
  ------------------
  |  |  449|  1.60k|        do { \
  |  |  450|  1.60k|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (450:16): [True: 0, False: 1.60k]
  |  |  ------------------
  |  |  451|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  452|      0|                            NULL, \
  |  |  453|      0|                            #p, \
  |  |  454|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  455|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  456|      0|                return; \
  |  |  457|      0|            } \
  |  |  458|  1.60k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (458:17): [Folded, False: 1.60k]
  |  |  ------------------
  ------------------
  623|       |
  624|  1.60k|    xmlSecTransformCtxReset(ctx);
  625|  1.60k|    xmlSecPtrListFinalize(&(ctx->enabledTransforms));
  626|  1.60k|    memset(ctx, 0, sizeof(xmlSecTransformCtx));
  627|  1.60k|}
xmlSecTransformCtxReset:
  634|  1.60k|xmlSecTransformCtxReset(xmlSecTransformCtxPtr ctx) {
  635|  1.60k|    xmlSecTransformPtr transform, tmp;
  636|       |
  637|  1.60k|    xmlSecAssert(ctx != NULL);
  ------------------
  |  |  449|  1.60k|        do { \
  |  |  450|  1.60k|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (450:16): [True: 0, False: 1.60k]
  |  |  ------------------
  |  |  451|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  452|      0|                            NULL, \
  |  |  453|      0|                            #p, \
  |  |  454|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  455|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  456|      0|                return; \
  |  |  457|      0|            } \
  |  |  458|  1.60k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (458:17): [Folded, False: 1.60k]
  |  |  ------------------
  ------------------
  638|       |
  639|  1.60k|    ctx->result = NULL;
  640|  1.60k|    ctx->status = xmlSecTransformStatusNone;
  641|       |
  642|       |    /* destroy extra key data */
  643|  1.60k|    if(ctx->extraKeyData != NULL) {
  ------------------
  |  Branch (643:8): [True: 0, False: 1.60k]
  ------------------
  644|      0|        xmlSecPtrListDestroy(ctx->extraKeyData);
  645|      0|        ctx->extraKeyData = NULL;
  646|      0|    }
  647|       |
  648|       |    /* destroy uri */
  649|  1.60k|    if(ctx->uri != NULL) {
  ------------------
  |  Branch (649:8): [True: 0, False: 1.60k]
  ------------------
  650|      0|        xmlFree(ctx->uri);
  651|      0|        ctx->uri = NULL;
  652|      0|    }
  653|  1.60k|    if(ctx->xptrExpr != NULL) {
  ------------------
  |  Branch (653:8): [True: 0, False: 1.60k]
  ------------------
  654|      0|        xmlFree(ctx->xptrExpr);
  655|      0|        ctx->xptrExpr = NULL;
  656|      0|    }
  657|       |
  658|       |    /* destroy transforms chain */
  659|  1.60k|    for(transform = ctx->first; transform != NULL; transform = tmp) {
  ------------------
  |  Branch (659:33): [True: 0, False: 1.60k]
  ------------------
  660|      0|        tmp = transform->next;
  661|      0|        xmlSecTransformDestroy(transform);
  662|      0|    }
  663|  1.60k|    ctx->first = ctx->last = NULL;
  664|       |
  665|       |    /* the parent key info context belongs to the caller and must not survive a reset */
  666|       |    ctx->parentKeyInfoCtx = NULL;
  667|  1.60k|}
xmlSecTransformIdListGetKlass:
 2725|  1.60k|xmlSecTransformIdListGetKlass(void) {
 2726|  1.60k|    return(&xmlSecTransformIdListKlass);
 2727|  1.60k|}

xmlSecInit:
  169|      1|xmlSecInit(void) {
  170|       |    /* prevent double initialization */
  171|      1|    if(gXmlSecIsInitialized != 0) {
  ------------------
  |  Branch (171:8): [True: 0, False: 1]
  ------------------
  172|      0|        return(0);
  173|      0|    }
  174|       |
  175|      1|    xmlSecErrorsInit();
  176|       |
  177|      1|    if(xmlSecIOInit() < 0) {
  ------------------
  |  Branch (177:8): [True: 0, False: 1]
  ------------------
  178|      0|        xmlSecInternalError("xmlSecIOInit", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  179|      0|        return(-1);
  180|      0|    }
  181|       |
  182|       |#ifndef XMLSEC_NO_CRYPTO_DYNAMIC_LOADING
  183|       |    if(xmlSecCryptoDLInit() < 0) {
  184|       |        xmlSecInternalError("xmlSecCryptoDLInit", NULL);
  185|       |        return(-1);
  186|       |    }
  187|       |#endif /* XMLSEC_NO_CRYPTO_DYNAMIC_LOADING */
  188|       |
  189|      1|    if(xmlSecKeyDataIdsInit() < 0) {
  ------------------
  |  Branch (189:8): [True: 0, False: 1]
  ------------------
  190|      0|        xmlSecInternalError("xmlSecKeyDataIdsInit", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  191|      0|        return(-1);
  192|      0|    }
  193|       |
  194|      1|    if(xmlSecTransformIdsInit() < 0) {
  ------------------
  |  Branch (194:8): [True: 0, False: 1]
  ------------------
  195|      0|        xmlSecInternalError("xmlSecTransformIdsInit", NULL);
  ------------------
  |  |   51|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |   52|      0|                    (const char*)(errorObject),             \
  |  |   53|      0|                    (errorFunction),                        \
  |  |   54|      0|                    XMLSEC_ERRORS_R_XMLSEC_FAILED,          \
  |  |  ------------------
  |  |  |  |   33|      0|#define XMLSEC_ERRORS_R_XMLSEC_FAILED                   1
  |  |  ------------------
  |  |   55|      0|                    XMLSEC_ERRORS_NO_MESSAGE                \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |   56|      0|        )
  ------------------
  196|      0|        return(-1);
  197|      0|    }
  198|       |
  199|       |    /* save the default external entity loader: the save is done for all libxml2
  200|       |     * versions because xmlSecSetExternalEntityLoader() uses the saved value on all
  201|       |     * of them, while only the restore at shutdown (see xmlSecShutdown()) is
  202|       |     * limited to libxml2 < 2.13: that is the only case where xmlSecInit()
  203|       |     * replaces the global loader with its own XXE protection loader
  204|       |     * and so has to undo it */
  205|      1|    if(!xmlSecDefaultExternalEntityLoader) {
  ------------------
  |  Branch (205:8): [True: 1, False: 0]
  ------------------
  206|      1|        xmlSecDefaultExternalEntityLoader = xmlGetExternalEntityLoader();
  207|      1|    }
  208|       |
  209|       |    /* libxml2 >= 2.13.0 provides the XML_PARSE_NO_XXE parser option, which is
  210|       |     * included in xmlsec's default parser options mask (see src/parser.c);
  211|       |     * for older libxml2 versions the external entity loader below is used
  212|       |     * instead */
  213|       |#if LIBXML_VERSION < 21300
  214|       |    xmlSetExternalEntityLoader(xmlSecNoXxeExternalEntityLoader);
  215|       |#endif /* LIBXML_VERSION < 21300 */
  216|       |
  217|       |    /* success */
  218|      1|    gXmlSecIsInitialized = 1;
  219|      1|    return(0);
  220|      1|}
xmlSecCheckVersionExt:
  292|      2|xmlSecCheckVersionExt(int major, int minor, int subminor, xmlSecCheckVersionMode mode) {
  293|       |    /* we always want to have a match for major version number */
  294|      2|    if(major != XMLSEC_VERSION_MAJOR) {
  ------------------
  |  |   23|      2|#define XMLSEC_VERSION_MAJOR    1
  ------------------
  |  Branch (294:8): [True: 0, False: 2]
  ------------------
  295|      0|        xmlSecOtherError3(XMLSEC_ERRORS_R_INVALID_VERSION, NULL,
  ------------------
  |  |  965|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  966|      0|                    (const char*)(errorObject),             \
  |  |  967|      0|                    NULL,                                   \
  |  |  968|      0|                    (code),                                 \
  |  |  969|      0|                    (msg), (param1), (param2)               \
  |  |  970|      0|        )
  ------------------
  296|      0|                "library major version=%d;required major version=%d",
  297|      0|                XMLSEC_VERSION_MAJOR, major);
  298|      0|        return(0);
  299|      0|    }
  300|       |
  301|      2|    switch(mode) {
  302|      1|    case xmlSecCheckVersionExactMatch:
  ------------------
  |  Branch (302:5): [True: 1, False: 1]
  ------------------
  303|      1|        if((minor != XMLSEC_VERSION_MINOR) || (subminor != XMLSEC_VERSION_SUBMINOR)) {
  ------------------
  |  |   28|      1|#define XMLSEC_VERSION_MINOR    3
  ------------------
                      if((minor != XMLSEC_VERSION_MINOR) || (subminor != XMLSEC_VERSION_SUBMINOR)) {
  ------------------
  |  |   33|      1|#define XMLSEC_VERSION_SUBMINOR 14
  ------------------
  |  Branch (303:12): [True: 0, False: 1]
  |  Branch (303:47): [True: 0, False: 1]
  ------------------
  304|      0|            xmlSecOtherError5(XMLSEC_ERRORS_R_INVALID_VERSION, NULL,
  ------------------
  |  | 1002|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  | 1003|      0|                    (const char*)(errorObject),             \
  |  | 1004|      0|                    NULL,                                   \
  |  | 1005|      0|                    (code),                                 \
  |  | 1006|      0|                    (msg), (param1), (param2), (param3), (param4) \
  |  | 1007|      0|        )
  ------------------
  305|      0|                    "mode=exact;library minor version=%d;required minor version=%d;library subminor version=%d;required subminor version=%d",
  306|      0|                    XMLSEC_VERSION_MINOR, minor, XMLSEC_VERSION_SUBMINOR, subminor);
  307|      0|            return(0);
  308|      0|        }
  309|      1|        break;
  310|      1|    case xmlSecCheckVersionABICompatible:
  ------------------
  |  Branch (310:5): [True: 1, False: 1]
  ------------------
  311|      1|        if((minor < 0) || (subminor < 0)) {
  ------------------
  |  Branch (311:12): [True: 0, False: 1]
  |  Branch (311:27): [True: 0, False: 1]
  ------------------
  312|      0|            xmlSecOtherError3(XMLSEC_ERRORS_R_INVALID_VERSION, NULL,
  ------------------
  |  |  965|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  966|      0|                    (const char*)(errorObject),             \
  |  |  967|      0|                    NULL,                                   \
  |  |  968|      0|                    (code),                                 \
  |  |  969|      0|                    (msg), (param1), (param2)               \
  |  |  970|      0|        )
  ------------------
  313|      0|                    "mode=abi compatible;negative version component is not allowed;minor version=%d;subminor version=%d",
  314|      0|                    minor, subminor);
  315|      0|            return(0);
  316|      0|        }
  317|      1|        if((minor > XMLSEC_VERSION_MINOR) || ((minor == XMLSEC_VERSION_MINOR) &&
  ------------------
  |  |   28|      1|#define XMLSEC_VERSION_MINOR    3
  ------------------
                      if((minor > XMLSEC_VERSION_MINOR) || ((minor == XMLSEC_VERSION_MINOR) &&
  ------------------
  |  |   28|      1|#define XMLSEC_VERSION_MINOR    3
  ------------------
  |  Branch (317:12): [True: 0, False: 1]
  |  Branch (317:47): [True: 1, False: 0]
  ------------------
  318|      1|                (subminor > XMLSEC_VERSION_SUBMINOR))) {
  ------------------
  |  |   33|      1|#define XMLSEC_VERSION_SUBMINOR 14
  ------------------
  |  Branch (318:17): [True: 0, False: 1]
  ------------------
  319|      0|            xmlSecOtherError5(XMLSEC_ERRORS_R_INVALID_VERSION, NULL,
  ------------------
  |  | 1002|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  | 1003|      0|                    (const char*)(errorObject),             \
  |  | 1004|      0|                    NULL,                                   \
  |  | 1005|      0|                    (code),                                 \
  |  | 1006|      0|                    (msg), (param1), (param2), (param3), (param4) \
  |  | 1007|      0|        )
  ------------------
  320|      0|                    "mode=abi compatible;library minor version=%d;required minor version=%d;library subminor version=%d;required subminor version=%d",
  321|      0|                    XMLSEC_VERSION_MINOR, minor, XMLSEC_VERSION_SUBMINOR, subminor);
  322|      0|            return(0);
  323|      0|        }
  324|      1|        break;
  325|      1|    default:
  ------------------
  |  Branch (325:5): [True: 0, False: 2]
  ------------------
  326|      0|        xmlSecUnsupportedEnumValueError("mode", mode, NULL);
  ------------------
  |  |  615|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  616|      0|                    (const char*)(errorObject),             \
  |  |  617|      0|                    NULL,                                   \
  |  |  618|      0|                    XMLSEC_ERRORS_R_INVALID_TYPE,           \
  |  |  ------------------
  |  |  |  |   99|      0|#define XMLSEC_ERRORS_R_INVALID_TYPE                    14
  |  |  ------------------
  |  |  619|      0|                    "unsupported value for '%s': " XMLSEC_ENUM_FMT, \
  |  |  ------------------
  |  |  |  |   36|      0|#define XMLSEC_ENUM_FMT                      "%d"
  |  |  ------------------
  |  |  620|      0|                    xmlSecErrorsSafeString(name),           \
  |  |  ------------------
  |  |  |  |  423|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:10): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  621|      0|                    XMLSEC_ENUM_CAST(actual)                \
  |  |  ------------------
  |  |  |  |   35|      0|#define XMLSEC_ENUM_CAST(val)                ((int)(val))
  |  |  ------------------
  |  |  622|      0|        )
  ------------------
  327|      0|        return(0);
  328|      2|    }
  329|       |
  330|      2|    return(1);
  331|      2|}

xmlSecTransformXPathGetKlass:
  554|      1|xmlSecTransformXPathGetKlass(void) {
  555|      1|    return(&xmlSecTransformXPathKlass);
  556|      1|}
xmlSecTransformXPath2GetKlass:
  691|      1|xmlSecTransformXPath2GetKlass(void) {
  692|      1|    return(&xmlSecTransformXPath2Klass);
  693|      1|}
xmlSecTransformXPointerGetKlass:
  829|      1|xmlSecTransformXPointerGetKlass(void) {
  830|      1|    return(&xmlSecTransformXPointerKlass);
  831|      1|}
xmlSecTransformXPointerLegacyGetKlass:
  869|      1|xmlSecTransformXPointerLegacyGetKlass(void) {
  870|      1|    return(&xmlSecTransformXPointerLegacyKlass);
  871|      1|}

xmlSecTransformXsltInitialize:
  106|      1|int xmlSecTransformXsltInitialize(void) {
  107|      1|    xsltSecurityPrefsPtr sec;
  108|       |
  109|      1|    xmlSecAssert2(g_xslt_default_security_prefs == NULL, -1);
  ------------------
  |  |  466|      1|        do { \
  |  |  467|      1|            if(!( p ) ) { \
  |  |  ------------------
  |  |  |  Branch (467:16): [True: 0, False: 1]
  |  |  ------------------
  |  |  468|      0|                xmlSecError(XMLSEC_ERRORS_HERE, \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  469|      0|                            NULL, \
  |  |  470|      0|                            #p, \
  |  |  471|      0|                            XMLSEC_ERRORS_R_ASSERTION, \
  |  |  ------------------
  |  |  |  |  312|      0|#define XMLSEC_ERRORS_R_ASSERTION                       100
  |  |  ------------------
  |  |  472|      0|                            XMLSEC_ERRORS_NO_MESSAGE); \
  |  |  ------------------
  |  |  |  |  428|      0|#define XMLSEC_ERRORS_NO_MESSAGE                " "
  |  |  ------------------
  |  |  473|      0|                return(ret); \
  |  |  474|      0|            } \
  |  |  475|      1|        } while(0)
  |  |  ------------------
  |  |  |  Branch (475:17): [Folded, False: 1]
  |  |  ------------------
  ------------------
  110|       |
  111|      1|    sec = xsltNewSecurityPrefs();
  112|      1|    if(sec == NULL) {
  ------------------
  |  Branch (112:8): [True: 0, False: 1]
  ------------------
  113|      0|        xmlSecXsltError("xsltNewSecurityPrefs", NULL);
  ------------------
  |  |  259|      0|    do {                                                    \
  |  |  260|      0|        const xmlError * _xmlsec_error = xmlGetLastError(); \
  |  |  261|      0|        int _xmlsec_code = (_xmlsec_error != NULL) ? _xmlsec_error->code : 0; \
  |  |  ------------------
  |  |  |  Branch (261:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  262|      0|        const char* _xmlsec_message = (_xmlsec_error != NULL) ? _xmlsec_error->message : NULL; \
  |  |  ------------------
  |  |  |  Branch (262:39): [True: 0, False: 0]
  |  |  ------------------
  |  |  263|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  264|      0|                   (const char*)(errorObject),              \
  |  |  265|      0|                   (errorFunction),                         \
  |  |  266|      0|                   XMLSEC_ERRORS_R_XSLT_FAILED,             \
  |  |  ------------------
  |  |  |  |   58|      0|#define XMLSEC_ERRORS_R_XSLT_FAILED                     6
  |  |  ------------------
  |  |  267|      0|                   "xslt error: %d: %s",                    \
  |  |  268|      0|                   _xmlsec_code,                            \
  |  |  269|      0|                   xmlSecErrorsSafeString(_xmlsec_message)  \
  |  |  ------------------
  |  |  |  |  423|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:10): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  270|      0|        );                                                  \
  |  |  271|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (271:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  114|      0|        return(-1);
  115|      0|    }
  116|      1|    if((xsltSetSecurityPrefs(sec, XSLT_SECPREF_READ_FILE, xsltSecurityForbid) < 0) ||
  ------------------
  |  Branch (116:8): [True: 0, False: 1]
  ------------------
  117|      1|       (xsltSetSecurityPrefs(sec, XSLT_SECPREF_WRITE_FILE, xsltSecurityForbid) < 0) ||
  ------------------
  |  Branch (117:8): [True: 0, False: 1]
  ------------------
  118|      1|       (xsltSetSecurityPrefs(sec, XSLT_SECPREF_CREATE_DIRECTORY, xsltSecurityForbid) < 0) ||
  ------------------
  |  Branch (118:8): [True: 0, False: 1]
  ------------------
  119|      1|       (xsltSetSecurityPrefs(sec, XSLT_SECPREF_READ_NETWORK, xsltSecurityForbid) < 0) ||
  ------------------
  |  Branch (119:8): [True: 0, False: 1]
  ------------------
  120|      1|       (xsltSetSecurityPrefs(sec, XSLT_SECPREF_WRITE_NETWORK, xsltSecurityForbid) < 0)
  ------------------
  |  Branch (120:8): [True: 0, False: 1]
  ------------------
  121|      1|    ) {
  122|      0|        xmlSecXsltError("xsltSetSecurityPrefs", NULL);
  ------------------
  |  |  259|      0|    do {                                                    \
  |  |  260|      0|        const xmlError * _xmlsec_error = xmlGetLastError(); \
  |  |  261|      0|        int _xmlsec_code = (_xmlsec_error != NULL) ? _xmlsec_error->code : 0; \
  |  |  ------------------
  |  |  |  Branch (261:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  262|      0|        const char* _xmlsec_message = (_xmlsec_error != NULL) ? _xmlsec_error->message : NULL; \
  |  |  ------------------
  |  |  |  Branch (262:39): [True: 0, False: 0]
  |  |  ------------------
  |  |  263|      0|        xmlSecError(XMLSEC_ERRORS_HERE,                     \
  |  |  ------------------
  |  |  |  |  407|      0|#define XMLSEC_ERRORS_HERE                      __FILE__,__LINE__,XMLSEC_FUNCTION
  |  |  ------------------
  |  |  264|      0|                   (const char*)(errorObject),              \
  |  |  265|      0|                   (errorFunction),                         \
  |  |  266|      0|                   XMLSEC_ERRORS_R_XSLT_FAILED,             \
  |  |  ------------------
  |  |  |  |   58|      0|#define XMLSEC_ERRORS_R_XSLT_FAILED                     6
  |  |  ------------------
  |  |  267|      0|                   "xslt error: %d: %s",                    \
  |  |  268|      0|                   _xmlsec_code,                            \
  |  |  269|      0|                   xmlSecErrorsSafeString(_xmlsec_message)  \
  |  |  ------------------
  |  |  |  |  423|      0|        (((str) != NULL) ? ((const char*)(str)) : (const char*)"NULL")
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (423:10): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  270|      0|        );                                                  \
  |  |  271|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (271:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  123|      0|        xsltFreeSecurityPrefs(sec);
  124|      0|        return(-1);
  125|      0|    }
  126|      1|    g_xslt_default_security_prefs = sec;
  127|       |
  128|      1|    g_xslt_saved_default_security_prefs = xsltGetDefaultSecurityPrefs();
  129|      1|    xsltSetDefaultSecurityPrefs(g_xslt_default_security_prefs);
  130|      1|    return(0);
  131|      1|}
xmlSecTransformXsltGetKlass:
  217|      1|xmlSecTransformXsltGetKlass(void) {
  218|      1|    return(&xmlSecXsltKlass);
  219|      1|}

