commit | c70581c272dd8b01d5caacab5e42dadcd1e9367f | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Mon Mar 23 13:58:27 2015 +0100 |
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Mon Mar 23 14:11:11 2015 +0100 |
tree | 2d2c8706ab1e7e768815ad01fa554a48aa2ca541 | |
parent | 85b6600ab262e5fcd1682ffadd974ffcda95d7d3 [diff] [blame] |
Add POLARSSL_DEPRECATED_{WARNING,REMOVED}
diff --git a/library/cipher.c b/library/cipher.c index 516fa00..b69d331 100644 --- a/library/cipher.c +++ b/library/cipher.c
@@ -165,13 +165,14 @@ 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 )