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 )