skip book previous and next navigation links
go up to top of book: HP Open Source Security for OpenVMS Volume 2:... HP Open Source Security for OpenVMS Volume 2:...
go to beginning of chapter: Installation and Release NotesInstallation and Release Notes
go to previous page: SSL Directory StructureSSL Directory Structure
go to next page: Release NotesRelease Notes
end of book navigation links

Building an SSL Application  



SSL for OpenVMS provides shareable images that contain 64-bitAPIs and shareable images that contain 32-bit APIs. You can choosewhich APIs to use when you compile your application.

The file names for these shareable images are as follows:

SYS$SHARE:SSL$LIBSSL_SHR.EXE - 64-bit SSL APIs

SYS$SHARE:SSL$LIBCRYPTO_SHR.EXE - 64-bit Crypto APIs

SYS$SHARE:SSL$LIBSSL_SHR32.EXE - 32-bit SSL APIs

SYS$SHARE:SSL$LIBCRYPTO_SHR32.EXE - 32-bit Crypto APIs

When you compile your application using HP C, use the /POINTER_SIZE=64qualifier to take advantage of the 64-bit APIs. The default valuefor the /POINTER_SIZE qualifier is 32.

Linking your application is the same for both 64-bit or 32-bitAPIs. The options file used contains either the 64-bit or 32-bitreferences to the appropriate shareable image.

Building an Application Using 64-Bit APIs 

To build (compile and link) a sample program using the 64-bitAPIs, enter the following commands:

$ CC/POINTER_SIZE=64/PREFIX=ALL SAMPLE.C$ LINK/MAP SAMPLE,LINKER_OPT/OPTIONS
In these commands, LINKER_OPT.OPT is a simple text file thatcontains the following lines:
SYS$SHARE:SSL$LIBSSL_SHR/SHARESYS$SHARE:SSL$LIBCRYPTO_SHR/SHARE

Building an Application Using 32-Bit APIs 

To build (compile and link) a sample program using the 32-bitAPIs, enter the following commands:

$ CC/PREFIX=ALL SAMPLE.C$ LINK/MAP SAMPLE,LINKER_OPT/OPTIONS
In these commands, LINKER_OPT.OPT is a simple text file thatcontains the following lines:
SYS$SHARE:SSL$LIBSSL_SHR32/SHARESYS$SHARE:SSL$LIBCRYPTO_SHR32/SHARE

go to previous page: SSL Directory StructureSSL Directory Structure
go to next page: Release NotesRelease Notes