summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/asn1/a_int.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/libcrypto/asn1/a_int.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/asn1/a_int.c b/src/lib/libcrypto/asn1/a_int.c
index ef47eb106b..05776f572c 100644
--- a/src/lib/libcrypto/asn1/a_int.c
+++ b/src/lib/libcrypto/asn1/a_int.c
@@ -175,7 +175,7 @@ i2c_ASN1_INTEGER(ASN1_INTEGER *a, unsigned char **pp)
175 *(p--) = ((*(n--)) ^ 0xff) + 1; 175 *(p--) = ((*(n--)) ^ 0xff) + 1;
176 i--; 176 i--;
177 /* Complement any octets left */ 177 /* Complement any octets left */
178 for(; i > 0; i--) 178 for (; i > 0; i--)
179 *(p--) = *(n--) ^ 0xff; 179 *(p--) = *(n--) ^ 0xff;
180 } 180 }
181 181
@@ -244,7 +244,7 @@ c2i_ASN1_INTEGER(ASN1_INTEGER **a, const unsigned char **pp, long len)
244 } else { 244 } else {
245 *(to--) = (*(p--) ^ 0xff) + 1; 245 *(to--) = (*(p--) ^ 0xff) + 1;
246 i--; 246 i--;
247 for(; i > 0; i--) 247 for (; i > 0; i--)
248 *(to--) = *(p--) ^ 0xff; 248 *(to--) = *(p--) ^ 0xff;
249 } 249 }
250 } else { 250 } else {