1. 26 5月, 2023 1 次提交
  2. 12 4月, 2023 2 次提交
  3. 01 7月, 2022 1 次提交
  4. 10 8月, 2021 1 次提交
  5. 27 2月, 2020 1 次提交
  6. 28 9月, 2019 1 次提交
  7. 23 6月, 2016 1 次提交
  8. 23 5月, 2016 1 次提交
  9. 18 5月, 2016 1 次提交
  10. 13 4月, 2016 2 次提交
  11. 23 3月, 2016 1 次提交
  12. 09 3月, 2016 4 次提交
  13. 19 2月, 2016 1 次提交
    • R
      Big rename fest of engine DSO names, from libFOO.so to FOO.so · 9ee0ed3d
      Richard Levitte 提交于
      The engine DSOs were named as if they were shared libraries, and could
      end up having all sorts of fancy names:
      
        Cygwin: cygFOO.dll
        Mingw:  FOOeay32.dll
        Unix:   libFOO.so / libFOO.sl / libFOO.dylib / ...
      
      This may be confusing, since they look like libraries one should link
      with at link time, when they're just DSOs.
      
      It's therefore time to rename them, and do it consistently on all
      platforms:
      
        Cygwin & Mingw: FOO.dll
        Unix:           FOO.{so,sl,dylib,...}
      
      Interestingly enough, the MSVC and VMS builds always did it this way.
      Reviewed-by: NAndy Polyakov <appro@openssl.org>
      9ee0ed3d
  14. 09 2月, 2016 1 次提交
  15. 06 2月, 2016 1 次提交
  16. 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
  17. 24 1月, 2016 1 次提交
  18. 08 1月, 2016 1 次提交
    • R
      mem functions cleanup · bbd86bf5
      Rich Salz 提交于
      Only two macros CRYPTO_MDEBUG and CRYPTO_MDEBUG_ABORT to control this.
      If CRYPTO_MDEBUG is not set, #ifdef out the whole debug machinery.
              (Thanks to Jakob Bohm for the suggestion!)
      Make the "change wrapper functions" be the only paradigm.
      Wrote documentation!
      Format the 'set func' functions so their paramlists are legible.
      Format some multi-line comments.
      Remove ability to get/set the "memory debug" functions at runtme.
      Remove MemCheck_* and CRYPTO_malloc_debug_init macros.
      Add CRYPTO_mem_debug(int flag) function.
      Add test/memleaktest.
      Rename CRYPTO_malloc_init to OPENSSL_malloc_init; remove needless calls.
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      bbd86bf5
  19. 17 12月, 2015 1 次提交
    • R
      Rename some BUF_xxx to OPENSSL_xxx · 7644a9ae
      Rich Salz 提交于
      Rename BUF_{strdup,strlcat,strlcpy,memdup,strndup,strnlen}
      to OPENSSL_{strdup,strlcat,strlcpy,memdup,strndup,strnlen}
      Add #define's for the old names.
      Add CRYPTO_{memdup,strndup}, called by OPENSSL_{memdup,strndup} macros.
      Reviewed-by: NTim Hudson <tjh@openssl.org>
      7644a9ae
  20. 10 11月, 2015 1 次提交
  21. 04 9月, 2015 1 次提交
  22. 03 9月, 2015 1 次提交
  23. 20 7月, 2015 1 次提交
    • R
      Rewrite crypto/ex_data · 7e5363ab
      Rich Salz 提交于
      Removed ability to set ex_data impl at runtime.  This removed these
      three functions:
          const CRYPTO_EX_DATA_IMPL *CRYPTO_get_ex_data_implementation(void);
          int CRYPTO_set_ex_data_implementation(const CRYPTO_EX_DATA_IMPL *i);
          int CRYPTO_ex_data_new_class(void);
      It is no longer possible to change the ex_data implementation at
      runtime.  (Luckily those functions were never documented :)
      
      Also removed the ability to add new exdata "classes."  We don't believe
      this received much (if any) use, since you can't add it to OpenSSL objects,
      and there are probably better (native) methods for developers to add
      their own extensible data, if they really need that.
      
      Replaced the internal hash table (of per-"class" stacks) with a simple
      indexed array.  Reserved an index for "app" application.
      
      Each API used to take the lock twice; now it only locks once.
      
      Use local stack storage for function pointers, rather than malloc,
      if possible (i.e., number of ex_data items is under a dozen).
      
      Make CRYPTO_EX_DATA_FUNCS opaque/internal.
      
      Also fixes RT3710; index zero is reserved.
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      7e5363ab
  24. 06 5月, 2015 1 次提交
  25. 05 5月, 2015 1 次提交
    • R
      Use safer sizeof variant in malloc · b4faea50
      Rich Salz 提交于
      For a local variable:
              TYPE *p;
      Allocations like this are "risky":
              p = OPENSSL_malloc(sizeof(TYPE));
      if the type of p changes, and the malloc call isn't updated, you
      could get memory corruption.  Instead do this:
              p = OPENSSL_malloc(sizeof(*p));
      Also fixed a few memset() calls that I noticed while doing this.
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      b4faea50
  26. 02 5月, 2015 1 次提交
    • R
      free NULL cleanup -- coda · 25aaa98a
      Rich Salz 提交于
      After the finale, the "real" final part. :)  Do a recursive grep with
      "-B1 -w [a-zA-Z0-9_]*_free" to see if any of the preceeding lines are
      an "if NULL" check that can be removed.
      Reviewed-by: NTim Hudson <tjh@openssl.org>
      25aaa98a
  27. 01 5月, 2015 2 次提交
    • R
      free NULL cleanup 11 · efa7dd64
      Rich Salz 提交于
      Don't check for NULL before calling free functions. This gets:
              ERR_STATE_free
              ENGINE_free
              DSO_free
              CMAC_CTX_free
              COMP_CTX_free
              CONF_free
              NCONF_free NCONF_free_data _CONF_free_data
              A sk_free use within OBJ_sigid_free
              TS_TST_INFO_free (rest of TS_ API was okay)
              Doc update for UI_free (all uses were fine)
              X509V3_conf_free
              X509V3_section_free
              X509V3_string_free
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      efa7dd64
    • R
      free null cleanup finale · b548a1f1
      Rich Salz 提交于
      Don't check for NULL before calling OPENSSL_free
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      b548a1f1
  28. 28 4月, 2015 1 次提交
    • R
      ERR_ cleanup · 3e47caff
      Rich Salz 提交于
      Remove ERR_[gs]et_implementation as they were not undocumented and
      useless (the data structure was opaque).
      
      Halve the number of lock/unlock calls in almost all ERR_
      functions by letting the caller of get_hash or int_thread_set
      able to lock.  Very useful when looping, such as adding errors,
      or when getting the hash and immediately doing a lookup on it.
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      3e47caff
  29. 22 1月, 2015 1 次提交
  30. 17 12月, 2014 1 次提交
    • E
      Build fixes · b597aab8
      Emilia Kasper 提交于
      Various build fixes, mostly uncovered by clang's unused-const-variable
      and unused-function errors.
      Reviewed-by: NKurt Roeckx <kurt@openssl.org>
      (cherry picked from commit 0e1c318ece3c82e96ae95a34a1badf58198d6b28)
      b597aab8
  31. 28 7月, 2009 1 次提交
  32. 04 6月, 2008 1 次提交
  33. 11 5月, 2005 1 次提交
    • B
      Fix more error codes. · 8afca8d9
      Bodo Möller 提交于
      (Also improve util/ck_errf.pl script, and occasionally
      fix source code formatting.)
      8afca8d9
  34. 20 4月, 2004 1 次提交