A quick trick to solve this problem on OSX (Lion in my case) using macports
$ svn co https://svn.mycompany.com/repository/trunk repos
svn: E175002: Unable to connect to a repository at URL https://svn.mycompany.com/repository/trunk'
svn: E175002: OPTIONS of 'https://svn.mycompany.com/repository/trunk': SSL handshake failed:
SSL disabled due to library version mismatch (https://svn.mycompany.com)
Solution:
$ sudo port upgrade neon
Hope it helps someone, as I found it quite confusing to solve