提交 a7b1eed5 编写于 作者: M Matt Caswell

More indent fixes for STACK_OF

Reviewed-by: NTim Hudson <tjh@openssl.org>
上级 c5957688
......@@ -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;
};
......
......@@ -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;
}
......
......@@ -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);
......
......@@ -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;
......
......@@ -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);
......
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册