engines/e_4758cca.c:552: error: NULL_DEREFERENCE
  pointer `rtmp` last assigned on line 551 could be null and is dereferenced by call to `RSA_set_ex_data()` at line 552, column 2.
Showing all 99 steps of the trace


engines/e_4758cca.c:492:1: start of procedure ibm_4758_load_pubkey()
490.   	}
491.   
492. > static EVP_PKEY *ibm_4758_load_pubkey(ENGINE* e, const char* key_id,
493.   			UI_METHOD *ui_method, void *callback_data)
494.   	{

engines/e_4758cca.c:495:2: 
493.   			UI_METHOD *ui_method, void *callback_data)
494.   	{
495. > 	RSA *rtmp = NULL;
496.   	EVP_PKEY *res = NULL;
497.   	unsigned char* keyToken = NULL;

engines/e_4758cca.c:496:2: 
494.   	{
495.   	RSA *rtmp = NULL;
496. > 	EVP_PKEY *res = NULL;
497.   	unsigned char* keyToken = NULL;
498.   	long keyTokenLength = MAX_CCA_PKA_TOKEN_SIZE;

engines/e_4758cca.c:497:2: 
495.   	RSA *rtmp = NULL;
496.   	EVP_PKEY *res = NULL;
497. > 	unsigned char* keyToken = NULL;
498.   	long keyTokenLength = MAX_CCA_PKA_TOKEN_SIZE;
499.   	long returnCode;

engines/e_4758cca.c:498:2: 
496.   	EVP_PKEY *res = NULL;
497.   	unsigned char* keyToken = NULL;
498. > 	long keyTokenLength = MAX_CCA_PKA_TOKEN_SIZE;
499.   	long returnCode;
500.   	long reasonCode;

engines/e_4758cca.c:501:2: 
499.   	long returnCode;
500.   	long reasonCode;
501. > 	long exitDataLength = 0;
502.   	long ruleArrayLength = 0;
503.   	unsigned char exitData[8];

engines/e_4758cca.c:502:2: 
500.   	long reasonCode;
501.   	long exitDataLength = 0;
502. > 	long ruleArrayLength = 0;
503.   	unsigned char exitData[8];
504.   	unsigned char ruleArray[8];

engines/e_4758cca.c:506:2: 
504.   	unsigned char ruleArray[8];
505.   	unsigned char keyLabel[64];
506. > 	unsigned long keyLabelLength = strlen(key_id);
507.   	unsigned char modulus[512];
508.   	long modulusFieldLength = sizeof(modulus);

engines/e_4758cca.c:508:2: 
506.   	unsigned long keyLabelLength = strlen(key_id);
507.   	unsigned char modulus[512];
508. > 	long modulusFieldLength = sizeof(modulus);
509.   	long modulusLength = 0;
510.   	unsigned char exponent[512];

engines/e_4758cca.c:509:2: 
507.   	unsigned char modulus[512];
508.   	long modulusFieldLength = sizeof(modulus);
509. > 	long modulusLength = 0;
510.   	unsigned char exponent[512];
511.   	long exponentLength = sizeof(exponent);

engines/e_4758cca.c:511:2: 
509.   	long modulusLength = 0;
510.   	unsigned char exponent[512];
511. > 	long exponentLength = sizeof(exponent);
512.   
513.   	if (keyLabelLength > sizeof(keyLabel))

engines/e_4758cca.c:513:6: Taking false branch
511.   	long exponentLength = sizeof(exponent);
512.   
513.   	if (keyLabelLength > sizeof(keyLabel))
            ^
514.   		{
515.   		CCA4758err(CCA4758_F_IBM_4758_LOAD_PUBKEY,

engines/e_4758cca.c:520:2: 
518.   		}
519.   
520. > 	memset(keyLabel,' ', sizeof(keyLabel));
521.   	memcpy(keyLabel, key_id, keyLabelLength);
522.   

engines/e_4758cca.c:521:2: 
519.   
520.   	memset(keyLabel,' ', sizeof(keyLabel));
521. > 	memcpy(keyLabel, key_id, keyLabelLength);
522.   
523.   	keyToken = OPENSSL_malloc(MAX_CCA_PKA_TOKEN_SIZE + sizeof(long));

engines/e_4758cca.c:523:2: 
521.   	memcpy(keyLabel, key_id, keyLabelLength);
522.   
523. > 	keyToken = OPENSSL_malloc(MAX_CCA_PKA_TOKEN_SIZE + sizeof(long));
524.   	if (!keyToken)
525.   		{

crypto/mem.c:291:1: start of procedure CRYPTO_malloc()
  289.   	}
  290.   
  291. > void *CRYPTO_malloc(int num, const char *file, int line)
  292.   	{
  293.   	void *ret = NULL;

crypto/mem.c:293:2: 
  291.   void *CRYPTO_malloc(int num, const char *file, int line)
  292.   	{
  293. > 	void *ret = NULL;
  294.   	extern unsigned char cleanse_ctr;
  295.   

crypto/mem.c:296:6: Taking false branch
  294.   	extern unsigned char cleanse_ctr;
  295.   
  296.   	if (num <= 0) return NULL;
              ^
  297.   
  298.   	allow_customize = 0;

crypto/mem.c:298:2: 
  296.   	if (num <= 0) return NULL;
  297.   
  298. > 	allow_customize = 0;
  299.   	if (malloc_debug_func != NULL)
  300.   		{

crypto/mem.c:299:6: Taking true branch
  297.   
  298.   	allow_customize = 0;
  299.   	if (malloc_debug_func != NULL)
              ^
  300.   		{
  301.   		allow_customize_debug = 0;

crypto/mem.c:301:3: 
  299.   	if (malloc_debug_func != NULL)
  300.   		{
  301. > 		allow_customize_debug = 0;
  302.   		malloc_debug_func(NULL, num, file, line, 0);
  303.   		}

crypto/mem.c:302:3: Skipping __function_pointer__(): unresolved function pointer
  300.   		{
  301.   		allow_customize_debug = 0;
  302.   		malloc_debug_func(NULL, num, file, line, 0);
           ^
  303.   		}
  304.   	ret = malloc_ex_func(num,file,line);

crypto/mem.c:304:2: Skipping __function_pointer__(): unresolved function pointer
  302.   		malloc_debug_func(NULL, num, file, line, 0);
  303.   		}
  304.   	ret = malloc_ex_func(num,file,line);
          ^
  305.   #ifdef LEVITTE_DEBUG_MEM
  306.   	fprintf(stderr, "LEVITTE_DEBUG_MEM:         > 0x%p (%d)\n", ret, num);

crypto/mem.c:308:6: Taking true branch
  306.   	fprintf(stderr, "LEVITTE_DEBUG_MEM:         > 0x%p (%d)\n", ret, num);
  307.   #endif
  308.   	if (malloc_debug_func != NULL)
              ^
  309.   		malloc_debug_func(ret, num, file, line, 1);
  310.   

crypto/mem.c:309:3: Skipping __function_pointer__(): unresolved function pointer
  307.   #endif
  308.   	if (malloc_debug_func != NULL)
  309.   		malloc_debug_func(ret, num, file, line, 1);
           ^
  310.   
  311.           /* Create a dependency on the value of 'cleanse_ctr' so our memory

crypto/mem.c:314:12: Taking true branch
  312.            * sanitisation function can't be optimised out. NB: We only do
  313.            * this for >2Kb so the overhead doesn't bother us. */
  314.           if(ret && (num > 2048))
                    ^
  315.                   ((unsigned char *)ret)[0] = cleanse_ctr;
  316.   

crypto/mem.c:314:20: Taking true branch
  312.            * sanitisation function can't be optimised out. NB: We only do
  313.            * this for >2Kb so the overhead doesn't bother us. */
  314.           if(ret && (num > 2048))
                            ^
  315.                   ((unsigned char *)ret)[0] = cleanse_ctr;
  316.   

crypto/mem.c:315:17: 
  313.            * this for >2Kb so the overhead doesn't bother us. */
  314.           if(ret && (num > 2048))
  315. >                 ((unsigned char *)ret)[0] = cleanse_ctr;
  316.   
  317.   	return ret;

crypto/mem.c:317:2: 
  315.                   ((unsigned char *)ret)[0] = cleanse_ctr;
  316.   
  317. > 	return ret;
  318.   	}
  319.   

crypto/mem.c:318:2: return from a call to CRYPTO_malloc
  316.   
  317.   	return ret;
  318.   	}
          ^
  319.   
  320.   void *CRYPTO_realloc(void *str, int num, const char *file, int line)

engines/e_4758cca.c:524:7: Taking false branch
522.   
523.   	keyToken = OPENSSL_malloc(MAX_CCA_PKA_TOKEN_SIZE + sizeof(long));
524.   	if (!keyToken)
             ^
525.   		{
526.   		CCA4758err(CCA4758_F_IBM_4758_LOAD_PUBKEY,

engines/e_4758cca.c:531:2: Skipping __function_pointer__(): unresolved function pointer
529.   		}
530.   
531.   	keyRecordRead(&returnCode, &reasonCode, &exitDataLength, exitData,
        ^
532.   		&ruleArrayLength, ruleArray, keyLabel, &keyTokenLength,
533.   		keyToken+sizeof(long));

engines/e_4758cca.c:535:6: Taking false branch
533.   		keyToken+sizeof(long));
534.   
535.   	if (returnCode)
            ^
536.   		{
537.   		CCA4758err(CCA4758_F_IBM_4758_LOAD_PUBKEY,

engines/e_4758cca.c:542:7: 
540.   		}
541.   
542. > 	if (!getModulusAndExponent(keyToken+sizeof(long), &exponentLength,
543.   			exponent, &modulusLength, &modulusFieldLength, modulus))
544.   		{

engines/e_4758cca.c:874:1: start of procedure getModulusAndExponent()
  872.   	}
  873.   
  874. > static int getModulusAndExponent(const unsigned char*token, long *exponentLength,
  875.   		unsigned char *exponent, long *modulusLength, long *modulusFieldLength,
  876.   		unsigned char *modulus)

engines/e_4758cca.c:880:6: Taking false branch
  878.   	unsigned long len;
  879.   
  880.   	if (*token++ != (char)0x1E) /* internal PKA token? */
              ^
  881.   		return 0;
  882.   

engines/e_4758cca.c:883:6: Taking false branch
  881.   		return 0;
  882.   
  883.   	if (*token++) /* token version must be zero */
              ^
  884.   		return 0;
  885.   

engines/e_4758cca.c:886:2: 
  884.   		return 0;
  885.   
  886. > 	len = *token++;
  887.   	len = len << 8;
  888.   	len |= (unsigned char)*token++;

engines/e_4758cca.c:887:2: 
  885.   
  886.   	len = *token++;
  887. > 	len = len << 8;
  888.   	len |= (unsigned char)*token++;
  889.   

engines/e_4758cca.c:888:2: 
  886.   	len = *token++;
  887.   	len = len << 8;
  888. > 	len |= (unsigned char)*token++;
  889.   
  890.   	token += 4; /* skip reserved bytes */

engines/e_4758cca.c:890:2: 
  888.   	len |= (unsigned char)*token++;
  889.   
  890. > 	token += 4; /* skip reserved bytes */
  891.   
  892.   	if (*token++ == (char)0x04)

engines/e_4758cca.c:892:6: Taking true branch
  890.   	token += 4; /* skip reserved bytes */
  891.   
  892.   	if (*token++ == (char)0x04)
              ^
  893.   		{
  894.   		if (*token++) /* token version must be zero */

engines/e_4758cca.c:894:7: Taking false branch
  892.   	if (*token++ == (char)0x04)
  893.   		{
  894.   		if (*token++) /* token version must be zero */
               ^
  895.   			return 0;
  896.   

engines/e_4758cca.c:897:3: 
  895.   			return 0;
  896.   
  897. > 		len = *token++;
  898.   		len = len << 8;
  899.   		len |= (unsigned char)*token++;

engines/e_4758cca.c:898:3: 
  896.   
  897.   		len = *token++;
  898. > 		len = len << 8;
  899.   		len |= (unsigned char)*token++;
  900.   

engines/e_4758cca.c:899:3: 
  897.   		len = *token++;
  898.   		len = len << 8;
  899. > 		len |= (unsigned char)*token++;
  900.   
  901.   		token+=2; /* skip reserved section */

engines/e_4758cca.c:901:3: 
  899.   		len |= (unsigned char)*token++;
  900.   
  901. > 		token+=2; /* skip reserved section */
  902.   
  903.   		len = *token++;

engines/e_4758cca.c:903:3: 
  901.   		token+=2; /* skip reserved section */
  902.   
  903. > 		len = *token++;
  904.   		len = len << 8;
  905.   		len |= (unsigned char)*token++;

engines/e_4758cca.c:904:3: 
  902.   
  903.   		len = *token++;
  904. > 		len = len << 8;
  905.   		len |= (unsigned char)*token++;
  906.   

engines/e_4758cca.c:905:3: 
  903.   		len = *token++;
  904.   		len = len << 8;
  905. > 		len |= (unsigned char)*token++;
  906.   
  907.   		*exponentLength = len;

engines/e_4758cca.c:907:3: 
  905.   		len |= (unsigned char)*token++;
  906.   
  907. > 		*exponentLength = len;
  908.   
  909.   		len = *token++;

engines/e_4758cca.c:909:3: 
  907.   		*exponentLength = len;
  908.   
  909. > 		len = *token++;
  910.   		len = len << 8;
  911.   		len |= (unsigned char)*token++;

engines/e_4758cca.c:910:3: 
  908.   
  909.   		len = *token++;
  910. > 		len = len << 8;
  911.   		len |= (unsigned char)*token++;
  912.   

engines/e_4758cca.c:911:3: 
  909.   		len = *token++;
  910.   		len = len << 8;
  911. > 		len |= (unsigned char)*token++;
  912.   
  913.   		*modulusLength = len;

engines/e_4758cca.c:913:3: 
  911.   		len |= (unsigned char)*token++;
  912.   
  913. > 		*modulusLength = len;
  914.   
  915.   		len = *token++;

engines/e_4758cca.c:915:3: 
  913.   		*modulusLength = len;
  914.   
  915. > 		len = *token++;
  916.   		len = len << 8;
  917.   		len |= (unsigned char)*token++;

engines/e_4758cca.c:916:3: 
  914.   
  915.   		len = *token++;
  916. > 		len = len << 8;
  917.   		len |= (unsigned char)*token++;
  918.   

engines/e_4758cca.c:917:3: 
  915.   		len = *token++;
  916.   		len = len << 8;
  917. > 		len |= (unsigned char)*token++;
  918.   
  919.   		*modulusFieldLength = len;

engines/e_4758cca.c:919:3: 
  917.   		len |= (unsigned char)*token++;
  918.   
  919. > 		*modulusFieldLength = len;
  920.   
  921.   		memcpy(exponent, token, *exponentLength);

engines/e_4758cca.c:921:3: 
  919.   		*modulusFieldLength = len;
  920.   
  921. > 		memcpy(exponent, token, *exponentLength);
  922.   		token+= *exponentLength;
  923.   

engines/e_4758cca.c:922:3: 
  920.   
  921.   		memcpy(exponent, token, *exponentLength);
  922. > 		token+= *exponentLength;
  923.   
  924.   		memcpy(modulus, token, *modulusFieldLength);

engines/e_4758cca.c:924:3: 
  922.   		token+= *exponentLength;
  923.   
  924. > 		memcpy(modulus, token, *modulusFieldLength);
  925.   		return 1;
  926.   		}

engines/e_4758cca.c:925:3: 
  923.   
  924.   		memcpy(modulus, token, *modulusFieldLength);
  925. > 		return 1;
  926.   		}
  927.   	return 0;

engines/e_4758cca.c:928:2: return from a call to getModulusAndExponent
  926.   		}
  927.   	return 0;
  928.   	}
          ^
  929.   
  930.   #endif /* OPENSSL_NO_RSA */

engines/e_4758cca.c:542:7: Taking false branch
540.   		}
541.   
542.   	if (!getModulusAndExponent(keyToken+sizeof(long), &exponentLength,
             ^
543.   			exponent, &modulusLength, &modulusFieldLength, modulus))
544.   		{

engines/e_4758cca.c:550:2: 
548.   		}
549.   
550. > 	(*(long*)keyToken) = keyTokenLength;
551.   	rtmp = RSA_new_method(e);
552.   	RSA_set_ex_data(rtmp, hndidx, (char *)keyToken);

engines/e_4758cca.c:551:2: 
549.   
550.   	(*(long*)keyToken) = keyTokenLength;
551. > 	rtmp = RSA_new_method(e);
552.   	RSA_set_ex_data(rtmp, hndidx, (char *)keyToken);
553.   	rtmp->e = BN_bin2bn(exponent, exponentLength, NULL);

crypto/rsa/rsa_lib.c:128:1: start of procedure RSA_new_method()
  126.   	}
  127.   
  128. > RSA *RSA_new_method(ENGINE *engine)
  129.   	{
  130.   	RSA *ret;

crypto/rsa/rsa_lib.c:132:2: 
  130.   	RSA *ret;
  131.   
  132. > 	ret=(RSA *)OPENSSL_malloc(sizeof(RSA));
  133.   	if (ret == NULL)
  134.   		{

crypto/mem.c:291:1: start of procedure CRYPTO_malloc()
    289.   	}
    290.   
    291. > void *CRYPTO_malloc(int num, const char *file, int line)
    292.   	{
    293.   	void *ret = NULL;

crypto/mem.c:293:2: 
    291.   void *CRYPTO_malloc(int num, const char *file, int line)
    292.   	{
    293. > 	void *ret = NULL;
    294.   	extern unsigned char cleanse_ctr;
    295.   

crypto/mem.c:296:6: Taking false branch
    294.   	extern unsigned char cleanse_ctr;
    295.   
    296.   	if (num <= 0) return NULL;
                ^
    297.   
    298.   	allow_customize = 0;

crypto/mem.c:298:2: 
    296.   	if (num <= 0) return NULL;
    297.   
    298. > 	allow_customize = 0;
    299.   	if (malloc_debug_func != NULL)
    300.   		{

crypto/mem.c:299:6: Taking true branch
    297.   
    298.   	allow_customize = 0;
    299.   	if (malloc_debug_func != NULL)
                ^
    300.   		{
    301.   		allow_customize_debug = 0;

crypto/mem.c:301:3: 
    299.   	if (malloc_debug_func != NULL)
    300.   		{
    301. > 		allow_customize_debug = 0;
    302.   		malloc_debug_func(NULL, num, file, line, 0);
    303.   		}

crypto/mem.c:302:3: Skipping __function_pointer__(): unresolved function pointer
    300.   		{
    301.   		allow_customize_debug = 0;
    302.   		malloc_debug_func(NULL, num, file, line, 0);
             ^
    303.   		}
    304.   	ret = malloc_ex_func(num,file,line);

crypto/mem.c:304:2: Skipping __function_pointer__(): unresolved function pointer
    302.   		malloc_debug_func(NULL, num, file, line, 0);
    303.   		}
    304.   	ret = malloc_ex_func(num,file,line);
            ^
    305.   #ifdef LEVITTE_DEBUG_MEM
    306.   	fprintf(stderr, "LEVITTE_DEBUG_MEM:         > 0x%p (%d)\n", ret, num);

crypto/mem.c:308:6: Taking true branch
    306.   	fprintf(stderr, "LEVITTE_DEBUG_MEM:         > 0x%p (%d)\n", ret, num);
    307.   #endif
    308.   	if (malloc_debug_func != NULL)
                ^
    309.   		malloc_debug_func(ret, num, file, line, 1);
    310.   

crypto/mem.c:309:3: Skipping __function_pointer__(): unresolved function pointer
    307.   #endif
    308.   	if (malloc_debug_func != NULL)
    309.   		malloc_debug_func(ret, num, file, line, 1);
             ^
    310.   
    311.           /* Create a dependency on the value of 'cleanse_ctr' so our memory

crypto/mem.c:314:12: Taking false branch
    312.            * sanitisation function can't be optimised out. NB: We only do
    313.            * this for >2Kb so the overhead doesn't bother us. */
    314.           if(ret && (num > 2048))
                      ^
    315.                   ((unsigned char *)ret)[0] = cleanse_ctr;
    316.   

crypto/mem.c:317:2: 
    315.                   ((unsigned char *)ret)[0] = cleanse_ctr;
    316.   
    317. > 	return ret;
    318.   	}
    319.   

crypto/mem.c:318:2: return from a call to CRYPTO_malloc
    316.   
    317.   	return ret;
    318.   	}
            ^
    319.   
    320.   void *CRYPTO_realloc(void *str, int num, const char *file, int line)

crypto/rsa/rsa_lib.c:133:6: Taking true branch
  131.   
  132.   	ret=(RSA *)OPENSSL_malloc(sizeof(RSA));
  133.   	if (ret == NULL)
              ^
  134.   		{
  135.   		RSAerr(RSA_F_RSA_NEW_METHOD,ERR_R_MALLOC_FAILURE);

crypto/rsa/rsa_lib.c:135:3: 
  133.   	if (ret == NULL)
  134.   		{
  135. > 		RSAerr(RSA_F_RSA_NEW_METHOD,ERR_R_MALLOC_FAILURE);
  136.   		return NULL;
  137.   		}

crypto/err/err.c:666:1: start of procedure ERR_put_error()
    664.   /********************************************************/
    665.   
    666. > void ERR_put_error(int lib, int func, int reason, const char *file,
    667.   	     int line)
    668.   	{

crypto/err/err.c:690:2: Skipping ERR_get_state(): empty list of specs
    688.   	}
    689.   #endif
    690.   	es=ERR_get_state();
            ^
    691.   
    692.   	es->top=(es->top+1)%ERR_NUM_ERRORS;

crypto/err/err.c:692:2: 
    690.   	es=ERR_get_state();
    691.   
    692. > 	es->top=(es->top+1)%ERR_NUM_ERRORS;
    693.   	if (es->top == es->bottom)
    694.   		es->bottom=(es->bottom+1)%ERR_NUM_ERRORS;

crypto/err/err.c:693:6: Taking false branch
    691.   
    692.   	es->top=(es->top+1)%ERR_NUM_ERRORS;
    693.   	if (es->top == es->bottom)
                ^
    694.   		es->bottom=(es->bottom+1)%ERR_NUM_ERRORS;
    695.   	es->err_flags[es->top]=0;

crypto/err/err.c:695:2: 
    693.   	if (es->top == es->bottom)
    694.   		es->bottom=(es->bottom+1)%ERR_NUM_ERRORS;
    695. > 	es->err_flags[es->top]=0;
    696.   	es->err_buffer[es->top]=ERR_PACK(lib,func,reason);
    697.   	es->err_file[es->top]=file;

crypto/err/err.c:696:2: 
    694.   		es->bottom=(es->bottom+1)%ERR_NUM_ERRORS;
    695.   	es->err_flags[es->top]=0;
    696. > 	es->err_buffer[es->top]=ERR_PACK(lib,func,reason);
    697.   	es->err_file[es->top]=file;
    698.   	es->err_line[es->top]=line;

crypto/err/err.c:697:2: 
    695.   	es->err_flags[es->top]=0;
    696.   	es->err_buffer[es->top]=ERR_PACK(lib,func,reason);
    697. > 	es->err_file[es->top]=file;
    698.   	es->err_line[es->top]=line;
    699.   	err_clear_data(es,es->top);

crypto/err/err.c:698:2: 
    696.   	es->err_buffer[es->top]=ERR_PACK(lib,func,reason);
    697.   	es->err_file[es->top]=file;
    698. > 	es->err_line[es->top]=line;
    699.   	err_clear_data(es,es->top);
    700.   	}

crypto/err/err.c:699:2: Taking true branch
    697.   	es->err_file[es->top]=file;
    698.   	es->err_line[es->top]=line;
    699.   	err_clear_data(es,es->top);
            ^
    700.   	}
    701.   

crypto/err/err.c:699:2: Taking false branch
    697.   	es->err_file[es->top]=file;
    698.   	es->err_line[es->top]=line;
    699.   	err_clear_data(es,es->top);
            ^
    700.   	}
    701.   

crypto/err/err.c:699:2: Loop condition is false. Leaving loop
    697.   	es->err_file[es->top]=file;
    698.   	es->err_line[es->top]=line;
    699.   	err_clear_data(es,es->top);
            ^
    700.   	}
    701.   

crypto/err/err.c:700:2: return from a call to ERR_put_error
    698.   	es->err_line[es->top]=line;
    699.   	err_clear_data(es,es->top);
    700.   	}
            ^
    701.   
    702.   void ERR_clear_error(void)

crypto/rsa/rsa_lib.c:136:3: 
  134.   		{
  135.   		RSAerr(RSA_F_RSA_NEW_METHOD,ERR_R_MALLOC_FAILURE);
  136. > 		return NULL;
  137.   		}
  138.   

crypto/rsa/rsa_lib.c:197:2: return from a call to RSA_new_method
  195.   		}
  196.   	return(ret);
  197.   	}
          ^
  198.   
  199.   void RSA_free(RSA *r)

engines/e_4758cca.c:552:2: 
550.   	(*(long*)keyToken) = keyTokenLength;
551.   	rtmp = RSA_new_method(e);
552. > 	RSA_set_ex_data(rtmp, hndidx, (char *)keyToken);
553.   	rtmp->e = BN_bin2bn(exponent, exponentLength, NULL);
554.   	rtmp->n = BN_bin2bn(modulus, modulusFieldLength, NULL);
