1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-27 20:41:58 +03:00

Merge recent trunk enhancements into the ota-update branch.

FossilOrigin-Name: 5489cb68921f62f10d832adbc4d19ea8c6c5da50
This commit is contained in:
drh
2015-03-09 13:24:46 +00:00
53 changed files with 1234 additions and 358 deletions

View File

@ -3429,7 +3429,7 @@ static void MD5DigestToBase10x8(unsigned char digest[16], char zDigest[50]){
for(i=j=0; i<16; i+=2){
x = digest[i]*256 + digest[i+1];
if( i>0 ) zDigest[j++] = '-';
sqlite3_snprintf(16-j, &zDigest[j], "%05u", x);
sqlite3_snprintf(50-j, &zDigest[j], "%05u", x);
j += 5;
}
zDigest[j] = 0;