From 62dca2521fd3945d1b796a3420e0bb1990ce2bfa Mon Sep 17 00:00:00 2001 From: jsing Date: Sun, 20 Apr 2014 16:15:01 +0000 Subject: [PATCH] More KNF. --- lib/libcrypto/x509/x509_obj.c | 2 +- lib/libcrypto/x509/x509_trs.c | 4 ++-- lib/libssl/src/crypto/x509/x509_obj.c | 2 +- lib/libssl/src/crypto/x509/x509_trs.c | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/libcrypto/x509/x509_obj.c b/lib/libcrypto/x509/x509_obj.c index a50b05bb7a1..061ea62cac3 100644 --- a/lib/libcrypto/x509/x509_obj.c +++ b/lib/libcrypto/x509/x509_obj.c @@ -68,7 +68,7 @@ X509_NAME_oneline(X509_NAME *a, char *buf, int len) { X509_NAME_ENTRY *ne; int i; - int n, lold, l,l1, l2, num, j, type; + int n, lold, l, l1, l2, num, j, type; const char *s; char *p; unsigned char *q; diff --git a/lib/libcrypto/x509/x509_trs.c b/lib/libcrypto/x509/x509_trs.c index 90fd1285913..7d4d209d0ca 100644 --- a/lib/libcrypto/x509/x509_trs.c +++ b/lib/libcrypto/x509/x509_trs.c @@ -242,8 +242,8 @@ X509_TRUST_cleanup(void) { unsigned int i; - for(i = 0; i < X509_TRUST_COUNT; i++) - trtable_free(trstandard + i); + for (i = 0; i < X509_TRUST_COUNT; i++) + trtable_free(trstandard + i); sk_X509_TRUST_pop_free(trtable, trtable_free); trtable = NULL; } diff --git a/lib/libssl/src/crypto/x509/x509_obj.c b/lib/libssl/src/crypto/x509/x509_obj.c index a50b05bb7a1..061ea62cac3 100644 --- a/lib/libssl/src/crypto/x509/x509_obj.c +++ b/lib/libssl/src/crypto/x509/x509_obj.c @@ -68,7 +68,7 @@ X509_NAME_oneline(X509_NAME *a, char *buf, int len) { X509_NAME_ENTRY *ne; int i; - int n, lold, l,l1, l2, num, j, type; + int n, lold, l, l1, l2, num, j, type; const char *s; char *p; unsigned char *q; diff --git a/lib/libssl/src/crypto/x509/x509_trs.c b/lib/libssl/src/crypto/x509/x509_trs.c index 90fd1285913..7d4d209d0ca 100644 --- a/lib/libssl/src/crypto/x509/x509_trs.c +++ b/lib/libssl/src/crypto/x509/x509_trs.c @@ -242,8 +242,8 @@ X509_TRUST_cleanup(void) { unsigned int i; - for(i = 0; i < X509_TRUST_COUNT; i++) - trtable_free(trstandard + i); + for (i = 0; i < X509_TRUST_COUNT; i++) + trtable_free(trstandard + i); sk_X509_TRUST_pop_free(trtable, trtable_free); trtable = NULL; } -- 2.20.1