File tree 3 files changed +6
-32
lines changed
3 files changed +6
-32
lines changed Original file line number Diff line number Diff line change @@ -5,3 +5,7 @@ API changes
5
5
Mbed TLS error codes..
6
6
This will not affect most applications since in both cases, the
7
7
error values are between -32767 and -1 as before.
8
+
9
+ Removals
10
+ * Remove mbedtls_low_level_sterr() and mbedtls_high_level_strerr(),
11
+ since these concepts no longer exists. There is just mbedtls_strerror().
Original file line number Diff line number Diff line change @@ -30,36 +30,6 @@ extern "C" {
30
30
*/
31
31
void mbedtls_strerror (int errnum , char * buffer , size_t buflen );
32
32
33
- /**
34
- * \brief Translate the high-level part of an Mbed TLS error code into a string
35
- * representation.
36
- *
37
- * This function returns a const pointer to an un-modifiable string. The caller
38
- * must not try to modify the string. It is intended to be used mostly for
39
- * logging purposes.
40
- *
41
- * \param error_code error code
42
- *
43
- * \return The string representation of the error code, or \c NULL if the error
44
- * code is unknown.
45
- */
46
- const char * mbedtls_high_level_strerr (int error_code );
47
-
48
- /**
49
- * \brief Translate the low-level part of an Mbed TLS error code into a string
50
- * representation.
51
- *
52
- * This function returns a const pointer to an un-modifiable string. The caller
53
- * must not try to modify the string. It is intended to be used mostly for
54
- * logging purposes.
55
- *
56
- * \param error_code error code
57
- *
58
- * \return The string representation of the error code, or \c NULL if the error
59
- * code is unknown.
60
- */
61
- const char * mbedtls_low_level_strerr (int error_code );
62
-
63
33
#ifdef __cplusplus
64
34
}
65
35
#endif
Original file line number Diff line number Diff line change 20
20
21
21
HEADER_INCLUDED
22
22
23
- const char *mbedtls_high_level_strerr(int error_code)
23
+ static const char *mbedtls_high_level_strerr(int error_code)
24
24
{
25
25
int high_level_error_code;
26
26
@@ -43,7 +43,7 @@ const char *mbedtls_high_level_strerr(int error_code)
43
43
return NULL;
44
44
}
45
45
46
- const char *mbedtls_low_level_strerr(int error_code)
46
+ static const char *mbedtls_low_level_strerr(int error_code)
47
47
{
48
48
int low_level_error_code;
49
49
You can’t perform that action at this time.
0 commit comments