Add POLARSSL_DEPRECATED_{WARNING,REMOVED}
This commit is contained in:
parent
85b6600ab2
commit
c70581c272
13 changed files with 105 additions and 9 deletions
|
@ -165,13 +165,14 @@ int cipher_init_ctx( cipher_context_t *ctx, const cipher_info_t *cipher_info )
|
|||
return( 0 );
|
||||
}
|
||||
|
||||
/* compatibility wrapper */
|
||||
#if ! defined(POLARSSL_DEPRECATED_REMOVED)
|
||||
int cipher_free_ctx( cipher_context_t *ctx )
|
||||
{
|
||||
cipher_free( ctx );
|
||||
|
||||
return( 0 );
|
||||
}
|
||||
#endif
|
||||
|
||||
int cipher_setkey( cipher_context_t *ctx, const unsigned char *key,
|
||||
int key_length, const operation_t operation )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue