It does a lot of things it really shouldn't be doing. I recommend you watch Bob Beck's talk about LibreSSL[1] (Ted's there too).
"You can't turn off the debugging malloc but you can turn off sockets"
"If the size of socklen_t changes while your program is running, OpenSSL will cope"
EDIT to add:
Epic observation: "The good news is: if the size of socklen_t changes while your program is running, then... (other guy) OpenSSL will cope." Lol.
They clearly haven't lost their sense of humour despite working with this terrible material. Lesser men would turn cynical over half the things they have to endure :)