fix some code with obvious wrong coding style
Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/16918)
This commit is contained in:
parent
01451721af
commit
1287dabd0b
@ -120,7 +120,7 @@ typedef struct _SocketPairTimeoutBlock {
|
||||
} SPTB;
|
||||
|
||||
# ifdef TERM_SOCK_TEST
|
||||
|
||||
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
@ -160,7 +160,7 @@ int main (int argc, char *argv[], char *envp[])
|
||||
|
||||
}
|
||||
# endif
|
||||
|
||||
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
@ -275,7 +275,7 @@ int TerminalSocket (int FunctionCode, int *ReturnSocket)
|
||||
return TERM_SOCK_SUCCESS;
|
||||
|
||||
}
|
||||
|
||||
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
@ -485,7 +485,7 @@ static int CreateSocketPair (int SocketFamily,
|
||||
return (0) ;
|
||||
|
||||
}
|
||||
|
||||
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
@ -499,7 +499,7 @@ static void SocketPairTimeoutAst (int astparm)
|
||||
return;
|
||||
|
||||
}
|
||||
|
||||
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
@ -538,7 +538,7 @@ static int TerminalDeviceAst (int astparm)
|
||||
return status;
|
||||
|
||||
}
|
||||
|
||||
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
@ -68,7 +68,8 @@ static void prefetch256(const void *table)
|
||||
int i;
|
||||
|
||||
/* 32 is common least cache-line size */
|
||||
for (sum=0,i=0;i<256/sizeof(t[0]);i+=32/sizeof(t[0])) sum ^= t[i];
|
||||
for (sum = 0, i = 0; i < 256/sizeof(t[0]); i += 32/sizeof(t[0]))
|
||||
sum ^= t[i];
|
||||
|
||||
ret = sum;
|
||||
}
|
||||
|
@ -47,16 +47,14 @@
|
||||
#include <openssl/asn1t.h>
|
||||
#include <openssl/x509v3.h>
|
||||
|
||||
ASN1_SEQUENCE(PROXY_POLICY) =
|
||||
{
|
||||
ASN1_SEQUENCE(PROXY_POLICY) = {
|
||||
ASN1_SIMPLE(PROXY_POLICY, policyLanguage, ASN1_OBJECT),
|
||||
ASN1_OPT(PROXY_POLICY, policy, ASN1_OCTET_STRING)
|
||||
} ASN1_SEQUENCE_END(PROXY_POLICY)
|
||||
|
||||
IMPLEMENT_ASN1_FUNCTIONS(PROXY_POLICY)
|
||||
|
||||
ASN1_SEQUENCE(PROXY_CERT_INFO_EXTENSION) =
|
||||
{
|
||||
ASN1_SEQUENCE(PROXY_CERT_INFO_EXTENSION) = {
|
||||
ASN1_OPT(PROXY_CERT_INFO_EXTENSION, pcPathLengthConstraint, ASN1_INTEGER),
|
||||
ASN1_SIMPLE(PROXY_CERT_INFO_EXTENSION, proxyPolicy, PROXY_POLICY)
|
||||
} ASN1_SEQUENCE_END(PROXY_CERT_INFO_EXTENSION)
|
||||
|
Loading…
x
Reference in New Issue
Block a user