More indent fixes for STACK_OF
authorMatt Caswell <matt@openssl.org>
Wed, 21 Jan 2015 09:33:22 +0000 (09:33 +0000)
committerMatt Caswell <matt@openssl.org>
Thu, 22 Jan 2015 09:20:07 +0000 (09:20 +0000)
Reviewed-by: Tim Hudson <tjh@openssl.org>
apps/cms.c
crypto/x509/x509_lu.c
crypto/x509/x509_vfy.h
crypto/x509v3/v3_utl.c
crypto/x509v3/x509v3.h
ssl/s3_lib.c

index bb85a20..0534fdd 100644 (file)
@@ -104,7 +104,7 @@ typedef struct cms_key_param_st cms_key_param;
 struct cms_key_param_st
        {
        int idx;
-       STACK_OF(OPENSSL_STRING)*param;
+       STACK_OF(OPENSSL_STRING) *param;
        cms_key_param *next;
        };
 
index ec75035..47bb400 100644 (file)
@@ -741,7 +741,7 @@ void X509_STORE_set_verify_cb(X509_STORE *ctx,
        }
 
 void X509_STORE_set_lookup_crls_cb(X509_STORE *ctx,
-               STACK_OF(X509_CRL)(*cb)(X509_STORE_CTX *ctx, X509_NAME *nm))
+               STACK_OF(X509_CRL) *(*cb)(X509_STORE_CTX *ctx, X509_NAME *nm))
        {
        ctx->lookup_crls = cb;
        }
index 9b16c3b..35cbc55 100644 (file)
@@ -449,7 +449,7 @@ void X509_STORE_set_verify_cb(X509_STORE *ctx,
                                  int (*verify_cb)(int, X509_STORE_CTX *));
 
 void X509_STORE_set_lookup_crls_cb(X509_STORE *ctx,
-               STACK_OF(X509_CRL)(*cb)(X509_STORE_CTX *ctx, X509_NAME *nm));
+               STACK_OF(X509_CRL) *(*cb)(X509_STORE_CTX *ctx, X509_NAME *nm));
 
 X509_STORE_CTX *X509_STORE_CTX_new(void);
 
index c9a6e79..01c07f4 100644 (file)
@@ -1274,7 +1274,7 @@ static int ipv6_hex(unsigned char *out, const char *in, int inlen)
        }
 
 
-int X509V3_NAME_from_section(X509_NAME *nm, STACK_OF(CONF_VALUE)*dn_sk,
+int X509V3_NAME_from_section(X509_NAME *nm, STACK_OF(CONF_VALUE) *dn_sk,
                                                unsigned long chtype)
        {
        CONF_VALUE *v;
index 3da2243..965ac53 100644 (file)
@@ -741,7 +741,7 @@ int X509_check_ip_asc(X509 *x, const char *ipasc, unsigned int flags);
 ASN1_OCTET_STRING *a2i_IPADDRESS(const char *ipasc);
 ASN1_OCTET_STRING *a2i_IPADDRESS_NC(const char *ipasc);
 int a2i_ipadd(unsigned char *ipout, const char *ipasc);
-int X509V3_NAME_from_section(X509_NAME *nm, STACK_OF(CONF_VALUE)*dn_sk,
+int X509V3_NAME_from_section(X509_NAME *nm, STACK_OF(CONF_VALUE) *dn_sk,
                                                unsigned long chtype);
 
 void X509_POLICY_NODE_print(BIO *out, X509_POLICY_NODE *node, int indent);
index fcaaa7b..e27a928 100644 (file)
@@ -3729,10 +3729,10 @@ long ssl3_ctrl(SSL *s, int cmd, long larg, void *parg)
        case SSL_CTRL_CHAIN:
                if (larg)
                        return ssl_cert_set1_chain(s, NULL,
-                                               (STACK_OF (X509) *)parg);
+                                               (STACK_OF(X509) *)parg);
                else
                        return ssl_cert_set0_chain(s, NULL,
-                                               (STACK_OF (X509) *)parg);
+                                               (STACK_OF(X509) *)parg);
 
        case SSL_CTRL_CHAIN_CERT:
                if (larg)
@@ -4299,10 +4299,10 @@ long ssl3_ctx_ctrl(SSL_CTX *ctx, int cmd, long larg, void *parg)
        case SSL_CTRL_CHAIN:
                if (larg)
                        return ssl_cert_set1_chain(NULL, ctx,
-                                               (STACK_OF (X509) *)parg);
+                                               (STACK_OF(X509) *)parg);
                else
                        return ssl_cert_set0_chain(NULL, ctx,
-                                               (STACK_OF (X509) *)parg);
+                                               (STACK_OF(X509) *)parg);
 
        case SSL_CTRL_CHAIN_CERT:
                if (larg)