X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;ds=sidebyside;f=INSTALL.md;h=5afd1acae2d4c5651db15b580e90c4d4b1c9e6d4;hb=22063850586945fd98ad3656df21c16adfef89ae;hp=d4da50c7f7fa38efcbf225e9b602d336540fad12;hpb=257e9d03b028402089c9f98f3acb25ba668c09af;p=oweals%2Fopenssl.git diff --git a/INSTALL.md b/INSTALL.md index d4da50c7f7..5afd1acae2 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -262,13 +262,14 @@ for 32bit binaries on 64bit Windows (WOW64). #### Installing to a different location To install OpenSSL to a different location (for example into your home -directory for testing purposes) run config like this: +directory for testing purposes) run config as shown in the following +examples. -**On Unix** +On Unix: $ ./config --prefix=/opt/openssl --openssldir=/usr/local/ssl -**On OpenVMS** +On OpenVMS: $ @config --prefix=PROGRAM:[INSTALLS] --openssldir=SYS$MANAGER:[OPENSSL] @@ -500,6 +501,16 @@ never be used in production environments. It will only work when used with gcc or clang and should be used in conjunction with the [no-shared](#no-shared) option. +### no-acvp_tests + +Do not build support for Automated Cryptographic Validation Protocol (ACVP) +tests. + +This is required for FIPS validation purposes. Certain ACVP tests require +access to algorithm internals that are not normally accessible. +Additional information related to ACVP can be found at +. + ### no-asm Do not use assembler code. @@ -1549,7 +1560,7 @@ Configuration Problems The `./config` script tries hard to guess your operating system, but in some cases it does not succeed. You will see a message like the following: - $ ./config + ./config Operating system: x86-whatever-minix This system (minix) is not supported. See file INSTALL for details. @@ -1607,7 +1618,7 @@ Note: To make the output readable, pleace add a 'code fence' (three backquotes ` ``` ` on a separate line) before and after your output: ``` - $ ./Configure [your arguments...] + ./Configure [your arguments...] [output...] @@ -1627,9 +1638,9 @@ If the build succeeded previously, but fails after a source or configuration change, it might be helpful to clean the build tree before attempting another build. Use this command: - $ make clean # Unix - $ mms clean ! (or mmk) OpenVMS - $ nmake clean # Windows + make clean # Unix + mms clean ! (or mmk) OpenVMS + nmake clean # Windows Assembler error messages can sometimes be sidestepped by using the "no-asm" configuration option. @@ -1647,37 +1658,45 @@ Test Failures ------------- If some tests fail, look at the output. There may be reasons for the failure -that isn't a problem in OpenSSL itself (like a malfunction with Perl). +that isn't a problem in OpenSSL itself (like an OS malfunction or a Perl issue). You may want increased verbosity, that can be accomplished like this: -Verbosity on failure only (make macro VERBOSE_FAILURE or VF): +Full verbosity (`make` macro `VERBOSE` or `V`): + + make V=1 test # Unix + mms /macro=(V=1) test ! OpenVMS + nmake V=1 test # Windows + +Verbosity on test failure (`VERBOSE_FAILURE` or `VF´, Unix example shown): + + make test VF=1 + +Verbosity on failed (sub-)tests only (`VERBOSE_FAILURES_ONLY` or `VFO`): - $ make VF=1 test # Unix - $ mms /macro=(VF=1) test ! OpenVMS - $ nmake VF=1 test # Windows + make test VFO=1 -Full verbosity (make macro VERBOSE or V): +Verbosity on failed (sub-)tests, in addition progress on succeeded (sub-)tests +(`VERBOSE_FAILURES_PROGRESS` or `VFP`): - $ make V=1 test # Unix - $ mms /macro=(V=1) test ! OpenVMS - $ nmake V=1 test # Windows + make test VFP=1 If you want to run just one or a few specific tests, you can use the make variable TESTS to specify them, like this: - $ make TESTS='test_rsa test_dsa' test # Unix - $ mms/macro="TESTS=test_rsa test_dsa" test ! OpenVMS - $ nmake TESTS='test_rsa test_dsa' test # Windows + make TESTS='test_rsa test_dsa' test # Unix + mms/macro="TESTS=test_rsa test_dsa" test ! OpenVMS + nmake TESTS='test_rsa test_dsa' test # Windows -And of course, you can combine (Unix example shown): +And of course, you can combine (Unix examples shown): - $ make VF=1 TESTS='test_rsa test_dsa' test + make test TESTS='test_rsa test_dsa' VF=1 + make test TESTS="test_cmp_*" VFO=1 You can find the list of available tests like this: - $ make list-tests # Unix - $ mms list-tests ! OpenVMS - $ nmake list-tests # Windows + make list-tests # Unix + mms list-tests ! OpenVMS + nmake list-tests # Windows Have a look at the manual for the perl module Test::Harness to see what other HARNESS_* variables there are.