1. 18 2月, 2016 5 次提交
    • D
      RT3628: Allow filenames to be eliminated from compiled library · 02f7114a
      David Woodhouse 提交于
      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: NRich Salz <rsalz@openssl.org>
      Reviewed-by: NTim Hudson <tjh@openssl.org>
      02f7114a
    • R
      When someone configures an out-of-source build, switch to unified · 95b2ebdf
      Richard Levitte 提交于
      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: NAndy Polyakov <appro@openssl.org>
      95b2ebdf
    • R
      Fix check of -DOPENSSL_USE_APPLINK in $config{cflags} · d918f9cb
      Richard Levitte 提交于
      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: NAndy Polyakov <appro@openssl.org>
      d918f9cb
    • R
      RT4310: Fix varous no-XXX builds · 1288f26f
      Rich Salz 提交于
      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: NRich Salz <rsalz@openssl.org>
      Reviewed-by: NTim Hudson <tjh@openssl.org>
      1288f26f
    • D
      remove redundant code · c7c46256
      Dr. Stephen Henson 提交于
      Reviewed-by: NMatt Caswell <matt@openssl.org>
      c7c46256
  2. 17 2月, 2016 11 次提交
  3. 16 2月, 2016 10 次提交
  4. 15 2月, 2016 14 次提交