I am needing to add PCI/DSS compliance to an existing OS/2 program. I saw the OpenSSL project and thought it meet the requirements but I am unable to get it to work.
My current code base is based on 'C' using VACPP 3.6.5 compiler. I used both IMPLIB and ILIB /gi to generate library files I could link against ( I tried linking libraries created by both IMPLIB and ILIB but it made no difference in program execution). IMPLIB CRYPTSSL.LIB CRYPTSSL.DLL ILIB /gi CRYPTSSL.DLL CRYPTSSL.LIB Using OpenSSL 0.9.8y I was able to compile a sample program but when running it in the debugger the call PEM_read_RSA_PUBKEY() would trap in EMXLIBCM.DLL (I believe I have the latest version 193603 bytes). I then tried linking against OpenSSL 1.0.0k which does not use EMX (at least according to CHKDLL32) and it fails when linking because it cannot find 12 function references one of which is PEM_read_RSS_PUBKEY() even though the .DEF files show entries for that function. error LNK2029: "PEM_read_RSA_PUBKEY" : unresolved external. error LNK2029: "ERR_print_errors_fp" : unresolved external error LNK2029: "EVP_CIPHER_iv_length" : unresolved external error LNK2029: "EVP_CIPHER_CTX_init" : unresolved external error LNK2029: "EVP_SealInit" : unresolved external error LNK2029: "EVP_PKEY_new" : unresolved external error LNK2029: "EVP_SealFinal" : unresolved external error LNK2029: "EVP_PKEY_free" : unresolved external error LNK2029: "EVP_PKEY_SIZE" : unresolved external error LNK2029: "EVP_aes_128_cbc" : unresolved external error LNK2029: "EVP_PKEY_assign" : unresolved external error LNK2029: "EVP_EncryptUpdate" : unresolved external For OpenSSL 0.9.8y I linked with CRYPTSSL.LIB and/or OPEN_SSL.LIB. The program linked and compiled but trapped in EMXLIBCM.DLL. I used ILIB /gd: to create .DEF files in order to create a list of functions to determine what is in the DLL's. For OpenSSL 1.0.0k I tried linking with KCRYPT10.LIB, KCRPT410.LIB, KSSL10.LIB and KSSL410.LIB. I was never clear on whether EMX DLL's or .a (obj's) files could be used with programs outside of the EMX environment (i.e. not compiled using gcc). I was encouraged to see that OpenSSL 1.0.0k did not use EMX DLL'S but again, I cannot get the program to link due to unresolved externals. Any help or direction would be greatly appreciated. ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [email protected] Automated List Manager [email protected]
