Suspicious use of & (part 2)
This commit is contained in:
parent
824f3af98c
commit
4349993ad3
@ -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…
Reference in New Issue
Block a user