Revision tags: OpenSSL_1_0_1r, OpenSSL_1_0_2f, OpenSSL_1_1_0-pre2, OpenSSL_1_1_0-pre1, OpenSSL_0_9_8zh, OpenSSL_1_0_0t, OpenSSL_1_0_1q, OpenSSL_1_0_2e |
|
#
02f7114a |
| 30-Jul-2015 |
David Woodhouse |
RT3628: Allow filenames to be eliminated from compiled library Although I explicitly don't care about the tinfoil-hat reason given in the initial opening of RT#3628, that "paths usually
RT3628: Allow filenames to be eliminated from compiled library Although I explicitly don't care about the tinfoil-hat reason given in the initial opening of RT#3628, that "paths usually contain private information", there *are* situations where it's useful to eliminate the filenames from the compiled binary. The two reasons we do care about in the context of firmware such as EDK2 are that it allows for a smaller footprint, and it is also a necessary component of a binary-reproducible build. To that end, introduce OPENSSL_FILE and OPENSSL_LINE macros, defining them to __FILE__ and __LINE__ respectively in the normal case, but to "" and 0 when OPENSSL_NO_FILENAMES is set. This is mostly a naïve invocation of $ sed 's/__\([FL]I[NL]E\)__/OPENSSL_\1/g' -i `git grep -l __LINE__` but with a few instances change to just print the function name instead (although those probably need to die anyway) and test cases left untouched. Signed-off-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Tim Hudson <tjh@openssl.org>
show more ...
|
#
95b2ebdf |
| 17-Feb-2016 |
Richard Levitte |
When someone configures an out-of-source build, switch to unified For example, this works instead of giving a big error message (note the lack of '--unified'): mkdir ../_bui
When someone configures an out-of-source build, switch to unified For example, this works instead of giving a big error message (note the lack of '--unified'): mkdir ../_build (cd ../_build/; ../openssl-src/config; make) Reviewed-by: Andy Polyakov <appro@openssl.org>
show more ...
|
#
d918f9cb |
| 16-Feb-2016 |
Richard Levitte |
Fix check of -DOPENSSL_USE_APPLINK in $config{cflags} The previous fix wasn't right. Also, change all (^|\s) and (\s|$) constructs to (?:^|\s) and (?:\s|$). Perl seems to like t
Fix check of -DOPENSSL_USE_APPLINK in $config{cflags} The previous fix wasn't right. Also, change all (^|\s) and (\s|$) constructs to (?:^|\s) and (?:\s|$). Perl seems to like that better. Reviewed-by: Andy Polyakov <appro@openssl.org>
show more ...
|
#
1288f26f |
| 17-Feb-2016 |
Rich Salz |
RT4310: Fix varous no-XXX builds When OPENSSL_NO_ASYNC is set, make ASYNC_{un,}block_pause() do nothing. This prevents md_rand.c from failing to build. Probably better to do it this
RT4310: Fix varous no-XXX builds When OPENSSL_NO_ASYNC is set, make ASYNC_{un,}block_pause() do nothing. This prevents md_rand.c from failing to build. Probably better to do it this way than to wrap every instance in an explicit #ifdef. A bunch of new socket code got added to a new file crypto/bio/b_addr.c. Make it all go away if OPENSSL_NO_SOCK is defined. Allow configuration with no-ripemd, no-ts, no-ui We use these for the UEFI build. Also remove the 'Really???' comment from no-err and no-locking. We use those too. We need to drop the crypto/engine directory from the build too, and also set OPENSSL_NO_ENGINE Signed-off-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Tim Hudson <tjh@openssl.org>
show more ...
|
#
dba31777 |
| 14-Feb-2016 |
Rich Salz |
Remove JPAKE Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
|
#
432c7a50 |
| 16-Feb-2016 |
Richard Levitte |
Check for OPENSSL_USE_APPLINK in $config{cflags} as well Macro definitions "should" be found in $config{defines}, but some configs haven't transfered macro definitions from their 'cflags
Check for OPENSSL_USE_APPLINK in $config{cflags} as well Macro definitions "should" be found in $config{defines}, but some configs haven't transfered macro definitions from their 'cflags' settings (which isn't mandatory anyway), so check both places. Reviewed-by: Andy Polyakov <appro@openssl.org>
show more ...
|
#
a583fc45 |
| 16-Feb-2016 |
Richard Levitte |
Don't check for gcc or clang on VMS This check is meaningless on VMS and only produce an error because the underlying shell (DCL) doesn't understand sh syntax such as '2>&1'. Re
Don't check for gcc or clang on VMS This check is meaningless on VMS and only produce an error because the underlying shell (DCL) doesn't understand sh syntax such as '2>&1'. Reviewed-by: Andy Polyakov <appro@openssl.org>
show more ...
|
#
7c55e22c |
| 16-Feb-2016 |
Richard Levitte |
Lowercase configuration arguments on VMS Depending on user preferences, Configure might get something like --PREFIX=blah just as well as --prefix=blah, or "SHARED" just as well as "s
Lowercase configuration arguments on VMS Depending on user preferences, Configure might get something like --PREFIX=blah just as well as --prefix=blah, or "SHARED" just as well as "shared". On VMS, let's therefore lowercase at least the portion of the argument before a possible equal sign. For good measure, we lowercase the arguments to be checked in config.com as well. The original argument is sent on to Configure, however. Reviewed-by: Andy Polyakov <appro@openssl.org>
show more ...
|
#
ef8ca6bd |
| 14-Feb-2016 |
Richard Levitte |
Make the use of mdebug backtrace a separate option To force it on anyone using --strict-warnings was the wrong move, as this is an option best left to those who know what they're doing.
Make the use of mdebug backtrace a separate option To force it on anyone using --strict-warnings was the wrong move, as this is an option best left to those who know what they're doing. Use with care! Reviewed-by: Andy Polyakov <appro@openssl.org>
show more ...
|
#
8bccbce5 |
| 13-Feb-2016 |
Rich Salz |
Reformat warn variables for easier editing. Reviewed-by: Richard Levitte <levitte@openssl.org>
|
#
63994098 |
| 13-Feb-2016 |
Richard Levitte |
Rethink the method to place user cflags last The previous method had some unfortunate consequences with --strict-warnings. To counteract, revert part of the previous change and move
Rethink the method to place user cflags last The previous method had some unfortunate consequences with --strict-warnings. To counteract, revert part of the previous change and move down the block of code that adds the user cflags and defines. Reviewed-by: Rich Salz <rsalz@openssl.org>
show more ...
|
#
3c65577f |
| 12-Feb-2016 |
Richard Levitte |
Rename INSTALL_PREFIX to DESTDIR, remove option --install_prefix INSTALL_PREFIX is a confusing name, as there's also --prefix. Instead, tag along with the rest of the open source world a
Rename INSTALL_PREFIX to DESTDIR, remove option --install_prefix INSTALL_PREFIX is a confusing name, as there's also --prefix. Instead, tag along with the rest of the open source world and adopt the Makefile variable DESTDIR to designate the desired staging directory. The Configure option --install_prefix is removed, the only way to designate a staging directory is with the Makefile variable (this is also implemented for VMS' descrip.mms et al). Reviewed-by: Rich Salz <rsalz@openssl.org>
show more ...
|
#
2b91ec75 |
| 12-Feb-2016 |
Rich Salz |
Put user flags last for priority. Reviewed-by: Richard Levitte <levitte@openssl.org>
|
#
04f171c0 |
| 12-Feb-2016 |
Richard Levitte |
Remove last chomps In the previous commit to change all chomp to a more flexible regexp, Configure was forgotten. This completes the change. Reviewed-by: Andy Polyakov <appro@o
Remove last chomps In the previous commit to change all chomp to a more flexible regexp, Configure was forgotten. This completes the change. Reviewed-by: Andy Polyakov <appro@openssl.org>
show more ...
|
#
22e3dcb7 |
| 25-Jan-2016 |
Rich Salz |
Remove TLS heartbeat, disable DTLS heartbeat To enable heartbeats for DTLS, configure with enable-heartbeats. Heartbeats for TLS have been completely removed. This addresses RT
Remove TLS heartbeat, disable DTLS heartbeat To enable heartbeats for DTLS, configure with enable-heartbeats. Heartbeats for TLS have been completely removed. This addresses RT 3647 Reviewed-by: Richard Levitte <levitte@openssl.org>
show more ...
|
#
f3f1cf84 |
| 30-Jan-2016 |
Rich Salz |
Move to REF_DEBUG, for consistency. Add utility macros REF_ASSERT_NOT and REF_PRINT_COUNT This is also RT 4181 Reviewed-by: Richard Levitte <levitte@openssl.org>
|
#
64c443e3 |
| 05-Feb-2016 |
Richard Levitte |
Add support for shared_rcflag, useful for windres (Cygwin and Mingw) Reviewed-by: Rich Salz <rsalz@openssl.org>
|
#
68ab559a |
| 05-Feb-2016 |
Richard Levitte |
Modernise the mingw cflags and ldflags Reviewed-by: Rich Salz <rsalz@openssl.org>
|
#
e737d7b1 |
| 11-Feb-2016 |
Richard Levitte |
Unified build: Keep track of generated header files If someone runs a mixed unixmake / unified environment (the unified build tree would obviously be out of the source tree), the unified
Unified build: Keep track of generated header files If someone runs a mixed unixmake / unified environment (the unified build tree would obviously be out of the source tree), the unified build will pick up on the unixmake crypto/buildinf.h because of assumptions made around this sort of declaration (found in crypto/build.info): DEPENDS[cversion.o]=buildinf.h The assumption was that if such a header could be found in the source tree, that was the one to depend on, otherwise it would assume it should be in the build tree. This change makes sure that sort of mix-up won't happen again. Reviewed-by: Rich Salz <rsalz@openssl.org>
show more ...
|
#
d20bb611 |
| 11-Feb-2016 |
Richard Levitte |
Remove the "make depend" message It's not necessary for a pristine source, and a developer that makes changes usually knows what to do. Also, there was this mechanism that would
Remove the "make depend" message It's not necessary for a pristine source, and a developer that makes changes usually knows what to do. Also, there was this mechanism that would do a "make depend" automatically which hasn't been used for so many years. Removed as well. Reviewed-by: Rich Salz <rsalz@openssl.org>
show more ...
|
#
f4a748a1 |
| 10-Feb-2016 |
Richard Levitte |
Produce buildinf.h on Windows the same way as on Unix Because ENGINESDIR and OPENSSLDIR typically contains backslashes, they need to be escaped just right. Reviewed-by: Rich Sal
Produce buildinf.h on Windows the same way as on Unix Because ENGINESDIR and OPENSSLDIR typically contains backslashes, they need to be escaped just right. Reviewed-by: Rich Salz <rsalz@openssl.org>
show more ...
|
#
242ffb05 |
| 30-Jan-2016 |
Richard Levitte |
unified build scheme: Try to nudge users to try the "unified" build This commit SHALL be reverted before final release. Reviewed-by: Rich Salz <rsalz@openssl.org>
|
#
5482dac9 |
| 30-Jan-2016 |
Richard Levitte |
Configure et al: move the installation directory logic to Makefiles The logic to figure out the combinations of --prefix and --openssldir has stayed in Configure so far, with Unix paths
Configure et al: move the installation directory logic to Makefiles The logic to figure out the combinations of --prefix and --openssldir has stayed in Configure so far, with Unix paths as defaults. However, since we're making Configure increasingly platform agnostic, these defaults need to change and adapt to the platform, along with the logic to combine them. The easiest to provide for this is to move the logic and the defaults away from Configure and into the build files. This also means that the definition of the macros ENGINESDIR and OPENSSLDIR move away from include/openssl/opensslconf.h and into the build files. Makefile.in is adapted accordingly. Reviewed-by: Rich Salz <rsalz@openssl.org>
show more ...
|
#
bcb1977b |
| 30-Jan-2016 |
Richard Levitte |
Configure et al: treat C defines separately With some compilers, C macros are defined differently on the command line than on Unix. It could be that the flad to define them isn't -D,
Configure et al: treat C defines separately With some compilers, C macros are defined differently on the command line than on Unix. It could be that the flad to define them isn't -D, it could also be that they need to be grouped together and not be mixed in with the other compiler flags (that's how it's done on VMS, for example). On Unix family platform configurations, we can continue to have macro definitions mixed in with the rest of the flags, so the changes in Configurations/*.conf are kept to an absolute minimum. Reviewed-by: Rich Salz <rsalz@openssl.org>
show more ...
|
#
7984f082 |
| 10-Feb-2016 |
Rich Salz |
Remove store. Rebased and merged by me, with Ben's approval. Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Ben Laurie <ben@openssl.org>
|