diff --git a/include/polarssl/version.h b/include/polarssl/version.h index 246d16378..319f85a0f 100644 --- a/include/polarssl/version.h +++ b/include/polarssl/version.h @@ -58,7 +58,7 @@ * \return The constructed version number in the format * MMNNPP00 (Major, Minor, Patch). */ -unsigned int version_get_number(); +unsigned int version_get_number( void ); /** * Get the version string ("x.y.z"). diff --git a/library/rsa.c b/library/rsa.c index 1a6a1621b..bc3c8bf6d 100644 --- a/library/rsa.c +++ b/library/rsa.c @@ -1000,7 +1000,6 @@ int rsa_pkcs1_verify( rsa_context *ctx, return( 0 ); else return( POLARSSL_ERR_RSA_VERIFY_FAILED ); - break; #endif default: diff --git a/library/x509parse.c b/library/x509parse.c index 74c4fd5e6..c5da0fc34 100644 --- a/library/x509parse.c +++ b/library/x509parse.c @@ -91,7 +91,6 @@ static int asn1_get_len( unsigned char **p, default: return( POLARSSL_ERR_ASN1_INVALID_LENGTH ); - break; } }