openssl/engines
Richard Levitte 1aa89a7a3a Unify all assembler file generators
They now generally conform to the following argument sequence:

    script.pl "$(PERLASM_SCHEME)" [ C preprocessor arguments ... ] \
              $(PROCESSOR) <output file>

However, in the spirit of being able to use these scripts manually,
they also allow for no argument, or for only the flavour, or for only
the output file.  This is done by only using the last argument as
output file if it's a file (it has an extension), and only using the
first argument as flavour if it isn't a file (it doesn't have an
extension).

While we're at it, we make all $xlate calls the same, i.e. the $output
argument is always quoted, and we always die on error when trying to
start $xlate.

There's a perl lesson in this, regarding operator priority...

This will always succeed, even when it fails:

    open FOO, "something" || die "ERR: $!";

The reason is that '||' has higher priority than list operators (a
function is essentially a list operator and gobbles up everything
following it that isn't lower priority), and since a non-empty string
is always true, so that ends up being exactly the same as:

    open FOO, "something";

This, however, will fail if "something" can't be opened:

    open FOO, "something" or die "ERR: $!";

The reason is that 'or' has lower priority that list operators,
i.e. it's performed after the 'open' call.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9884)
2019-09-16 16:29:57 +02:00
..
asm Unify all assembler file generators 2019-09-16 16:29:57 +02:00
build.info build.info: For all assembler generators, remove all arguments 2019-09-16 16:29:57 +02:00
e_afalg_err.c Avoid using ERR_put_error() directly in OpenSSL code 2019-07-31 06:45:21 +02:00
e_afalg_err.h Regenerate mkerr files 2019-07-16 05:26:28 +02:00
e_afalg.c Use OPENSSL_strlcpy instead of strncpy in e_afalg.c 2019-07-30 20:36:32 +02:00
e_afalg.ec
e_afalg.h
e_afalg.txt Regenerate mkerr files 2019-07-16 05:26:28 +02:00
e_capi_err.c Avoid using ERR_put_error() directly in OpenSSL code 2019-07-31 06:45:21 +02:00
e_capi_err.h Regenerate mkerr files 2019-07-16 05:26:28 +02:00
e_capi.c
e_capi.ec
e_capi.txt Regenerate mkerr files 2019-07-16 05:26:28 +02:00
e_dasync_err.c Avoid using ERR_put_error() directly in OpenSSL code 2019-07-31 06:45:21 +02:00
e_dasync_err.h Regenerate mkerr files 2019-07-16 05:26:28 +02:00
e_dasync.c
e_dasync.ec
e_dasync.txt Regenerate mkerr files 2019-07-16 05:26:28 +02:00
e_devcrypto.c Replace FUNCerr with ERR_raise_data 2019-08-02 11:41:54 +02:00
e_ossltest_err.c Avoid using ERR_put_error() directly in OpenSSL code 2019-07-31 06:45:21 +02:00
e_ossltest_err.h Regenerate mkerr files 2019-07-16 05:26:28 +02:00
e_ossltest.c
e_ossltest.ec
e_ossltest.txt Regenerate mkerr files 2019-07-16 05:26:28 +02:00
e_padlock.c Deprecate the "hw" configuration options, make "padlockeng" disablable 2019-03-05 08:46:51 +01:00