Fix formatting in various code to match spacing from coding style
This commit is contained in:
parent
db20c10423
commit
66d5d076f7
46 changed files with 293 additions and 292 deletions
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* AES-NI support functions
|
* AES-NI support functions
|
||||||
*
|
*
|
||||||
* Copyright (C) 2013, Brainspark B.V.
|
* Copyright (C) 2006-2014, Brainspark B.V.
|
||||||
*
|
*
|
||||||
* This file is part of PolarSSL (http://www.polarssl.org)
|
* This file is part of PolarSSL (http://www.polarssl.org)
|
||||||
* Lead Maintainer: Paul Bakker <polarssl_maintainer at polarssl.org>
|
* Lead Maintainer: Paul Bakker <polarssl_maintainer at polarssl.org>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* Debugging routines
|
* Debugging routines
|
||||||
*
|
*
|
||||||
* Copyright (C) 2006-2010, Brainspark B.V.
|
* Copyright (C) 2006-2014, Brainspark B.V.
|
||||||
*
|
*
|
||||||
* This file is part of PolarSSL (http://www.polarssl.org)
|
* This file is part of PolarSSL (http://www.polarssl.org)
|
||||||
* Lead Maintainer: Paul Bakker <polarssl_maintainer at polarssl.org>
|
* Lead Maintainer: Paul Bakker <polarssl_maintainer at polarssl.org>
|
||||||
|
|
|
@ -101,12 +101,12 @@ void ecdh_free( ecdh_context *ctx )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
ecp_group_free( &ctx->grp );
|
ecp_group_free( &ctx->grp );
|
||||||
mpi_free ( &ctx->d );
|
|
||||||
ecp_point_free( &ctx->Q );
|
ecp_point_free( &ctx->Q );
|
||||||
ecp_point_free( &ctx->Qp );
|
ecp_point_free( &ctx->Qp );
|
||||||
mpi_free ( &ctx->z );
|
|
||||||
ecp_point_free( &ctx->Vi );
|
ecp_point_free( &ctx->Vi );
|
||||||
ecp_point_free( &ctx->Vf );
|
ecp_point_free( &ctx->Vf );
|
||||||
|
mpi_free( &ctx->d );
|
||||||
|
mpi_free( &ctx->z );
|
||||||
mpi_free( &ctx->_d );
|
mpi_free( &ctx->_d );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
*
|
*
|
||||||
* \author Mathias Olsson <mathias@kompetensum.com>
|
* \author Mathias Olsson <mathias@kompetensum.com>
|
||||||
*
|
*
|
||||||
* Copyright (C) 2006-2012, Brainspark B.V.
|
* Copyright (C) 2006-2014, Brainspark B.V.
|
||||||
*
|
*
|
||||||
* This file is part of PolarSSL (http://www.polarssl.org)
|
* This file is part of PolarSSL (http://www.polarssl.org)
|
||||||
* Lead Maintainer: Paul Bakker <polarssl_maintainer at polarssl.org>
|
* Lead Maintainer: Paul Bakker <polarssl_maintainer at polarssl.org>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* Public Key abstraction layer
|
* Public Key abstraction layer
|
||||||
*
|
*
|
||||||
* Copyright (C) 2006-2013, Brainspark B.V.
|
* Copyright (C) 2006-2014, Brainspark B.V.
|
||||||
*
|
*
|
||||||
* This file is part of PolarSSL (http://www.polarssl.org)
|
* This file is part of PolarSSL (http://www.polarssl.org)
|
||||||
* Lead Maintainer: Paul Bakker <polarssl_maintainer at polarssl.org>
|
* Lead Maintainer: Paul Bakker <polarssl_maintainer at polarssl.org>
|
||||||
|
|
|
@ -2397,6 +2397,7 @@ curve_matching_done:
|
||||||
if( md_alg != POLARSSL_MD_NONE )
|
if( md_alg != POLARSSL_MD_NONE )
|
||||||
{
|
{
|
||||||
md_context_t ctx;
|
md_context_t ctx;
|
||||||
|
const md_info_t *md_info = md_info_from_type( md_alg );
|
||||||
|
|
||||||
/* Info from md_alg will be used instead */
|
/* Info from md_alg will be used instead */
|
||||||
hashlen = 0;
|
hashlen = 0;
|
||||||
|
@ -2408,7 +2409,7 @@ curve_matching_done:
|
||||||
* ServerDHParams params;
|
* ServerDHParams params;
|
||||||
* };
|
* };
|
||||||
*/
|
*/
|
||||||
if( ( ret = md_init_ctx( &ctx, md_info_from_type(md_alg) ) ) != 0 )
|
if( ( ret = md_init_ctx( &ctx, md_info ) ) != 0 )
|
||||||
{
|
{
|
||||||
SSL_DEBUG_RET( 1, "md_init_ctx", ret );
|
SSL_DEBUG_RET( 1, "md_init_ctx", ret );
|
||||||
return( ret );
|
return( ret );
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* Threading abstraction layer
|
* Threading abstraction layer
|
||||||
*
|
*
|
||||||
* Copyright (C) 2006-2013, Brainspark B.V.
|
* Copyright (C) 2006-2014, Brainspark B.V.
|
||||||
*
|
*
|
||||||
* This file is part of PolarSSL (http://www.polarssl.org)
|
* This file is part of PolarSSL (http://www.polarssl.org)
|
||||||
* Lead Maintainer: Paul Bakker <polarssl_maintainer at polarssl.org>
|
* Lead Maintainer: Paul Bakker <polarssl_maintainer at polarssl.org>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* X.509 base functions for creating certificates / CSRs
|
* X.509 base functions for creating certificates / CSRs
|
||||||
*
|
*
|
||||||
* Copyright (C) 2006-2013, Brainspark B.V.
|
* Copyright (C) 2006-2014, Brainspark B.V.
|
||||||
*
|
*
|
||||||
* This file is part of PolarSSL (http://www.polarssl.org)
|
* This file is part of PolarSSL (http://www.polarssl.org)
|
||||||
* Lead Maintainer: Paul Bakker <polarssl_maintainer at polarssl.org>
|
* Lead Maintainer: Paul Bakker <polarssl_maintainer at polarssl.org>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue