Make the no-err option work properly
This commit is contained in:
parent
26e9724458
commit
758f942b88
11
CHANGES
11
CHANGES
@ -436,6 +436,17 @@ TODO: bug: pad x with leading zeros if necessary
|
|||||||
|
|
||||||
Changes between 0.9.7 and 0.9.7a [XX xxx 2003]
|
Changes between 0.9.7 and 0.9.7a [XX xxx 2003]
|
||||||
|
|
||||||
|
*) Make the no-err option work as intended. The intention with no-err
|
||||||
|
is not to have the whole error stack handling routines removed from
|
||||||
|
libcrypto, it's only intended to remove all the function name and
|
||||||
|
reason texts, thereby removing some of the footprint that may not
|
||||||
|
be interesting if those errors aren't displayed anyway.
|
||||||
|
|
||||||
|
NOTE: it's still possible for any application or module to have it's
|
||||||
|
own set of error texts inserted. The routines are there, just not
|
||||||
|
used by default when no-err is given.
|
||||||
|
[Richard Levitte]
|
||||||
|
|
||||||
*) Add support for FreeBSD on IA64.
|
*) Add support for FreeBSD on IA64.
|
||||||
[dirk.meyer@dinoex.sub.org via Richard Levitte, resolves #454]
|
[dirk.meyer@dinoex.sub.org via Richard Levitte, resolves #454]
|
||||||
|
|
||||||
|
@ -692,6 +692,11 @@ PROCESS_ARGS:
|
|||||||
$flags .= "-DOPENSSL_NO_ASM ";
|
$flags .= "-DOPENSSL_NO_ASM ";
|
||||||
$openssl_other_defines .= "#define OPENSSL_NO_ASM\n";
|
$openssl_other_defines .= "#define OPENSSL_NO_ASM\n";
|
||||||
}
|
}
|
||||||
|
elsif (/^no-err$/)
|
||||||
|
{
|
||||||
|
$flags .= "-DOPENSSL_NO_ERR ";
|
||||||
|
$openssl_other_defines .= "#define OPENSSL_NO_ERR\n";
|
||||||
|
}
|
||||||
elsif (/^no-hw-(.+)$/)
|
elsif (/^no-hw-(.+)$/)
|
||||||
{
|
{
|
||||||
my $hw=$1;
|
my $hw=$1;
|
||||||
|
@ -212,6 +212,7 @@ static ERR_STRING_DATA ERR_str_reasons[]=
|
|||||||
|
|
||||||
{0,NULL},
|
{0,NULL},
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/* Define the predeclared (but externally opaque) "ERR_FNS" type */
|
/* Define the predeclared (but externally opaque) "ERR_FNS" type */
|
||||||
@ -492,6 +493,7 @@ static int int_err_get_next_lib(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#ifndef OPENSSL_NO_ERR
|
||||||
#define NUM_SYS_STR_REASONS 127
|
#define NUM_SYS_STR_REASONS 127
|
||||||
#define LEN_SYS_STR_REASON 32
|
#define LEN_SYS_STR_REASON 32
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user