Commit cd4c36ad authored by Richard Levitte's avatar Richard Levitte
Browse files

Add support for shared libraries with OS/2.

PR: 124
parent 311e2099
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -20,3 +20,12 @@

 If that finishes successfully you will find the libraries and programs in the
 "out" directory.

 Alternatively, you can make a dynamic build that puts the library code into
 crypto.dll and ssl.dll by running

 > make -f os2-emx-dll.mak

 This will build the above mentioned dlls and a matching pair of import
 libraries in the "out_dll" directory along with the set of test programs
 and the openssl application.
+2 −0
Original line number Diff line number Diff line
@@ -554,7 +554,9 @@ BIO_METHOD *BIO_s_socket(void);
BIO_METHOD *BIO_s_connect(void);
BIO_METHOD *BIO_s_accept(void);
BIO_METHOD *BIO_s_fd(void);
#ifndef OPENSSL_SYS_OS2
BIO_METHOD *BIO_s_log(void);
#endif
BIO_METHOD *BIO_s_bio(void);
BIO_METHOD *BIO_s_null(void);
BIO_METHOD *BIO_f_null(void);
+1 −1
Original line number Diff line number Diff line
@@ -249,7 +249,7 @@


/* Case insensiteve linking causes problems.... */
#if defined(OPENSSL_SYS_WIN16) || defined(OPENSSL_SYS_VMS)
#if defined(OPENSSL_SYS_WIN16) || defined(OPENSSL_SYS_VMS) || defined(OPENSSL_SYS_OS2)
#undef ERR_load_CRYPTO_strings
#define ERR_load_CRYPTO_strings			ERR_load_CRYPTOlib_strings
#undef OCSP_crlID_new
+5 −0
Original line number Diff line number Diff line
@@ -5,6 +5,11 @@ perl util\mkfiles.pl > MINFO

@rem create make file
perl util\mk1mf.pl OS2-EMX > OS2-EMX.mak
perl util\mk1mf.pl dll OS2-EMX > OS2-EMX-DLL.mak

echo Generating export definition files
perl util\mkdef.pl crypto OS2 > os2\crypto.def
perl util\mkdef.pl ssl OS2 > os2\ssl.def

echo Generating x86 for GNU assember

+5 −5
Original line number Diff line number Diff line
@@ -984,8 +984,8 @@ BIO_ghbn_ctrl 1003 EXIST::FUNCTION:
CRYPTO_free_ex_data                     1004	EXIST::FUNCTION:
CRYPTO_get_ex_data                      1005	EXIST::FUNCTION:
CRYPTO_set_ex_data                      1007	EXIST::FUNCTION:
ERR_load_CRYPTO_strings                 1009	EXIST:!VMS,!WIN16:FUNCTION:
ERR_load_CRYPTOlib_strings              1009	EXIST:VMS,WIN16:FUNCTION:
ERR_load_CRYPTO_strings                 1009	EXIST:!OS2,!VMS,!WIN16:FUNCTION:
ERR_load_CRYPTOlib_strings              1009	EXIST:OS2,VMS,WIN16:FUNCTION:
EVP_PKEY_bits                           1010	EXIST::FUNCTION:
MD5_Transform                           1011	EXIST::FUNCTION:MD5
SHA1_Transform                          1012	EXIST::FUNCTION:SHA,SHA1
@@ -1216,7 +1216,7 @@ name_cmp 1239 EXIST::FUNCTION:
str_dup                                 1240	NOEXIST::FUNCTION:
i2s_ASN1_ENUMERATED                     1241	EXIST::FUNCTION:
i2s_ASN1_ENUMERATED_TABLE               1242	EXIST::FUNCTION:
BIO_s_log                               1243	EXIST:!WIN16,!WIN32,!macintosh:FUNCTION:
BIO_s_log                               1243	EXIST:!OS2,!WIN16,!WIN32,!macintosh:FUNCTION:
BIO_f_reliable                          1244	EXIST::FUNCTION:BIO
PKCS7_dataFinal                         1245	EXIST::FUNCTION:
PKCS7_dataDecode                        1246	EXIST::FUNCTION:
@@ -2732,8 +2732,8 @@ EC_POINT_point2oct 3178 EXIST::FUNCTION:EC
KRB5_APREQ_free                         3179	EXIST::FUNCTION:
ASN1_OBJECT_it                          3180	EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE:
ASN1_OBJECT_it                          3180	EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION:
OCSP_crlID_new                          3181	EXIST:!VMS,!WIN16:FUNCTION:
OCSP_crlID2_new                         3181	EXIST:VMS,WIN16:FUNCTION:
OCSP_crlID_new                          3181	EXIST:!OS2,!VMS,!WIN16:FUNCTION:
OCSP_crlID2_new                         3181	EXIST:OS2,VMS,WIN16:FUNCTION:
CONF_modules_load_file                  3182	EXIST::FUNCTION:
CONF_imodule_set_usr_data               3183	EXIST::FUNCTION:
ENGINE_set_default_string               3184	EXIST::FUNCTION:
Loading