iRdesktop Source Code Archive
Here you can download the source code of released iRdesktop versions:
In the iRdesktop source you'll find the OpenSSL-DownloadAndBuild.command script which will download, eventually patch and compile the openssl source.
Please don't run this script directly from Finder. Execute it from within a terminal prompt.
Here you can also download the referenced openssl packages which are unmodified copies of the archives from http://www.openssl.org/source/
Your source code patches (improvements and bug fixes) are very much appreciated.
Please send them as unified diff to firstname.lastname@example.org
and let us know if we may use your name in the changelog's credit section.