Skip to content

Commit

Permalink
Include ssl_misc.h for additional SSL helper files
Browse files Browse the repository at this point in the history
This commit replaces #include "common.h" in favour of #include
"ssl_misc.h".

Signed-off-by: Harry Ramsey <harry.ramsey@arm.com>
  • Loading branch information
Harry-Ramsey committed Oct 11, 2024
1 parent 4d432d6 commit e8e23fb
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion library/debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
*/

#include "common.h"
#include "ssl_misc.h"

#if defined(MBEDTLS_DEBUG_C)

Expand Down
2 changes: 1 addition & 1 deletion library/mps_reader.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
*/

#include "common.h"
#include "ssl_misc.h"

#if defined(MBEDTLS_SSL_PROTO_TLS1_3)

Expand Down
2 changes: 1 addition & 1 deletion library/mps_trace.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
*/

#include "common.h"
#include "ssl_misc.h"

#if defined(MBEDTLS_SSL_PROTO_TLS1_3)

Expand Down
2 changes: 1 addition & 1 deletion library/mps_trace.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#ifndef MBEDTLS_MPS_MBEDTLS_MPS_TRACE_H
#define MBEDTLS_MPS_MBEDTLS_MPS_TRACE_H

#include "common.h"
#include "ssl_misc.h"
#include "mps_common.h"
#include "mps_trace.h"

Expand Down
2 changes: 1 addition & 1 deletion library/net_sockets.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#define _XOPEN_SOURCE 600 /* sockaddr_storage */
#endif

#include "common.h"
#include "ssl_misc.h"

#if defined(MBEDTLS_NET_C)

Expand Down
1 change: 0 additions & 1 deletion library/ssl_misc.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
#include "ssl_ciphersuites_internal.h"
#include "x509_internal.h"
#include "pk_internal.h"
#include "common.h"

/* Shorthand for restartable ECC */
#if defined(MBEDTLS_ECP_RESTARTABLE) && \
Expand Down
2 changes: 1 addition & 1 deletion library/version.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
*/

#include "common.h"
#include "ssl_misc.h"

#if defined(MBEDTLS_VERSION_C)

Expand Down

0 comments on commit e8e23fb

Please sign in to comment.