commit | 0db107e4baabbeaf33fd914bd13eb63cd9ee9e41 | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Thu Mar 19 14:01:57 2015 +0000 |
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Thu Mar 19 14:01:57 2015 +0000 |
tree | aa2a115401acf896d803b593013eb18a4e84c4c7 | |
parent | b295e4fdc43c25558b911d3531769f2bd24ffcd9 [diff] [blame] |
Fix pk_can_do() constness issue
diff --git a/include/mbedtls/pk.h b/include/mbedtls/pk.h index 8d9407c..14ac65e 100644 --- a/include/mbedtls/pk.h +++ b/include/mbedtls/pk.h
@@ -292,7 +292,7 @@ * \return 0 if context can't do the operations, * 1 otherwise. */ -int pk_can_do( pk_context *ctx, pk_type_t type ); +int pk_can_do( const pk_context *ctx, pk_type_t type ); /** * \brief Verify signature (including padding if relevant).