At the time of writing, you need to go download the latest apk from the releases page.
After installing run termux-change-repo.
Select all mirrors -> setting it to the Grimler91 mirror seemed to work for me.
Next run pkg up -y to update all packages and mirrors etc.
After that libssl should be working (i was having trouble with it).