Merge pull request #6340 from SparkiDev/minor_fixes_1

Minor fixes
pull/6350/head
JacobBarthelmeh 2023-04-27 10:02:06 -06:00 committed by GitHub
commit bbad64649b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -9065,7 +9065,7 @@ int EncryptContent(byte* input, word32 inputSz, byte* out, word32* outSz,
int ret = 0;
int sz = 0;
int version;
int id;
int id = -1;
int blockSz = 0;
word32 pkcs8Sz = 0;

View File

@ -274,7 +274,7 @@ while (0)
int n##ii; \
(n)[0] = (sp_int*)n##d; \
((sp_int_minimal*)(n)[0])->size = (s); \
for (n##ii = 1; n##ii < (c); n##ii++) { \
for (n##ii = 1; n##ii < (int)(c); n##ii++) { \
(n)[n##ii] = MP_INT_NEXT((n)[n##ii-1], s); \
((sp_int_minimal*)(n)[n##ii])->size = (s); \
} \
@ -292,7 +292,7 @@ while (0)
} \
if ((err) == MP_OKAY) { \
int n##ii; \
for (n##ii = 0; n##ii < (c); n##ii++) { \
for (n##ii = 0; n##ii < (int)(c); n##ii++) { \
(n)[n##ii] = &n##d[n##ii]; \
(n)[n##ii]->size = (s); \
} \