(add1): joda-fix

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6297 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1999-06-04 19:56:58 +00:00
parent 294d53ad0c
commit f1d99aa1e9

View File

@@ -87,7 +87,7 @@ add1(unsigned char *a, unsigned char *b, size_t len)
for(i = len - 1; carry && i >= 0; i--){
int x = a[i] + carry;
carry = x > 0xff;
a[i] = carry & 0xff;
a[i] = x & 0xff;
}
}