Revert "Fix guards for mbedtls_ssl_ticket_write() and mbedtls_ssl_ticket_parse() functions"

This reverts commit a82290b7271a3cd489e62a0f98d24622dbbf4bbe.

Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
diff --git a/library/ssl_ticket.c b/library/ssl_ticket.c
index 5398c39..359686a 100644
--- a/library/ssl_ticket.c
+++ b/library/ssl_ticket.c
@@ -114,7 +114,6 @@
 /*
  * Rotate/generate keys if necessary
  */
-#if defined(MBEDTLS_CIPHER_MODE_AEAD) || defined(MBEDTLS_NIST_KW_C)
 MBEDTLS_CHECK_RETURN_CRITICAL
 static int ssl_ticket_update_keys( mbedtls_ssl_ticket_context *ctx )
 {
@@ -151,7 +150,6 @@
 #endif /* MBEDTLS_HAVE_TIME */
         return( 0 );
 }
-#endif
 
 /*
  * Rotate active session ticket encryption key
@@ -295,7 +293,7 @@
  * The key_name, iv, and length of encrypted_state are the additional
  * authenticated data.
  */
-#if defined(MBEDTLS_CIPHER_MODE_AEAD) || defined(MBEDTLS_NIST_KW_C)
+
 int mbedtls_ssl_ticket_write( void *p_ticket,
                               const mbedtls_ssl_session *session,
                               unsigned char *start,
@@ -392,9 +390,7 @@
 
     return( ret );
 }
-#endif
 
-#if defined(MBEDTLS_CIPHER_MODE_AEAD) || defined(MBEDTLS_NIST_KW_C)
 /*
  * Select key based on name
  */
@@ -521,7 +517,6 @@
 
     return( ret );
 }
-#endif
 
 /*
  * Free context