Debian wheezy (currently oldstable) ships courier-0.68 which was probably released on 2012. "Probably", because, head over to the Courier website and try to find the NEWS/ChangeLog.
Anyway. Courier-0.68 has built-in openssl support on Debian and it initializes a SSL context the following way:
ctx=SSL_CTX_new(protocol && strcmp(protocol, "SSL3") == 0 ? SSLv3_method():