Curl broken in OSX?

Wasted two hours today attempting to HTTP POST some content with a client certificate using curl on OSX Snow Leopard. It somehow would not show its cert to the Apache server.

In an act of desparation, I tried the exact same command with the exact same client certificate on Linux, and it worked.

So I downloaded MacPorts, built curl from there on OSX, and it works. No idea what happened, Google is of no help. I’m mostly posting this that others with my problem can find it.