mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-03 10:13:40 +00:00
Style: add spaces before line continuation
This commit is contained in:
parent
db8e3d8695
commit
013bffe5a7
@ -145,13 +145,13 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(POLARSSL_KEY_EXCHANGE_RSA_PSK_ENABLED) && \
|
#if defined(POLARSSL_KEY_EXCHANGE_RSA_PSK_ENABLED) && \
|
||||||
( !defined(POLARSSL_RSA_C) || !defined(POLARSSL_X509_CRT_PARSE_C) ||\
|
( !defined(POLARSSL_RSA_C) || !defined(POLARSSL_X509_CRT_PARSE_C) || \
|
||||||
!defined(POLARSSL_PKCS1_V15) )
|
!defined(POLARSSL_PKCS1_V15) )
|
||||||
#error "POLARSSL_KEY_EXCHANGE_RSA_PSK_ENABLED defined, but not all prerequisites"
|
#error "POLARSSL_KEY_EXCHANGE_RSA_PSK_ENABLED defined, but not all prerequisites"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(POLARSSL_KEY_EXCHANGE_RSA_ENABLED) && \
|
#if defined(POLARSSL_KEY_EXCHANGE_RSA_ENABLED) && \
|
||||||
( !defined(POLARSSL_RSA_C) || !defined(POLARSSL_X509_CRT_PARSE_C) ||\
|
( !defined(POLARSSL_RSA_C) || !defined(POLARSSL_X509_CRT_PARSE_C) || \
|
||||||
!defined(POLARSSL_PKCS1_V15) )
|
!defined(POLARSSL_PKCS1_V15) )
|
||||||
#error "POLARSSL_KEY_EXCHANGE_RSA_ENABLED defined, but not all prerequisites"
|
#error "POLARSSL_KEY_EXCHANGE_RSA_ENABLED defined, but not all prerequisites"
|
||||||
#endif
|
#endif
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#define polarssl_printf printf
|
#define polarssl_printf printf
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(POLARSSL_AES_C) && defined(POLARSSL_SHA256_C) &&\
|
#if defined(POLARSSL_AES_C) && defined(POLARSSL_SHA256_C) && \
|
||||||
defined(POLARSSL_FS_IO)
|
defined(POLARSSL_FS_IO)
|
||||||
#include "polarssl/aes.h"
|
#include "polarssl/aes.h"
|
||||||
#include "polarssl/sha256.h"
|
#include "polarssl/sha256.h"
|
||||||
@ -63,7 +63,7 @@
|
|||||||
"\n example: aescrypt2 0 file file.aes hex:E76B2413958B00E193\n" \
|
"\n example: aescrypt2 0 file file.aes hex:E76B2413958B00E193\n" \
|
||||||
"\n"
|
"\n"
|
||||||
|
|
||||||
#if !defined(POLARSSL_AES_C) || !defined(POLARSSL_SHA256_C) ||\
|
#if !defined(POLARSSL_AES_C) || !defined(POLARSSL_SHA256_C) || \
|
||||||
!defined(POLARSSL_FS_IO)
|
!defined(POLARSSL_FS_IO)
|
||||||
int main( void )
|
int main( void )
|
||||||
{
|
{
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
#define polarssl_printf printf
|
#define polarssl_printf printf
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(POLARSSL_CIPHER_C) && defined(POLARSSL_MD_C) &&\
|
#if defined(POLARSSL_CIPHER_C) && defined(POLARSSL_MD_C) && \
|
||||||
defined(POLARSSL_FS_IO)
|
defined(POLARSSL_FS_IO)
|
||||||
#include "polarssl/cipher.h"
|
#include "polarssl/cipher.h"
|
||||||
#include "polarssl/md.h"
|
#include "polarssl/md.h"
|
||||||
@ -64,7 +64,7 @@
|
|||||||
"\n example: crypt_and_hash 0 file file.aes AES-128-CBC SHA1 hex:E76B2413958B00E193\n" \
|
"\n example: crypt_and_hash 0 file file.aes AES-128-CBC SHA1 hex:E76B2413958B00E193\n" \
|
||||||
"\n"
|
"\n"
|
||||||
|
|
||||||
#if !defined(POLARSSL_CIPHER_C) || !defined(POLARSSL_MD_C) ||\
|
#if !defined(POLARSSL_CIPHER_C) || !defined(POLARSSL_MD_C) || \
|
||||||
!defined(POLARSSL_FS_IO)
|
!defined(POLARSSL_FS_IO)
|
||||||
int main( void )
|
int main( void )
|
||||||
{
|
{
|
||||||
|
@ -33,9 +33,9 @@
|
|||||||
#define polarssl_printf printf
|
#define polarssl_printf printf
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(POLARSSL_AES_C) && defined(POLARSSL_DHM_C) &&\
|
#if defined(POLARSSL_AES_C) && defined(POLARSSL_DHM_C) && \
|
||||||
defined(POLARSSL_ENTROPY_C) && defined(POLARSSL_NET_C) &&\
|
defined(POLARSSL_ENTROPY_C) && defined(POLARSSL_NET_C) && \
|
||||||
defined(POLARSSL_RSA_C) && defined(POLARSSL_SHA256_C) &&\
|
defined(POLARSSL_RSA_C) && defined(POLARSSL_SHA256_C) && \
|
||||||
defined(POLARSSL_FS_IO) && defined(POLARSSL_CTR_DRBG_C)
|
defined(POLARSSL_FS_IO) && defined(POLARSSL_CTR_DRBG_C)
|
||||||
#include "polarssl/net.h"
|
#include "polarssl/net.h"
|
||||||
#include "polarssl/aes.h"
|
#include "polarssl/aes.h"
|
||||||
|
@ -33,8 +33,8 @@
|
|||||||
#define polarssl_printf printf
|
#define polarssl_printf printf
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(POLARSSL_BIGNUM_C) && defined(POLARSSL_ENTROPY_C) &&\
|
#if defined(POLARSSL_BIGNUM_C) && defined(POLARSSL_ENTROPY_C) && \
|
||||||
defined(POLARSSL_FS_IO) && defined(POLARSSL_CTR_DRBG_C) &&\
|
defined(POLARSSL_FS_IO) && defined(POLARSSL_CTR_DRBG_C) && \
|
||||||
defined(POLARSSL_GENPRIME)
|
defined(POLARSSL_GENPRIME)
|
||||||
#include "polarssl/bignum.h"
|
#include "polarssl/bignum.h"
|
||||||
#include "polarssl/entropy.h"
|
#include "polarssl/entropy.h"
|
||||||
|
@ -33,9 +33,9 @@
|
|||||||
#define polarssl_printf printf
|
#define polarssl_printf printf
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(POLARSSL_AES_C) && defined(POLARSSL_DHM_C) &&\
|
#if defined(POLARSSL_AES_C) && defined(POLARSSL_DHM_C) && \
|
||||||
defined(POLARSSL_ENTROPY_C) && defined(POLARSSL_NET_C) &&\
|
defined(POLARSSL_ENTROPY_C) && defined(POLARSSL_NET_C) && \
|
||||||
defined(POLARSSL_RSA_C) && defined(POLARSSL_SHA256_C) &&\
|
defined(POLARSSL_RSA_C) && defined(POLARSSL_SHA256_C) && \
|
||||||
defined(POLARSSL_FS_IO) && defined(POLARSSL_CTR_DRBG_C)
|
defined(POLARSSL_FS_IO) && defined(POLARSSL_CTR_DRBG_C)
|
||||||
#include "polarssl/net.h"
|
#include "polarssl/net.h"
|
||||||
#include "polarssl/aes.h"
|
#include "polarssl/aes.h"
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
#define polarssl_printf printf
|
#define polarssl_printf printf
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(POLARSSL_ECDSA_C) &&\
|
#if defined(POLARSSL_ECDSA_C) && \
|
||||||
defined(POLARSSL_ENTROPY_C) && defined(POLARSSL_CTR_DRBG_C)
|
defined(POLARSSL_ENTROPY_C) && defined(POLARSSL_CTR_DRBG_C)
|
||||||
#include "polarssl/entropy.h"
|
#include "polarssl/entropy.h"
|
||||||
#include "polarssl/ctr_drbg.h"
|
#include "polarssl/ctr_drbg.h"
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
#define polarssl_printf printf
|
#define polarssl_printf printf
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(POLARSSL_PK_WRITE_C) && defined(POLARSSL_FS_IO) &&\
|
#if defined(POLARSSL_PK_WRITE_C) && defined(POLARSSL_FS_IO) && \
|
||||||
defined(POLARSSL_ENTROPY_C) && defined(POLARSSL_CTR_DRBG_C)
|
defined(POLARSSL_ENTROPY_C) && defined(POLARSSL_CTR_DRBG_C)
|
||||||
#include "polarssl/error.h"
|
#include "polarssl/error.h"
|
||||||
#include "polarssl/pk.h"
|
#include "polarssl/pk.h"
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
#define polarssl_printf printf
|
#define polarssl_printf printf
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(POLARSSL_BIGNUM_C) &&\
|
#if defined(POLARSSL_BIGNUM_C) && \
|
||||||
defined(POLARSSL_PK_PARSE_C) && defined(POLARSSL_FS_IO)
|
defined(POLARSSL_PK_PARSE_C) && defined(POLARSSL_FS_IO)
|
||||||
#include "polarssl/error.h"
|
#include "polarssl/error.h"
|
||||||
#include "polarssl/rsa.h"
|
#include "polarssl/rsa.h"
|
||||||
|
@ -33,8 +33,8 @@
|
|||||||
#define polarssl_printf printf
|
#define polarssl_printf printf
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(POLARSSL_BIGNUM_C) && defined(POLARSSL_PK_PARSE_C) &&\
|
#if defined(POLARSSL_BIGNUM_C) && defined(POLARSSL_PK_PARSE_C) && \
|
||||||
defined(POLARSSL_FS_IO) && defined(POLARSSL_ENTROPY_C) &&\
|
defined(POLARSSL_FS_IO) && defined(POLARSSL_ENTROPY_C) && \
|
||||||
defined(POLARSSL_CTR_DRBG_C)
|
defined(POLARSSL_CTR_DRBG_C)
|
||||||
#include "polarssl/error.h"
|
#include "polarssl/error.h"
|
||||||
#include "polarssl/pk.h"
|
#include "polarssl/pk.h"
|
||||||
|
@ -34,8 +34,8 @@
|
|||||||
#define polarssl_printf printf
|
#define polarssl_printf printf
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(POLARSSL_BIGNUM_C) && defined(POLARSSL_PK_PARSE_C) &&\
|
#if defined(POLARSSL_BIGNUM_C) && defined(POLARSSL_PK_PARSE_C) && \
|
||||||
defined(POLARSSL_ENTROPY_C) && defined(POLARSSL_FS_IO) &&\
|
defined(POLARSSL_ENTROPY_C) && defined(POLARSSL_FS_IO) && \
|
||||||
defined(POLARSSL_CTR_DRBG_C)
|
defined(POLARSSL_CTR_DRBG_C)
|
||||||
#include "polarssl/error.h"
|
#include "polarssl/error.h"
|
||||||
#include "polarssl/pk.h"
|
#include "polarssl/pk.h"
|
||||||
|
@ -33,9 +33,9 @@
|
|||||||
#define polarssl_printf printf
|
#define polarssl_printf printf
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(POLARSSL_BIGNUM_C) && defined(POLARSSL_ENTROPY_C) &&\
|
#if defined(POLARSSL_BIGNUM_C) && defined(POLARSSL_ENTROPY_C) && \
|
||||||
defined(POLARSSL_SHA256_C) &&\
|
defined(POLARSSL_SHA256_C) && \
|
||||||
defined(POLARSSL_PK_PARSE_C) && defined(POLARSSL_FS_IO) &&\
|
defined(POLARSSL_PK_PARSE_C) && defined(POLARSSL_FS_IO) && \
|
||||||
defined(POLARSSL_CTR_DRBG_C)
|
defined(POLARSSL_CTR_DRBG_C)
|
||||||
#include "polarssl/error.h"
|
#include "polarssl/error.h"
|
||||||
#include "polarssl/entropy.h"
|
#include "polarssl/entropy.h"
|
||||||
|
@ -33,8 +33,8 @@
|
|||||||
#define polarssl_printf printf
|
#define polarssl_printf printf
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(POLARSSL_BIGNUM_C) &&\
|
#if defined(POLARSSL_BIGNUM_C) && \
|
||||||
defined(POLARSSL_SHA256_C) && defined(POLARSSL_PK_PARSE_C) &&\
|
defined(POLARSSL_SHA256_C) && defined(POLARSSL_PK_PARSE_C) && \
|
||||||
defined(POLARSSL_FS_IO)
|
defined(POLARSSL_FS_IO)
|
||||||
#include "polarssl/error.h"
|
#include "polarssl/error.h"
|
||||||
#include "polarssl/md.h"
|
#include "polarssl/md.h"
|
||||||
|
@ -33,8 +33,8 @@
|
|||||||
#define polarssl_printf printf
|
#define polarssl_printf printf
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(POLARSSL_BIGNUM_C) && defined(POLARSSL_RSA_C) &&\
|
#if defined(POLARSSL_BIGNUM_C) && defined(POLARSSL_RSA_C) && \
|
||||||
defined(POLARSSL_FS_IO) && defined(POLARSSL_ENTROPY_C) &&\
|
defined(POLARSSL_FS_IO) && defined(POLARSSL_ENTROPY_C) && \
|
||||||
defined(POLARSSL_CTR_DRBG_C)
|
defined(POLARSSL_CTR_DRBG_C)
|
||||||
#include "polarssl/rsa.h"
|
#include "polarssl/rsa.h"
|
||||||
#include "polarssl/entropy.h"
|
#include "polarssl/entropy.h"
|
||||||
|
@ -34,8 +34,8 @@
|
|||||||
#define polarssl_printf printf
|
#define polarssl_printf printf
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(POLARSSL_BIGNUM_C) && defined(POLARSSL_RSA_C) &&\
|
#if defined(POLARSSL_BIGNUM_C) && defined(POLARSSL_RSA_C) && \
|
||||||
defined(POLARSSL_ENTROPY_C) && defined(POLARSSL_FS_IO) &&\
|
defined(POLARSSL_ENTROPY_C) && defined(POLARSSL_FS_IO) && \
|
||||||
defined(POLARSSL_CTR_DRBG_C)
|
defined(POLARSSL_CTR_DRBG_C)
|
||||||
#include "polarssl/rsa.h"
|
#include "polarssl/rsa.h"
|
||||||
#include "polarssl/entropy.h"
|
#include "polarssl/entropy.h"
|
||||||
|
@ -33,8 +33,8 @@
|
|||||||
#define polarssl_printf printf
|
#define polarssl_printf printf
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(POLARSSL_BIGNUM_C) && defined(POLARSSL_ENTROPY_C) &&\
|
#if defined(POLARSSL_BIGNUM_C) && defined(POLARSSL_ENTROPY_C) && \
|
||||||
defined(POLARSSL_RSA_C) && defined(POLARSSL_GENPRIME) &&\
|
defined(POLARSSL_RSA_C) && defined(POLARSSL_GENPRIME) && \
|
||||||
defined(POLARSSL_FS_IO) && defined(POLARSSL_CTR_DRBG_C)
|
defined(POLARSSL_FS_IO) && defined(POLARSSL_CTR_DRBG_C)
|
||||||
#include "polarssl/entropy.h"
|
#include "polarssl/entropy.h"
|
||||||
#include "polarssl/ctr_drbg.h"
|
#include "polarssl/ctr_drbg.h"
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#define polarssl_printf printf
|
#define polarssl_printf printf
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(POLARSSL_BIGNUM_C) && defined(POLARSSL_RSA_C) &&\
|
#if defined(POLARSSL_BIGNUM_C) && defined(POLARSSL_RSA_C) && \
|
||||||
defined(POLARSSL_SHA256_C) && defined(POLARSSL_FS_IO)
|
defined(POLARSSL_SHA256_C) && defined(POLARSSL_FS_IO)
|
||||||
#include "polarssl/rsa.h"
|
#include "polarssl/rsa.h"
|
||||||
#include "polarssl/sha1.h"
|
#include "polarssl/sha1.h"
|
||||||
|
@ -33,9 +33,9 @@
|
|||||||
#define polarssl_printf printf
|
#define polarssl_printf printf
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(POLARSSL_BIGNUM_C) && defined(POLARSSL_ENTROPY_C) &&\
|
#if defined(POLARSSL_BIGNUM_C) && defined(POLARSSL_ENTROPY_C) && \
|
||||||
defined(POLARSSL_RSA_C) && defined(POLARSSL_SHA256_C) &&\
|
defined(POLARSSL_RSA_C) && defined(POLARSSL_SHA256_C) && \
|
||||||
defined(POLARSSL_PK_PARSE_C) && defined(POLARSSL_FS_IO) &&\
|
defined(POLARSSL_PK_PARSE_C) && defined(POLARSSL_FS_IO) && \
|
||||||
defined(POLARSSL_CTR_DRBG_C)
|
defined(POLARSSL_CTR_DRBG_C)
|
||||||
#include "polarssl/entropy.h"
|
#include "polarssl/entropy.h"
|
||||||
#include "polarssl/ctr_drbg.h"
|
#include "polarssl/ctr_drbg.h"
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
#define polarssl_printf printf
|
#define polarssl_printf printf
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(POLARSSL_BIGNUM_C) && defined(POLARSSL_RSA_C) &&\
|
#if defined(POLARSSL_BIGNUM_C) && defined(POLARSSL_RSA_C) && \
|
||||||
defined(POLARSSL_SHA256_C) && defined(POLARSSL_FS_IO)
|
defined(POLARSSL_SHA256_C) && defined(POLARSSL_FS_IO)
|
||||||
#include "polarssl/rsa.h"
|
#include "polarssl/rsa.h"
|
||||||
#include "polarssl/sha1.h"
|
#include "polarssl/sha1.h"
|
||||||
|
@ -33,8 +33,8 @@
|
|||||||
#define polarssl_printf printf
|
#define polarssl_printf printf
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(POLARSSL_BIGNUM_C) && defined(POLARSSL_RSA_C) &&\
|
#if defined(POLARSSL_BIGNUM_C) && defined(POLARSSL_RSA_C) && \
|
||||||
defined(POLARSSL_SHA256_C) && defined(POLARSSL_PK_PARSE_C) &&\
|
defined(POLARSSL_SHA256_C) && defined(POLARSSL_PK_PARSE_C) && \
|
||||||
defined(POLARSSL_FS_IO)
|
defined(POLARSSL_FS_IO)
|
||||||
#include "polarssl/md.h"
|
#include "polarssl/md.h"
|
||||||
#include "polarssl/pem.h"
|
#include "polarssl/pem.h"
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#define polarssl_printf printf
|
#define polarssl_printf printf
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(POLARSSL_CTR_DRBG_C) && defined(POLARSSL_ENTROPY_C) &&\
|
#if defined(POLARSSL_CTR_DRBG_C) && defined(POLARSSL_ENTROPY_C) && \
|
||||||
defined(POLARSSL_FS_IO)
|
defined(POLARSSL_FS_IO)
|
||||||
#include "polarssl/entropy.h"
|
#include "polarssl/entropy.h"
|
||||||
#include "polarssl/ctr_drbg.h"
|
#include "polarssl/ctr_drbg.h"
|
||||||
@ -42,7 +42,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(POLARSSL_CTR_DRBG_C) || !defined(POLARSSL_ENTROPY_C) ||\
|
#if !defined(POLARSSL_CTR_DRBG_C) || !defined(POLARSSL_ENTROPY_C) || \
|
||||||
!defined(POLARSSL_FS_IO)
|
!defined(POLARSSL_FS_IO)
|
||||||
int main( void )
|
int main( void )
|
||||||
{
|
{
|
||||||
|
@ -34,9 +34,9 @@
|
|||||||
#define polarssl_printf printf
|
#define polarssl_printf printf
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(POLARSSL_BIGNUM_C) && defined(POLARSSL_ENTROPY_C) &&\
|
#if defined(POLARSSL_BIGNUM_C) && defined(POLARSSL_ENTROPY_C) && \
|
||||||
defined(POLARSSL_SSL_TLS_C) && defined(POLARSSL_SSL_CLI_C) &&\
|
defined(POLARSSL_SSL_TLS_C) && defined(POLARSSL_SSL_CLI_C) && \
|
||||||
defined(POLARSSL_NET_C) && defined(POLARSSL_RSA_C) &&\
|
defined(POLARSSL_NET_C) && defined(POLARSSL_RSA_C) && \
|
||||||
defined(POLARSSL_CTR_DRBG_C) && defined(POLARSSL_X509_CRT_PARSE_C)
|
defined(POLARSSL_CTR_DRBG_C) && defined(POLARSSL_X509_CRT_PARSE_C)
|
||||||
#include "polarssl/net.h"
|
#include "polarssl/net.h"
|
||||||
#include "polarssl/debug.h"
|
#include "polarssl/debug.h"
|
||||||
|
@ -34,8 +34,8 @@
|
|||||||
#define polarssl_printf printf
|
#define polarssl_printf printf
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(POLARSSL_ENTROPY_C) && defined(POLARSSL_FS_IO) &&\
|
#if defined(POLARSSL_ENTROPY_C) && defined(POLARSSL_FS_IO) && \
|
||||||
defined(POLARSSL_SSL_TLS_C) && defined(POLARSSL_SSL_CLI_C) &&\
|
defined(POLARSSL_SSL_TLS_C) && defined(POLARSSL_SSL_CLI_C) && \
|
||||||
defined(POLARSSL_NET_C) && defined(POLARSSL_CTR_DRBG_C)
|
defined(POLARSSL_NET_C) && defined(POLARSSL_CTR_DRBG_C)
|
||||||
#include "polarssl/net.h"
|
#include "polarssl/net.h"
|
||||||
#include "polarssl/ssl.h"
|
#include "polarssl/ssl.h"
|
||||||
|
@ -38,11 +38,11 @@
|
|||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(POLARSSL_BIGNUM_C) && defined(POLARSSL_CERTS_C) &&\
|
#if defined(POLARSSL_BIGNUM_C) && defined(POLARSSL_CERTS_C) && \
|
||||||
defined(POLARSSL_ENTROPY_C) && defined(POLARSSL_SSL_TLS_C) &&\
|
defined(POLARSSL_ENTROPY_C) && defined(POLARSSL_SSL_TLS_C) && \
|
||||||
defined(POLARSSL_SSL_SRV_C) && defined(POLARSSL_NET_C) &&\
|
defined(POLARSSL_SSL_SRV_C) && defined(POLARSSL_NET_C) && \
|
||||||
defined(POLARSSL_RSA_C) && defined(POLARSSL_CTR_DRBG_C) &&\
|
defined(POLARSSL_RSA_C) && defined(POLARSSL_CTR_DRBG_C) && \
|
||||||
defined(POLARSSL_X509_CRT_PARSE_C) && defined(POLARSSL_TIMING_C) &&\
|
defined(POLARSSL_X509_CRT_PARSE_C) && defined(POLARSSL_TIMING_C) && \
|
||||||
defined(POLARSSL_FS_IO)
|
defined(POLARSSL_FS_IO)
|
||||||
#include "polarssl/entropy.h"
|
#include "polarssl/entropy.h"
|
||||||
#include "polarssl/ctr_drbg.h"
|
#include "polarssl/ctr_drbg.h"
|
||||||
@ -70,7 +70,7 @@
|
|||||||
!defined(POLARSSL_ENTROPY_C) || !defined(POLARSSL_SSL_TLS_C) || \
|
!defined(POLARSSL_ENTROPY_C) || !defined(POLARSSL_SSL_TLS_C) || \
|
||||||
!defined(POLARSSL_SSL_SRV_C) || !defined(POLARSSL_NET_C) || \
|
!defined(POLARSSL_SSL_SRV_C) || !defined(POLARSSL_NET_C) || \
|
||||||
!defined(POLARSSL_RSA_C) || !defined(POLARSSL_CTR_DRBG_C) || \
|
!defined(POLARSSL_RSA_C) || !defined(POLARSSL_CTR_DRBG_C) || \
|
||||||
!defined(POLARSSL_X509_CRT_PARSE_C) || !defined(POLARSSL_TIMING_C) ||\
|
!defined(POLARSSL_X509_CRT_PARSE_C) || !defined(POLARSSL_TIMING_C) || \
|
||||||
!defined(POLARSSL_FS_IO)
|
!defined(POLARSSL_FS_IO)
|
||||||
int main( int argc, char *argv[] )
|
int main( int argc, char *argv[] )
|
||||||
{
|
{
|
||||||
|
@ -128,7 +128,7 @@
|
|||||||
#if !defined(POLARSSL_BIGNUM_C) || !defined(POLARSSL_ENTROPY_C) || \
|
#if !defined(POLARSSL_BIGNUM_C) || !defined(POLARSSL_ENTROPY_C) || \
|
||||||
!defined(POLARSSL_SSL_TLS_C) || !defined(POLARSSL_SSL_CLI_C) || \
|
!defined(POLARSSL_SSL_TLS_C) || !defined(POLARSSL_SSL_CLI_C) || \
|
||||||
!defined(POLARSSL_NET_C) || !defined(POLARSSL_RSA_C) || \
|
!defined(POLARSSL_NET_C) || !defined(POLARSSL_RSA_C) || \
|
||||||
!defined(POLARSSL_CTR_DRBG_C) || !defined(POLARSSL_X509_CRT_PARSE_C) ||\
|
!defined(POLARSSL_CTR_DRBG_C) || !defined(POLARSSL_X509_CRT_PARSE_C) || \
|
||||||
!defined(POLARSSL_FS_IO)
|
!defined(POLARSSL_FS_IO)
|
||||||
int main( void )
|
int main( void )
|
||||||
{
|
{
|
||||||
|
@ -39,11 +39,11 @@
|
|||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(POLARSSL_BIGNUM_C) && defined(POLARSSL_CERTS_C) &&\
|
#if defined(POLARSSL_BIGNUM_C) && defined(POLARSSL_CERTS_C) && \
|
||||||
defined(POLARSSL_ENTROPY_C) && defined(POLARSSL_SSL_TLS_C) &&\
|
defined(POLARSSL_ENTROPY_C) && defined(POLARSSL_SSL_TLS_C) && \
|
||||||
defined(POLARSSL_SSL_SRV_C) && defined(POLARSSL_NET_C) &&\
|
defined(POLARSSL_SSL_SRV_C) && defined(POLARSSL_NET_C) && \
|
||||||
defined(POLARSSL_RSA_C) && defined(POLARSSL_CTR_DRBG_C) &&\
|
defined(POLARSSL_RSA_C) && defined(POLARSSL_CTR_DRBG_C) && \
|
||||||
defined(POLARSSL_X509_CRT_PARSE_C) && defined(POLARSSL_FS_IO) &&\
|
defined(POLARSSL_X509_CRT_PARSE_C) && defined(POLARSSL_FS_IO) && \
|
||||||
defined(POLARSSL_THREADING_C) && defined(POLARSSL_THREADING_PTHREAD)
|
defined(POLARSSL_THREADING_C) && defined(POLARSSL_THREADING_PTHREAD)
|
||||||
#include "polarssl/entropy.h"
|
#include "polarssl/entropy.h"
|
||||||
#include "polarssl/ctr_drbg.h"
|
#include "polarssl/ctr_drbg.h"
|
||||||
|
@ -44,8 +44,8 @@
|
|||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(POLARSSL_ENTROPY_C) &&\
|
#if defined(POLARSSL_ENTROPY_C) && \
|
||||||
defined(POLARSSL_SSL_TLS_C) && defined(POLARSSL_SSL_SRV_C) &&\
|
defined(POLARSSL_SSL_TLS_C) && defined(POLARSSL_SSL_SRV_C) && \
|
||||||
defined(POLARSSL_NET_C) && defined(POLARSSL_CTR_DRBG_C)
|
defined(POLARSSL_NET_C) && defined(POLARSSL_CTR_DRBG_C)
|
||||||
#include "polarssl/net.h"
|
#include "polarssl/net.h"
|
||||||
#include "polarssl/ssl.h"
|
#include "polarssl/ssl.h"
|
||||||
@ -278,7 +278,7 @@
|
|||||||
" force_ciphersuite=<name> default: all enabled\n" \
|
" force_ciphersuite=<name> default: all enabled\n" \
|
||||||
" acceptable ciphersuite names:\n"
|
" acceptable ciphersuite names:\n"
|
||||||
|
|
||||||
#if !defined(POLARSSL_ENTROPY_C) ||\
|
#if !defined(POLARSSL_ENTROPY_C) || \
|
||||||
!defined(POLARSSL_SSL_TLS_C) || !defined(POLARSSL_SSL_SRV_C) || \
|
!defined(POLARSSL_SSL_TLS_C) || !defined(POLARSSL_SSL_SRV_C) || \
|
||||||
!defined(POLARSSL_NET_C) || !defined(POLARSSL_CTR_DRBG_C)
|
!defined(POLARSSL_NET_C) || !defined(POLARSSL_CTR_DRBG_C)
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
#define polarssl_printf printf
|
#define polarssl_printf printf
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(POLARSSL_BIGNUM_C) && defined(POLARSSL_RSA_C) &&\
|
#if defined(POLARSSL_BIGNUM_C) && defined(POLARSSL_RSA_C) && \
|
||||||
defined(POLARSSL_PK_PARSE_C) && defined(POLARSSL_FS_IO)
|
defined(POLARSSL_PK_PARSE_C) && defined(POLARSSL_FS_IO)
|
||||||
#include <openssl/rsa.h>
|
#include <openssl/rsa.h>
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
#define polarssl_printf printf
|
#define polarssl_printf printf
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(POLARSSL_RSA_C) && defined(POLARSSL_X509_CRT_PARSE_C) &&\
|
#if defined(POLARSSL_RSA_C) && defined(POLARSSL_X509_CRT_PARSE_C) && \
|
||||||
defined(POLARSSL_FS_IO) && defined(POLARSSL_X509_CRL_PARSE_C)
|
defined(POLARSSL_FS_IO) && defined(POLARSSL_X509_CRL_PARSE_C)
|
||||||
#include "polarssl/certs.h"
|
#include "polarssl/certs.h"
|
||||||
#include "polarssl/x509_crt.h"
|
#include "polarssl/x509_crt.h"
|
||||||
|
@ -36,10 +36,10 @@
|
|||||||
#define polarssl_printf printf
|
#define polarssl_printf printf
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(POLARSSL_BIGNUM_C) && defined(POLARSSL_ENTROPY_C) &&\
|
#if defined(POLARSSL_BIGNUM_C) && defined(POLARSSL_ENTROPY_C) && \
|
||||||
defined(POLARSSL_SSL_TLS_C) && defined(POLARSSL_SSL_SRV_C) &&\
|
defined(POLARSSL_SSL_TLS_C) && defined(POLARSSL_SSL_SRV_C) && \
|
||||||
defined(POLARSSL_SSL_CLI_C) && defined(POLARSSL_NET_C) &&\
|
defined(POLARSSL_SSL_CLI_C) && defined(POLARSSL_NET_C) && \
|
||||||
defined(POLARSSL_RSA_C) && defined(POLARSSL_CTR_DRBG_C) &&\
|
defined(POLARSSL_RSA_C) && defined(POLARSSL_CTR_DRBG_C) && \
|
||||||
defined(POLARSSL_X509_CRT_PARSE_C)
|
defined(POLARSSL_X509_CRT_PARSE_C)
|
||||||
#include "polarssl/net.h"
|
#include "polarssl/net.h"
|
||||||
#include "polarssl/ssl.h"
|
#include "polarssl/ssl.h"
|
||||||
|
@ -34,10 +34,10 @@
|
|||||||
#define polarssl_printf printf
|
#define polarssl_printf printf
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(POLARSSL_BIGNUM_C) && defined(POLARSSL_ENTROPY_C) &&\
|
#if defined(POLARSSL_BIGNUM_C) && defined(POLARSSL_ENTROPY_C) && \
|
||||||
defined(POLARSSL_SSL_TLS_C) && defined(POLARSSL_SSL_CLI_C) &&\
|
defined(POLARSSL_SSL_TLS_C) && defined(POLARSSL_SSL_CLI_C) && \
|
||||||
defined(POLARSSL_NET_C) && defined(POLARSSL_RSA_C) &&\
|
defined(POLARSSL_NET_C) && defined(POLARSSL_RSA_C) && \
|
||||||
defined(POLARSSL_X509_CRT_PARSE_C) && defined(POLARSSL_FS_IO) &&\
|
defined(POLARSSL_X509_CRT_PARSE_C) && defined(POLARSSL_FS_IO) && \
|
||||||
defined(POLARSSL_CTR_DRBG_C)
|
defined(POLARSSL_CTR_DRBG_C)
|
||||||
#include "polarssl/entropy.h"
|
#include "polarssl/entropy.h"
|
||||||
#include "polarssl/ctr_drbg.h"
|
#include "polarssl/ctr_drbg.h"
|
||||||
|
@ -33,9 +33,9 @@
|
|||||||
#define polarssl_printf printf
|
#define polarssl_printf printf
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(POLARSSL_X509_CRT_WRITE_C) &&\
|
#if defined(POLARSSL_X509_CRT_WRITE_C) && \
|
||||||
defined(POLARSSL_X509_CRT_PARSE_C) && defined(POLARSSL_FS_IO) &&\
|
defined(POLARSSL_X509_CRT_PARSE_C) && defined(POLARSSL_FS_IO) && \
|
||||||
defined(POLARSSL_ENTROPY_C) && defined(POLARSSL_CTR_DRBG_C) &&\
|
defined(POLARSSL_ENTROPY_C) && defined(POLARSSL_CTR_DRBG_C) && \
|
||||||
defined(POLARSSL_ERROR_C)
|
defined(POLARSSL_ERROR_C)
|
||||||
#include "polarssl/x509_crt.h"
|
#include "polarssl/x509_crt.h"
|
||||||
#include "polarssl/x509_csr.h"
|
#include "polarssl/x509_csr.h"
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
#define polarssl_printf printf
|
#define polarssl_printf printf
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(POLARSSL_BIGNUM_C) && defined(POLARSSL_RSA_C) &&\
|
#if defined(POLARSSL_BIGNUM_C) && defined(POLARSSL_RSA_C) && \
|
||||||
defined(POLARSSL_X509_CRL_PARSE_C) && defined(POLARSSL_FS_IO)
|
defined(POLARSSL_X509_CRL_PARSE_C) && defined(POLARSSL_FS_IO)
|
||||||
#include "polarssl/x509_crl.h"
|
#include "polarssl/x509_crl.h"
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
#define polarssl_printf printf
|
#define polarssl_printf printf
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(POLARSSL_BIGNUM_C) && defined(POLARSSL_RSA_C) &&\
|
#if defined(POLARSSL_BIGNUM_C) && defined(POLARSSL_RSA_C) && \
|
||||||
defined(POLARSSL_X509_CSR_PARSE_C) && defined(POLARSSL_FS_IO)
|
defined(POLARSSL_X509_CSR_PARSE_C) && defined(POLARSSL_FS_IO)
|
||||||
#include "polarssl/x509_csr.h"
|
#include "polarssl/x509_csr.h"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user