If booked on one ticket you will be fine, if you miss the connection they will rebook you on the next available.
Of booked as two different tickets they would not be obligated to rebook you.
Equally if on one ticket and its been sold to you it must be a legal connection.
cs