The crocodile is a fairly easy winner if these two species were to tangle.
Crocodiles are much larger and even if the reptiles were of the same size, the crocodile would still win.
Their much keener senses and longer lifespans would allow them to win the battle, but these types of fair matchups are not often found in the wilderness.