mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-29 10:24:18 +01:00
Add #endif comments for #endif more than 10 lines from #if / #else
This commit is contained in:
parent
d8bb82665e
commit
db20c10423
@ -167,8 +167,8 @@ typedef uint32_t t_udbl;
|
|||||||
#define POLARSSL_HAVE_UDBL
|
#define POLARSSL_HAVE_UDBL
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif /* !POLARSSL_HAVE_INT32 && __GNUC__ && 64-bit platform */
|
||||||
#endif
|
#endif /* !POLARSSL_HAVE_INT32 && _MSC_VER && _M_AMD64 */
|
||||||
#endif /* POLARSSL_HAVE_INT16 */
|
#endif /* POLARSSL_HAVE_INT16 */
|
||||||
#endif /* POLARSSL_HAVE_INT8 */
|
#endif /* POLARSSL_HAVE_INT8 */
|
||||||
|
|
||||||
|
@ -208,7 +208,7 @@ ecp_keypair;
|
|||||||
* 192 640 640 633 587 476
|
* 192 640 640 633 587 476
|
||||||
*/
|
*/
|
||||||
#define POLARSSL_ECP_WINDOW_SIZE 6 /**< Maximum window size used */
|
#define POLARSSL_ECP_WINDOW_SIZE 6 /**< Maximum window size used */
|
||||||
#endif
|
#endif /* POLARSSL_ECP_WINDOW_SIZE */
|
||||||
|
|
||||||
#if !defined(POLARSSL_ECP_FIXED_POINT_OPTIM)
|
#if !defined(POLARSSL_ECP_FIXED_POINT_OPTIM)
|
||||||
/*
|
/*
|
||||||
@ -223,7 +223,7 @@ ecp_keypair;
|
|||||||
* Change this value to 0 to reduce peak memory usage.
|
* Change this value to 0 to reduce peak memory usage.
|
||||||
*/
|
*/
|
||||||
#define POLARSSL_ECP_FIXED_POINT_OPTIM 1 /**< Enable fixed-point speed-up */
|
#define POLARSSL_ECP_FIXED_POINT_OPTIM 1 /**< Enable fixed-point speed-up */
|
||||||
#endif
|
#endif /* POLARSSL_ECP_FIXED_POINT_OPTIM */
|
||||||
|
|
||||||
/* \} name SECTION: Module settings */
|
/* \} name SECTION: Module settings */
|
||||||
|
|
||||||
|
@ -1301,7 +1301,7 @@ int mpi_div_mpi( mpi *Q, mpi *R, const mpi *A, const mpi *B )
|
|||||||
r0 -= m;
|
r0 -= m;
|
||||||
|
|
||||||
Z.p[i - t - 1] = ( q1 << biH ) | q0;
|
Z.p[i - t - 1] = ( q1 << biH ) | q0;
|
||||||
#endif
|
#endif /* POLARSSL_HAVE_UDBL && !64-bit Apple with Clang 5.0 */
|
||||||
}
|
}
|
||||||
|
|
||||||
Z.p[i - t - 1]++;
|
Z.p[i - t - 1]++;
|
||||||
|
@ -62,7 +62,7 @@
|
|||||||
|
|
||||||
static int wsa_init_done = 0;
|
static int wsa_init_done = 0;
|
||||||
|
|
||||||
#else
|
#else /* ( _WIN32 || _WIN32_WCE ) && !EFIX64 && !EFI32 */
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
@ -91,7 +91,7 @@ static int wsa_init_done = 0;
|
|||||||
#include <endian.h>
|
#include <endian.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif /* ( _WIN32 || _WIN32_WCE ) && !EFIX64 && !EFI32 */
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
@ -409,7 +409,7 @@ static int net_would_block( int fd )
|
|||||||
}
|
}
|
||||||
return( 0 );
|
return( 0 );
|
||||||
}
|
}
|
||||||
#endif
|
#endif /* ( _WIN32 || _WIN32_WCE ) && !EFIX64 && !EFI32 */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Accept a connection from a remote client
|
* Accept a connection from a remote client
|
||||||
|
@ -2340,7 +2340,7 @@ curve_matching_done:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
#endif
|
#endif /* POLARSSL_SSL_PROTO_TLS1_2 */
|
||||||
#if defined(POLARSSL_SSL_PROTO_SSL3) || defined(POLARSSL_SSL_PROTO_TLS1) || \
|
#if defined(POLARSSL_SSL_PROTO_SSL3) || defined(POLARSSL_SSL_PROTO_TLS1) || \
|
||||||
defined(POLARSSL_SSL_PROTO_TLS1_1)
|
defined(POLARSSL_SSL_PROTO_TLS1_1)
|
||||||
if ( ciphersuite_info->key_exchange ==
|
if ( ciphersuite_info->key_exchange ==
|
||||||
|
@ -592,7 +592,7 @@ int x509_get_sig_alg( const x509_buf *sig_oid, const x509_buf *sig_params,
|
|||||||
*sig_opts = (void *) pss_opts;
|
*sig_opts = (void *) pss_opts;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
#endif
|
#endif /* POLARSSL_X509_RSASSA_PSS_SUPPORT */
|
||||||
{
|
{
|
||||||
/* Make sure parameters are absent or NULL */
|
/* Make sure parameters are absent or NULL */
|
||||||
if( ( sig_params->tag != ASN1_NULL && sig_params->tag != 0 ) ||
|
if( ( sig_params->tag != ASN1_NULL && sig_params->tag != 0 ) ||
|
||||||
|
Loading…
Reference in New Issue
Block a user