This port is for ILE (native OS/400) not PASE (PASE is almost like Unix, and already comes with openssl). The idiosynchrasies are explained in the README.as400 file in AS400patch.tar.gz. AS400patch.tar.gz (large patch for OpenSSL and other files): https://drive.google.com/file/d/1XT24UqC5rkPSpCwbFe2CgrTkDCCteEsM/view?usp=sharing Again, the patch is smaller than the one for 1.1.1d one because EBCDIC fixes in 1.1.1e duplicated a part of my patch. AS400_GNU.tar.gz (source for GNU/IBM tools required to build openssl in ILE environment): https://drive.google.com/open?id=1DeKIE32nmUpvk7fvrcSYlflUn_k1CBso