Fix pk_can_do() constness issue

This commit is contained in:
Manuel Pégourié-Gonnard 2015-03-19 14:01:57 +00:00
parent b295e4fdc4
commit 0db107e4ba
3 changed files with 4 additions and 4 deletions

View file

@ -292,7 +292,7 @@ static inline size_t pk_get_len( const pk_context *ctx )
* \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).