mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-30 22:43:08 +03:00
Cleanup up non-prototyped functions (static) and const-correctness
More fixes based on the compiler directives -Wcast-qual -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations. Not everything with regards to -Wcast-qual has been fixed as some have unwanted consequences for the rest of the code.
This commit is contained in:
@ -351,7 +351,7 @@ static const oid_descriptor_t *oid_descriptor_from_buf(
|
||||
const unsigned char *oid,
|
||||
size_t len )
|
||||
{
|
||||
const unsigned char *p = (unsigned char *) struct_set;
|
||||
const unsigned char *p = (const unsigned char *) struct_set;
|
||||
const oid_descriptor_t *cur;
|
||||
|
||||
if( struct_set == NULL || oid == NULL )
|
||||
|
Reference in New Issue
Block a user