1. 26 5月, 2023 1 次提交
  2. 12 4月, 2023 2 次提交
  3. 10 8月, 2021 1 次提交
  4. 27 2月, 2020 1 次提交
  5. 08 1月, 2019 1 次提交
  6. 09 4月, 2018 1 次提交
    • D
      Fix false positives of IS_*() macros for 8-bit ASCII characters · a9b7a06e
      Dr. Matthias St. Pierre 提交于
      Fixes #5778, #5840
      
      The various IS_*() macros did not work correctly for 8-bit ASCII
      characters with the high bit set, because the CVT(a) preprocessor
      macro and'ed the given ASCII value with 0x7F, effectively folding
      the high value range 128-255 over the low value range 0-127.
      As a consequence, some of the IS_*() erroneously returned TRUE.
      
      This commit fixes the issue by adding range checks instead of
      cutting off high order bits using a mask. In order avoid multiple
      evaluation of macro arguments, most of the implementation was moved
      from macros into a static function is_keytype().
      
      Thanks to Румен Петров for reporting and analyzing the UTF-8 parsing
      issue #5840.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/5903)
      a9b7a06e
  7. 28 3月, 2018 1 次提交
    • M
      Remove some code · 92565101
      Matt Caswell 提交于
      This commit removes the contribution of a user that we cannot trace to
      gain their consent for the licence change.
      
      After this commit the various IS_*() macros in the auto-generated file
      conf_def.h may incorrectly return true if the supplied character has its
      most significant bit set. The IS_*() macros should be able to correctly
      handle 8-bit characters. Note that UTF-8 support is not a requirement.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/5767)
      92565101
  8. 19 3月, 2018 1 次提交
  9. 27 2月, 2018 1 次提交
  10. 14 2月, 2018 1 次提交
  11. 01 5月, 2016 1 次提交
  12. 20 4月, 2016 1 次提交
  13. 21 3月, 2016 1 次提交
  14. 18 3月, 2016 1 次提交
  15. 18 8月, 2014 1 次提交
  16. 02 1月, 2002 1 次提交
    • R
      Allow 8-bit characters. This is not really complete, it only marks · e7227322
      Richard Levitte 提交于
      characters with the highest bit set as HIGHBIT.  We need to expand
      this to support the UTF-8 character set properly.  However, this
      solves the problem that the character 0x80 (which is common in UTF-8)
      gets masked to 0x00.
      Patch submitted by "Huang Yuzhen" <huangyuzhen@bj.tom.com>
      e7227322
  17. 09 4月, 2000 1 次提交
    • R
      I've always wanted to make the CONF library more adaptable. Here's · d86b6915
      Richard Levitte 提交于
      the result.
      
      I have retained the old behavior of the CONF_* functions, and have
      added a more "object oriented" interface through NCONF_* functions
      (New CONF, you see :-)), working the same way as, for example, the
      BIO interface.  Really, the CONF_* are rewritten so they use the
      NCONF_* functions internally.
      
      In addition to that, I've split the old conf.c code into two files,
      conf_def.c and conf_api.c.  conf_def.c contains the default config
      object that reads a configuration file the standard OpenSSL way, as
      well as configuration file with Win32 registry file syntax (I'm not
      sure I got that one right).  conf_api.c provides an API to build other
      configuration file readers around (can you see a configuraion file in
      XML?  I can :-)).
      
      Finally, I've changed the name conf_lcl.h to conf_def.h, since it's
      made specifically for that "class" and none others.
      d86b6915
  18. 21 12月, 1998 1 次提交