1. 23 2月, 2016 1 次提交
  2. 20 2月, 2016 1 次提交
  3. 19 2月, 2016 1 次提交
  4. 15 2月, 2016 1 次提交
  5. 13 2月, 2016 1 次提交
    • B
      GH650: Minor tidying around the ocsp app · 21c6c50f
      Benjamin Kaduk 提交于
      The ocsp utility is something of a jack-of-all-trades; most anything
      related to the OCSP can be done with it.  In particular, the manual
      page calls out that it can be used as either a client or a server
      of the protocol, but there are also a few things that it can do
      which do not quite fit into either role, such as encoding an OCSP
      request but not sending it, printing out a text form of an OCSP
      response (or request) from a file akin to the asn1parse utility,
      or performing a lookup into the server-side revocation database
      without actually sending a request or response.  All three of these
      are documented as examples in the manual page, but the documentation
      prior to this commit is somewhat misleading, in that when printing
      the text form of an OCSP response, the code also attempts to
      verify the response, displaying an error message and returning
      failure if the response does not verify.  (It is possible that
      the response would be able to verify with the given example, since
      the default trust roots are used for that verification, but OCSP
      responses frequently have alternate certification authorities
      that would require passing -CAfile or -CApath for verification.)
      
      Tidy up the documentation by passing -noverify for the case of
      converting from binary to textual representation, and also
      change a few instances of -respin to -reqin as appropriate, note
      that the -url option provides the same functionality as the -host
      and -path options, clarify that the example that saves an OCSP
      response to a file will also perform verification on that response,
      and fix a couple grammar nits in the manual page.
      
      Also remove an always-true conditional for rdb != NULL -- there
      are no codepaths in which it could be initialized at the time of
      this check.
      Signed-off-by: NRich Salz <rsalz@openssl.org>
      Reviewed-by: NKurt Roeckx <kurt@openssl.org>
      21c6c50f
  6. 21 1月, 2016 1 次提交
  7. 14 1月, 2016 1 次提交
  8. 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
  9. 10 11月, 2015 1 次提交
  10. 24 10月, 2015 1 次提交
  11. 18 10月, 2015 2 次提交
  12. 13 10月, 2015 1 次提交
    • M
      Centralise loading default apps config file · a0a82324
      Matt Caswell 提交于
      Loading the config file after processing command line options can
      cause problems, e.g. where an engine provides new ciphers/digests
      these are not then recoginised on the command line. Move the
      default config file loading to before the command line option
      processing. Whilst we're doing this we might as well centralise
      this instead of doing it individually for each application. Finally
      if we do it before the OpenSSL_add_ssl_algorithms() call then
      ciphersuites provided by an engine (e.g. GOST) can be available to
      the apps.
      
      RT#4085
      RT#4086
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      a0a82324
  13. 25 9月, 2015 1 次提交
    • M
      Add support for -no-CApath and -no-CAfile options · 2b6bcb70
      Matt Caswell 提交于
      For those command line options that take the verification options
      -CApath and -CAfile, if those options are absent then the default path or
      file is used instead. It is not currently possible to specify *no* path or
      file at all. This change adds the options -no-CApath and -no-CAfile to
      specify that the default locations should not be used to all relevant
      applications.
      Reviewed-by: NAndy Polyakov <appro@openssl.org>
      2b6bcb70
  14. 06 9月, 2015 1 次提交
    • R
      Change the way apps open their input and output files · bdd58d98
      Richard Levitte 提交于
      The different apps had the liberty to decide whether they would open their
      input and output files in binary mode or not, which could be confusing if
      two different apps were handling the same type of file in different ways.
      
      The solution is to centralise the decision of low level file organisation,
      and that the apps would use a selection of formats to state the intent of
      the file.
      Reviewed-by: NTim Hudson <tjh@openssl.org>
      bdd58d98
  15. 11 8月, 2015 1 次提交
  16. 09 8月, 2015 1 次提交
  17. 31 7月, 2015 1 次提交
  18. 23 6月, 2015 1 次提交
  19. 03 6月, 2015 1 次提交
  20. 29 5月, 2015 1 次提交
  21. 16 5月, 2015 1 次提交
    • M
      Client side version negotiation rewrite · 13c9bb3e
      Matt Caswell 提交于
      Continuing from the previous commit this changes the way we do client side
      version negotiation. Similarly all of the s23* "up front" state machine code
      has been avoided and again things now work much the same way as they already
      did for DTLS, i.e. we just do most of the work in the
      ssl3_get_server_hello() function.
      Reviewed-by: NKurt Roeckx <kurt@openssl.org>
      13c9bb3e
  22. 14 5月, 2015 2 次提交
  23. 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
  24. 01 5月, 2015 3 次提交
  25. 30 4月, 2015 1 次提交
  26. 27 4月, 2015 1 次提交
  27. 26 4月, 2015 1 次提交
  28. 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
  29. 11 4月, 2015 1 次提交
    • R
      free NULL cleanup 10 · 62adbcee
      Rich Salz 提交于
      Avoid checking for NULL before calling free functions.  This gets
      ssl.*free:
          ssl_sess_cert_free ssl_free ssl_excert_free ssl_cert_free
          SSL_free SSL_SRP_CTX_free SSL_SESSION_free SSL_CTX_free
          SSL_CTX_SRP_CTX_free SSL_CONF_CTX_free
      Reviewed-by: NKurt Roeckx <kurt@openssl.org>
      62adbcee
  30. 25 3月, 2015 1 次提交
  31. 05 3月, 2015 1 次提交
  32. 25 2月, 2015 1 次提交
  33. 22 1月, 2015 1 次提交
  34. 02 12月, 2014 1 次提交
  35. 27 11月, 2014 2 次提交