1. 26 5月, 2023 1 次提交
  2. 12 4月, 2023 2 次提交
  3. 10 8月, 2021 1 次提交
  4. 27 2月, 2020 1 次提交
  5. 28 9月, 2019 1 次提交
    • D
      Reorganize private crypto header files · 0c994d54
      Dr. Matthias St. Pierre 提交于
      Currently, there are two different directories which contain internal
      header files of libcrypto which are meant to be shared internally:
      
      While header files in 'include/internal' are intended to be shared
      between libcrypto and libssl, the files in 'crypto/include/internal'
      are intended to be shared inside libcrypto only.
      
      To make things complicated, the include search path is set up in such
      a way that the directive #include "internal/file.h" could refer to
      a file in either of these two directoroes. This makes it necessary
      in some cases to add a '_int.h' suffix to some files to resolve this
      ambiguity:
      
        #include "internal/file.h"      # located in 'include/internal'
        #include "internal/file_int.h"  # located in 'crypto/include/internal'
      
      This commit moves the private crypto headers from
      
        'crypto/include/internal'  to  'include/crypto'
      
      As a result, the include directives become unambiguous
      
        #include "internal/file.h"       # located in 'include/internal'
        #include "crypto/file.h"         # located in 'include/crypto'
      
      hence the superfluous '_int.h' suffixes can be stripped.
      
      The files 'store_int.h' and 'store.h' need to be treated specially;
      they are joined into a single file.
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/9681)
      0c994d54
  6. 18 5月, 2016 1 次提交
  7. 27 1月, 2016 1 次提交
    • R
      Remove /* foo.c */ comments · 34980760
      Rich Salz 提交于
      This was done by the following
              find . -name '*.[ch]' | /tmp/pl
      where /tmp/pl is the following three-line script:
              print unless $. == 1 && m@/\* .*\.[ch] \*/@;
              close ARGV if eof; # Close file to reset $.
      
      And then some hand-editing of other files.
      Reviewed-by: NViktor Dukhovni <viktor@openssl.org>
      34980760
  8. 08 12月, 2015 3 次提交
  9. 03 12月, 2015 1 次提交
    • D
      Remove legacy sign/verify from EVP_MD. · 7f572e95
      Dr. Stephen Henson 提交于
      Remove sign/verify and required_pkey_type fields of EVP_MD: these are a
      legacy from when digests were linked to public key types. All signing is
      now handled by the corresponding EVP_PKEY_METHOD.
      
      Only allow supported digest types in RSA EVP_PKEY_METHOD: other algorithms
      already block unsupported types.
      
      Remove now obsolete EVP_dss1() and EVP_ecdsa().
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      7f572e95
  10. 10 11月, 2015 1 次提交
  11. 14 5月, 2015 1 次提交
  12. 06 5月, 2015 1 次提交
    • G
      Initialize potentially uninitialized local variables · 4c9b0a03
      Gunnar Kudrjavets 提交于
      Compiling OpenSSL code with MSVC and /W4 results in a number of warnings.
      One category of warnings is particularly interesting - C4701 (potentially
      uninitialized local variable 'name' used). This warning pretty much means
      that there's a code path which results in uninitialized variables being used
      or returned. Depending on compiler, its options, OS, values in registers
      and/or stack, the results can be nondeterministic. Cases like this are very
      hard to debug so it's rational to fix these issues.
      
      This patch contains a set of trivial fixes for all the C4701 warnings (just
      initializing variables to 0 or NULL or appropriate error code) to make sure
      that deterministic values will be returned from all the execution paths.
      
      RT#3835
      Signed-off-by: NMatt Caswell <matt@openssl.org>
      
      Matt's note: All of these appear to be bogus warnings, i.e. there isn't
      actually a code path where an unitialised variable could be used - its just
      that the compiler hasn't been able to figure that out from the logic. So
      this commit is just about silencing spurious warnings.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      4c9b0a03
  13. 22 1月, 2015 1 次提交
  14. 14 11月, 2013 1 次提交
    • D
      Flag to disable automatic copying of contexts. · afa23c46
      Dr. Stephen Henson 提交于
      Some functions such as EVP_VerifyFinal only finalise a copy of the passed
      context in case an application wants to digest more data. Doing this when
      it is not needed is inefficient and many applications don't require it.
      
      For compatibility the default is to still finalise a copy unless the
      flag EVP_MD_CTX_FLAG_FINALISE is set in which case the passed
      context is finalised an *no* further data can be digested after
      finalisation.
      afa23c46
  15. 28 11月, 2010 1 次提交
  16. 28 2月, 2010 1 次提交
  17. 24 9月, 2009 1 次提交
  18. 12 11月, 2008 1 次提交
  19. 02 11月, 2008 1 次提交
  20. 20 4月, 2006 1 次提交
  21. 16 3月, 2004 1 次提交
  22. 16 10月, 2001 1 次提交
    • D
      · 20d2186c
      Dr. Stephen Henson 提交于
      Retain compatibility of EVP_DigestInit() and EVP_DigestFinal()
      with existing code.
      
      Modify library to use digest *_ex() functions.
      20d2186c
  23. 31 7月, 2001 1 次提交
  24. 24 4月, 1999 1 次提交
  25. 20 4月, 1999 1 次提交
  26. 31 1月, 1999 1 次提交
  27. 21 12月, 1998 2 次提交