commit
						7c2cc079ec
					
				| @ -115,7 +115,7 @@ int adler32_test(void) | ||||
|    adler32_state ctx; | ||||
|    adler32_init(&ctx); | ||||
|    adler32_update(&ctx, in, strlen(in)); | ||||
|    adler32_finish(&ctx, &out, 4); | ||||
|    adler32_finish(&ctx, out, 4); | ||||
|    if (XMEMCMP(adler32, out, 4)) { | ||||
| #ifdef LTC_TEST_DBG | ||||
|       ulong32 _out, _adler32; | ||||
|  | ||||
| @ -108,7 +108,7 @@ int ecc_import_ex(const unsigned char *in, unsigned long inlen, ecc_key *key, co | ||||
| 
 | ||||
|    /* find out what type of key it is */ | ||||
|    if ((err = der_decode_sequence_multi(in, inlen, | ||||
|                                   LTC_ASN1_BIT_STRING, 1UL, &flags, | ||||
|                                   LTC_ASN1_BIT_STRING, 1UL, flags, | ||||
|                                   LTC_ASN1_EOL,        0UL, NULL)) != CRYPT_OK) { | ||||
|       goto done; | ||||
|    } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user