1. 08 7月, 2015 2 次提交
  2. 03 6月, 2015 1 次提交
    • R
      Standardize handling of #ifdef'd options. · 9c3bcfa0
      Rich Salz 提交于
      Here are the "rules" for handling flags that depend on #ifdef:
      
      - Do not ifdef the enum.  Only ifdef the OPTIONS table.  All ifdef'd
        entries appear at the end; by convention "engine" is last.  This
        ensures that at run-time, the flag will never be recognized/allowed.
        The next two bullets entries are for silencing compiler warnings:
      - In the while/switch parsing statement, use #ifdef for the body to
        disable it; leave the "case OPT_xxx:" and "break" statements outside
        the ifdef/ifndef.  See ciphers.c for example.
      - If there are multiple options controlled by a single guard, OPT_FOO,
        OPT_BAR, etc., put a an #ifdef around the set, and then do "#else"
        and a series of case labels and a break. See OPENSSL_NO_AES in cms.c
        for example.
      Reviewed-by: NMatt Caswell <matt@openssl.org>
      9c3bcfa0
  3. 29 5月, 2015 1 次提交
  4. 11 5月, 2015 1 次提交
  5. 01 5月, 2015 1 次提交
    • R
      free NULL cleanup 5a · 222561fe
      Rich Salz 提交于
      Don't check for NULL before calling a free routine.  This gets X509_.*free:
          x509_name_ex_free X509_policy_tree_free X509_VERIFY_PARAM_free
          X509_STORE_free X509_STORE_CTX_free X509_PKEY_free
          X509_OBJECT_free_contents X509_LOOKUP_free X509_INFO_free
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      222561fe
  6. 29 4月, 2015 1 次提交
  7. 26 4月, 2015 1 次提交
  8. 25 4月, 2015 1 次提交
    • R
      Big apps cleanup (option-parsing, etc) · 7e1b7485
      Rich Salz 提交于
      This is merges the old "rsalz-monolith" branch over to master.  The biggest
      change is that option parsing switch from cascasding 'else if strcmp("-foo")'
      to a utility routine and somethin akin to getopt.  Also, an error in the
      command line no longer prints the full summary; use -help (or --help :)
      for that.  There have been many other changes and code-cleanup, see
      bullet list below.
      
      Special thanks to Matt for the long and detailed code review.
      
      TEMPORARY:
              For now, comment out CRYPTO_mem_leaks() at end of main
      
      Tickets closed:
              RT3515: Use 3DES in pkcs12 if built with no-rc2
              RT1766: s_client -reconnect and -starttls broke
              RT2932: Catch write errors
              RT2604: port should be 'unsigned short'
              RT2983: total_bytes undeclared #ifdef RENEG
              RT1523: Add -nocert to fix output in x509 app
              RT3508: Remove unused variable introduced by b09eb246
              RT3511: doc fix; req default serial is random
              RT1325,2973: Add more extensions to c_rehash
              RT2119,3407: Updated to dgst.pod
              RT2379: Additional typo fix
              RT2693: Extra include of string.h
              RT2880: HFS is case-insensitive filenames
              RT3246: req command prints version number wrong
      
      Other changes; incompatibilities marked with *:
              Add SCSV support
              Add -misalign to speed command
              Make dhparam, dsaparam, ecparam, x509 output C in proper style
              Make some internal ocsp.c functions void
              Only display cert usages with -help in verify
              Use global bio_err, remove "BIO*err" parameter from functions
              For filenames, - always means stdin (or stdout as appropriate)
              Add aliases for -des/aes "wrap" ciphers.
              *Remove support for IISSGC (server gated crypto)
              *The undocumented OCSP -header flag is now "-header name=value"
              *Documented the OCSP -header flag
      Reviewed-by: NMatt Caswell <matt@openssl.org>
      7e1b7485
  9. 25 2月, 2015 1 次提交
  10. 22 1月, 2015 1 次提交
  11. 13 1月, 2015 1 次提交
  12. 20 6月, 2014 1 次提交
  13. 25 2月, 2014 1 次提交
  14. 12 12月, 2012 1 次提交
  15. 07 12月, 2012 1 次提交
  16. 04 6月, 2012 1 次提交
  17. 13 12月, 2011 2 次提交
  18. 28 2月, 2010 2 次提交
  19. 25 2月, 2010 1 次提交
  20. 01 11月, 2009 1 次提交
  21. 31 10月, 2009 1 次提交
  22. 18 10月, 2009 1 次提交
  23. 02 9月, 2009 1 次提交
  24. 08 1月, 2009 1 次提交
  25. 29 11月, 2004 1 次提交
    • R
      Make an explicit check during certificate validation to see that the · 30b415b0
      Richard Levitte 提交于
      CA setting in each certificate on the chain is correct.  As a side-
      effect always do the following basic checks on extensions, not just
      when there's an associated purpose to the check:
      - if there is an unhandled critical extension (unless the user has
        chosen to ignore this fault)
      - if the path length has been exceeded (if one is set at all)
      - that certain extensions fit the associated purpose (if one has been
        given)
      30b415b0
  26. 08 9月, 2004 1 次提交
  27. 31 1月, 2003 1 次提交
  28. 04 12月, 2002 1 次提交
  29. 13 11月, 2002 1 次提交
  30. 22 2月, 2002 1 次提交
    • D
      Config code updates. · 3647bee2
      Dr. Stephen Henson 提交于
      CONF_modules_unload() now calls CONF_modules_finish()
      automatically.
      
      Default use of section openssl_conf moved to
      CONF_modules_load()
      
      Load config file in several openssl utilities.
      
      Most utilities now load modules from the config file,
      though in a few (such as version) this isn't done
      because it couldn't be used for anything.
      
      In the case of ca and req the config file used is
      the same as the utility itself: that is the -config
      command line option can be used to specify an
      alternative file.
      3647bee2
  31. 21 10月, 2001 1 次提交
    • D
      · f1558bb4
      Dr. Stephen Henson 提交于
      Reject certificates with unhandled critical extensions.
      f1558bb4
  32. 12 9月, 2001 1 次提交
  33. 02 9月, 2001 1 次提交
    • G
      Make the necessary changes to work with the recent "ex_data" overhaul. · 79aa04ef
      Geoff Thorpe 提交于
      See the commit log message for that for more information.
      
      NB: X509_STORE_CTX's use of "ex_data" support was actually misimplemented
      (initialisation by "memset" won't/can't/doesn't work). This fixes that but
      requires that X509_STORE_CTX_init() be able to handle errors - so its
      prototype has been changed to return 'int' rather than 'void'. All uses of
      that function throughout the source code have been tracked down and
      adjusted.
      79aa04ef
  34. 25 6月, 2001 1 次提交
  35. 18 6月, 2001 1 次提交
  36. 09 5月, 2001 1 次提交
  37. 08 5月, 2001 1 次提交
    • D
      · b545dc67
      Dr. Stephen Henson 提交于
      Initial CRL based revocation checking.
      b545dc67