I tried to compile the source code on Fedora 11, but it didn't work. The error log prompted me to install openssl-devel and openssl-static. Compilation still didn't work. So I searched for the cause of the problem and found out that there is no reference to the ""openssl/bn.h" header in msdrm.c and ecc.c (or at least indirectly via config.h). This caused the "undefined function BN_new()" and similar errors when executing "make" (at least in Fedora 11). The root cause is, there's a line missing in the "configure.in" file that should have indicated that openssl is a dependency of FreeMe2.
The patch consists of a fix for configure.in.
Instructions for applying patch:
1. Place FreeMe2_src-0.4.tgz and FreeMe2_src-0.4.patch into a single directory.
2. Change directory to that directory.
3. Run the following commands:
tar xvzf FreeMe2_src-0.4.tgz
patch -p1 < FreeMe2_src-0.4.patch
You can now proceed to compile FreeMe2.
Patch for fixing compile errors
Oops, please ignore my patch. FreeMe2_src-0.4 compiles even without my patch in Fedora 11, as long as you have openssl-devel and openssl-static already installed. Sorry for that.