#
2e963849 |
| 10-Feb-2016 |
Richard Levitte |
Make the processing of build.info files more aware of absolute dirs There were cases where some input was absolute, and concatenating it to the diretory to the source or build top could
Make the processing of build.info files more aware of absolute dirs There were cases where some input was absolute, and concatenating it to the diretory to the source or build top could fail spectacularly. Let's check the input first to see if it's absolute. And while we're on the subject of checking if a file or dir spec is absolute using file_name_is_absolute() has its own quirks on VMS, where a logical name is considered absolute under most circumstances. This is perfectly correct from a VMS point of view, but when parsing the build.info files, we want single word file or directory names to only be checked syntactically. A function isabsolute() that does the right thing is the solution. Reviewed-by: Rich Salz <rsalz@openssl.org>
show more ...
|
#
7839b735 |
| 09-Feb-2016 |
Mat |
GH649: Fix: version32.rc was not created on Windows version32.rc was not created on Windows. The if condition has been corrected. Signed-off-by: Rich Salz <rsalz@openssl.org> Re
GH649: Fix: version32.rc was not created on Windows version32.rc was not created on Windows. The if condition has been corrected. Signed-off-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Tim Hudson <tjh@openssl.org>
show more ...
|
#
498abff0 |
| 09-Feb-2016 |
Matt Caswell |
Add an OPENSSL_NO_AUTOERRINIT option This option disables automatic loading of the crypto/ssl error strings in order to keep statically linked executable file size down Reviewed
Add an OPENSSL_NO_AUTOERRINIT option This option disables automatic loading of the crypto/ssl error strings in order to keep statically linked executable file size down Reviewed-by: Richard Levitte <levitte@openssl.org>
show more ...
|
#
b184e3ef |
| 09-Feb-2016 |
Matt Caswell |
Provide framework for auto initialise/deinitialise of the library This commit provides the basis and core code for an auto initialisation and deinitialisation framework for libcrypto and
Provide framework for auto initialise/deinitialise of the library This commit provides the basis and core code for an auto initialisation and deinitialisation framework for libcrypto and libssl. The intention is to remove the need (in many circumstances) to call explicit initialise and deinitialise functions. Explicit initialisation will still be an option, and if non-default initialisation is needed then it will be required. Similarly for de-initialisation (although this will be a lot easier since it will bring all de-initialisation into a single function). Reviewed-by: Richard Levitte <levitte@openssl.org>
show more ...
|
#
ec182ef0 |
| 09-Feb-2016 |
Richard Levitte |
Use rel2abs() on VMS, rather than realpath() It seems realpath() is quite buggy on VMS, or will at least give quite surprising results. On the other hand, realpath() is the better on
Use rel2abs() on VMS, rather than realpath() It seems realpath() is quite buggy on VMS, or will at least give quite surprising results. On the other hand, realpath() is the better on Unix to clean out clutter like foo/../bar on Unix. So we make out own function to get the absolute directory for a given input, and use rel2abs() or realpath() depending on the platform Configure runs on. Issue reported by Steven M. Schweda <sms@antinode.info> Reviewed-by: Andy Polyakov <appro@openssl.org>
show more ...
|
#
ddf1847d |
| 29-Jan-2016 |
Richard Levitte |
unified build scheme: add and document the "unified" driving engine common.tmpl will be used together with the template build file, and is the engine that connects the information gather
unified build scheme: add and document the "unified" driving engine common.tmpl will be used together with the template build file, and is the engine that connects the information gathered from all the build.info files with making the build file itself. This file expects there to be a template section in the build file template that defines a number perl functions designed to return strings with appropriate lines for the build system at hand. The exact functions, what they can expect as arguments and what output they're expected to produce is documented in Configurations/README. Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
show more ...
|
#
dca99383 |
| 08-Feb-2016 |
Richard Levitte |
Use File::Path::mkpath rather than File::Path::make_path File::Path::make_path didn't show up before File::Path 2.06 / perl v5.10.1. Because we're trying to stay compatible with perl v5.
Use File::Path::mkpath rather than File::Path::make_path File::Path::make_path didn't show up before File::Path 2.06 / perl v5.10.1. Because we're trying to stay compatible with perl v5.10.0 and up, it's better to use the legacy interface. Reviewed-by: Andy Polyakov <appro@openssl.org>
show more ...
|
#
c86ddbe6 |
| 05-Feb-2016 |
Richard Levitte |
Enhance and clear the support of linker flags Some time ago, we had a ex_libs configuration setting that could be divided into lflags and ex_libs. These got divided in two settings,
Enhance and clear the support of linker flags Some time ago, we had a ex_libs configuration setting that could be divided into lflags and ex_libs. These got divided in two settings, lflags and ex_libs, and the former was interpreted to be general linking flags. Unfortunately, that conclusion wasn't entirely accurate. Most of those linking were meant to end up in a very precise position on the linking command line, just before the spec of libraries the linking depends on. Back to the drawing board, we're diving things further, now having lflags, which are linking flags that aren't depending on command line position, plib_lflags, which are linking flags that should show up just before the spec of libraries to depend on, and finally ex_libs, which is the spec of extra libraries to depend on. Also, documentation is changed in Configurations/README. This was previously forgotten. Reviewed-by: Kurt Roeckx <kurt@openssl.org>
show more ...
|
#
52739e40 |
| 04-Feb-2016 |
Todd Short |
Add option to disable async Add no-async option to Configure that forces ASYNC_NULL. Related to RT1979 An embedded system or replacement C library (e.g. musl or uClibc) may not s
Add option to disable async Add no-async option to Configure that forces ASYNC_NULL. Related to RT1979 An embedded system or replacement C library (e.g. musl or uClibc) may not support the *context APIs that are needed for async operation. Compiles with musl. Ran unit tests, async tests skipped as expected. Signed-off-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org>
show more ...
|
#
b31feae6 |
| 03-Feb-2016 |
Richard Levitte |
If egd is disabled by default, it should be possible to enable Reviewed-by: Andy Polyakov <appro@openssl.org>
|
#
20a5819f |
| 03-Feb-2016 |
Michael Lee |
[Configure] Make --with-zlib-* work with configdata.pm Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org>
|
#
85152ca4 |
| 02-Feb-2016 |
Richard Levitte |
Use a simpler method to build a glob than splitpath and catpath It turns out that the combination splitpath() could return an empty string for the directory part. This doesn't play well
Use a simpler method to build a glob than splitpath and catpath It turns out that the combination splitpath() could return an empty string for the directory part. This doesn't play well with catdir(). Reviewed-by: Rich Salz <rsalz@openssl.org>
show more ...
|
#
f1f07a23 |
| 30-Jan-2016 |
Rich Salz |
Better check for gcc/clang Iteratively improved with Richard and Andy. Reviewed-by: Andy Polyakov <appro@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org>
|
#
9fe2bb77 |
| 29-Jan-2016 |
Richard Levitte |
unified build scheme: a first introduction The "unified" build scheme revolves around small information files, build.info, which each describe their own bit of everything that needs
unified build scheme: a first introduction The "unified" build scheme revolves around small information files, build.info, which each describe their own bit of everything that needs to be built, using a mini-language described in Configurations/README. The information in build.info file contain references to source files and final result. Object files are not mentioned at all, they are simply from source files. Because of this, all the *_obj items in Configurations/*.conf are renamed to *_asm_src and the files listed in the values are change from object files to their corresponding source files. For the sake of the other build schemes, Configure generates corresponding *_obj entries in %target. Furthermore, the "unified" build scheme supports having a build directory tree separate from the source directry tree. All paths in a build.info file is assumed to be relative to its location, either within the source tree or within the build tree. Reviewed-by: Andy Polyakov <appro@openssl.org>
show more ...
|
#
46d4d865 |
| 29-Jan-2016 |
Andy Polyakov |
Configure: restore original logic for -DWHIRLPOOL_ASM. Reviewed-by: Richard Levitte <levitte@openssl.org>
|
#
0e87e058 |
| 31-Jan-2016 |
Richard Levitte |
Remove the extra checks for Intel's C compiler When the target is {something}-icc, we're doing some extra checks of the icc compiler. However, all such targets were cleaned away in
Remove the extra checks for Intel's C compiler When the target is {something}-icc, we're doing some extra checks of the icc compiler. However, all such targets were cleaned away in March 2015, so this Configure section is dead code. Reviewed-by: Rich Salz <rsalz@openssl.org>
show more ...
|
#
fb36ca12 |
| 31-Jan-2016 |
Richard Levitte |
Don't go into dotted directories when copying Makefile.in to Makefile Reviewed-by: Rich Salz <rsalz@openssl.org>
|
#
94af0cd7 |
| 28-Jan-2016 |
Rich Salz |
Move more BN internals to bn_lcl.h There was an unused macro in ssl_locl.h that used an internal type, so I removed it. Move bio_st from bio.h to ossl_type.h Reviewed-by: An
Move more BN internals to bn_lcl.h There was an unused macro in ssl_locl.h that used an internal type, so I removed it. Move bio_st from bio.h to ossl_type.h Reviewed-by: Andy Polyakov <appro@openssl.org>
show more ...
|
#
421e30ec |
| 29-Jan-2016 |
Richard Levitte |
Configure: Clarify the handling of $thread_cflags Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
|
#
826e9e54 |
| 29-Jan-2016 |
Rich Salz |
Missed rc2_int from before. Also remove $Makefile variable :) Reviewed-by: Andy Polyakov <appro@openssl.org>
|
#
ced2c2c5 |
| 29-Jan-2016 |
Rich Salz |
Templatize util/domd Reviewed-by: Richard Levitte <levitte@openssl.org>
|
#
1740c162 |
| 29-Jan-2016 |
Richard Levitte |
Configure et al: split up the lflags configuration item into two The lflags configuration had a weird syntax with a % as separator. If it was present, whatever came before ended up as P
Configure et al: split up the lflags configuration item into two The lflags configuration had a weird syntax with a % as separator. If it was present, whatever came before ended up as PEX_LIBS in Makefile (usually, this is LDFLAGS), while whatever came after ended up as EX_LIBS. This change splits that item into lflags and ex_libs, making their use more explicit. Also, PEX_LIBS in all the Makefiles are renamed to LDFLAGS. Reviewed-by: Rich Salz <rsalz@openssl.org>
show more ...
|
#
f8206c8e |
| 29-Jan-2016 |
Richard Levitte |
Revert "Don't replace cflags with thread_cflags, only append the latter" This reverts commit a450326ee040c6cbb262debdb1ed731e6700e1e0. Reviewed-by: Rich Salz <rsalz@openssl.org>
|
#
a450326e |
| 29-Jan-2016 |
Richard Levitte |
Don't replace cflags with thread_cflags, only append the latter Reviewed-by: Rich Salz <rsalz@openssl.org>
|
#
a01dab94 |
| 28-Jan-2016 |
Rich Salz |
Remove x86_gcc_des,x86_gcc_opts This is a followin from !1738, we no longer need those variables. Reviewed-by: Richard Levitte <levitte@openssl.org>
|