OpenSSL
OpenSSL is a general purpose cryptographic library that also implements the Secure Sockets Layer (SSL) protocols. This is the component that does all the cryptographic work for OpenSSH.
NOTE
The OpenSSL library contains patented cryptographic algorithms; however, OpenSSH does not use them. The README file lists the patents that might apply. Consult your legal counsel as to whether this is an issue.
The config script attempts to build a library optimized for the specific build machine. This is not distributable or portable, particularly if the build machine is not identical to the intended target machines. Instead, use the Configure Perl script to build a more general library. In selecting the designated support, choose the lowest common denominator platform.
TABLE 3 OpenSSL Configure Architecture Designations
Supported Architectures |
Forte C Compiler |
GNU C Compiler |
sun4c, sun4d, sun4m, sun4u |
solaris-sparcv7-cc |
solaris-sparcv7-gcc |
sun4d, sun4m, sun4u |
solaris-sparcv8-cc |
solaris-sparcv8-gcc |
sun4u |
solaris-sparcv9-cc |
solaris-sparcv9-gcc |
i86pc |
solaris-x86-cc |
solaris-x86-gcc |
NOTE
Avoid all of the designations in the following list.
Designations that start with debug, for example debug-solaris-sparcv8-gcc
This will cause performance problems because it is meant only for debugging problems with the library.
solaris64-sparcv9-gcc31 or solaris64-sparcv9-cc
These designations will not link with the 32-bit Zlib and OpenSSH components.
solaris-sparc-sc3
This compiler is not supported on the Solaris 2.6, 7, 8, or 9 OE releases.
To Build and Test OpenSSL
Change directories to the openssl-x.x.x directory.
Run the Configure script with the appropriate designation.
$ ./Configure designation
Use the make(1S) command to build and test the OpenSSL software.
$ make $ make test
To Install OpenSSL
Become the superuser.
Add /usr/ccs/bin to the $PATH variable, and export the variable.
# PATH=/usr/ccs/bin:$PATH # export PATH
Use the make(1S) command to install the software.
# make install