Ignore:
Timestamp:
Dec 9, 2011, 6:11:09 PM (14 years ago)
Author:
dmik
Message:

Port CRYPT32 to GCC/kBuild.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gcc-kmk/src/crypt32/decode.c

    r21720 r21872  
    12321232            const BYTE *ptr;
    12331233
    1234             snprintf(firstTwo, sizeof(firstTwo), "%d.%d",
     1234            crypt32_snprintf(firstTwo, sizeof(firstTwo), "%d.%d",
    12351235             pbEncoded[1 + lenBytes] / 40,
    12361236             pbEncoded[1 + lenBytes] - (pbEncoded[1 + lenBytes] / 40)
     
    12611261                    val <<= 7;
    12621262                    val |= *ptr++;
    1263                     snprintf(str, sizeof(str), ".%d", val);
     1263                    crypt32_snprintf(str, sizeof(str), ".%d", val);
    12641264                    bytesNeeded += strlen(str);
    12651265                }
Note: See TracChangeset for help on using the changeset viewer.