mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-11-08 06:42:24 +03:00
Add POLARSSL_DEPRECATED_{WARNING,REMOVED}
This commit is contained in:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user