1. 27 2月, 2016 2 次提交
    • J
      Check method before access and release ctx in error paths · 2c91b3f5
      J Mohan Rao Arisankala 提交于
      - In error paths, EVP_MD_CTX allocated by the callee is not released.
      - Checking method before accessing
      Reviewed-by: NMatt Caswell <matt@openssl.org>
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      2c91b3f5
    • D
      RT4335: Fix UEFI build of OBJ_NAME_new_index() · 2d51c28f
      David Woodhouse 提交于
      We are using strcmp() as the cmp_func, where in the EDK2 environment
      strcmp actually ends up being the external AsciiStrCmp() function —
      an EFI library function defined with the Microsoft ABI.
      
      This means that we can't just assign function pointers to it, since
      in GCC-hosted builds the ABI of any function *not* explicitly marked
      EFIAPI is the native SysV ABI.
      
      Arguably this stupidity ought to be resolved on the UEFI side, but in
      the general case that would mean that we need to provide ABI-compatible
      wrappers for *all* the "standard" functions, just in case they're used
      like this.
      
      And in fact we already have a workaround here for DEC C. So instead of
      playing games with casting function pointers, it's nicer just to use a
      simple function to wrap the strcmp() call. That cleans up the DEC C
      workaround, *and* it works around the UEFI bogosity at the same time.
      Signed-off-by: NRich Salz <rsalz@openssl.org>
      Reviewed-by: NKurt Roeckx <kurt@openssl.org>
      2d51c28f
  2. 26 2月, 2016 16 次提交
  3. 25 2月, 2016 9 次提交
  4. 24 2月, 2016 10 次提交
  5. 23 2月, 2016 3 次提交