summaryrefslogtreecommitdiffstats
path: root/crypto/asn1/t_x509.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2015-01-21 13:19:08 +0100
committerMatt Caswell <matt@openssl.org>2015-01-22 10:20:08 +0100
commitb853717fc42e52dece0e362f49fb783e698ef320 (patch)
treeb19c7b0a97d83fcda6b90919937654fcb54faf02 /crypto/asn1/t_x509.c
parentmodes/modes_lcl.h: make it indent-friendly. (diff)
downloadopenssl-b853717fc42e52dece0e362f49fb783e698ef320.tar.xz
openssl-b853717fc42e52dece0e362f49fb783e698ef320.zip
Fix strange formatting by indent
Reviewed-by: Tim Hudson <tjh@openssl.org>
Diffstat (limited to 'crypto/asn1/t_x509.c')
-rw-r--r--crypto/asn1/t_x509.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/asn1/t_x509.c b/crypto/asn1/t_x509.c
index 89115c7f19..cf92b085a3 100644
--- a/crypto/asn1/t_x509.c
+++ b/crypto/asn1/t_x509.c
@@ -417,7 +417,8 @@ int ASN1_GENERALIZEDTIME_print(BIO *bp, const ASN1_GENERALIZEDTIME *tm)
if (v[i-1] == 'Z') gmt=1;
for (i=0; i<12; i++)
if ((v[i] > '9') || (v[i] < '0')) goto err;
- y= (v[0]-'0')*1000+(v[1]-'0')*100 + (v[2]-'0')*10+(v[3]-'0');
+ y= (v[0]-'0')*1000+(v[1]-'0')*100
+ + (v[2]-'0')*10+(v[3]-'0');
M= (v[4]-'0')*10+(v[5]-'0');
if ((M > 12) || (M < 1)) goto err;
d= (v[6]-'0')*10+(v[7]-'0');