1. 01 5月, 2015 2 次提交
    • R
      free NULL cleanup 7 · 23a1d5e9
      Rich Salz 提交于
      This gets BN_.*free:
          BN_BLINDING_free BN_CTX_free BN_FLG_FREE BN_GENCB_free
          BN_MONT_CTX_free BN_RECP_CTX_free BN_clear_free BN_free BUF_MEM_free
      
      Also fix a call to DSA_SIG_free to ccgost engine and remove some #ifdef'd
      dead code in engines/e_ubsec.
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      23a1d5e9
    • 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
  2. 26 4月, 2015 1 次提交
  3. 31 3月, 2015 1 次提交
  4. 28 3月, 2015 1 次提交
    • R
      free NULL cleanup · c5ba2d99
      Rich Salz 提交于
      EVP_.*free; this gets:
              EVP_CIPHER_CTX_free EVP_PKEY_CTX_free EVP_PKEY_asn1_free
              EVP_PKEY_asn1_set_free EVP_PKEY_free EVP_PKEY_free_it
              EVP_PKEY_meth_free; and also EVP_CIPHER_CTX_cleanup
      Reviewed-by: NKurt Roeckx <kurt@openssl.org>
      c5ba2d99
  5. 27 3月, 2015 1 次提交
  6. 26 3月, 2015 1 次提交
  7. 25 3月, 2015 4 次提交
    • R
      free NULL cleanup · ca3a82c3
      Rich Salz 提交于
      This commit handles BIO_ACCEPT_free BIO_CB_FREE BIO_CONNECT_free
      BIO_free BIO_free_all BIO_vfree
      Reviewed-by: NMatt Caswell <matt@openssl.org>
      ca3a82c3
    • M
      Deprecate RAND_pseudo_bytes · 302d38e3
      Matt Caswell 提交于
      The justification for RAND_pseudo_bytes is somewhat dubious, and the reality
      is that it is frequently being misused. RAND_bytes and RAND_pseudo_bytes in
      the default implementation both end up calling ssleay_rand_bytes. Both may
      return -1 in an error condition. If there is insufficient entropy then
      both will return 0, but RAND_bytes will additionally add an error to the
      error queue. They both return 1 on success.
      Therefore the fundamental difference between the two is that one will add an
      error to the error queue with insufficient entory whilst the other will not.
      Frequently there are constructions of this form:
      
      if(RAND_pseudo_bytes(...) <= 1)
      	goto err;
      
      In the above form insufficient entropy is treated as an error anyway, so
      RAND_bytes is probably the better form to use.
      
      This form is also seen:
      if(!RAND_pseudo_bytes(...))
      	goto err;
      
      This is technically not correct at all since a -1 return value is
      incorrectly handled - but this form will also treat insufficient entropy as
      an error.
      
      Within libssl it is required that you have correctly seeded your entropy
      pool and so there seems little benefit in using RAND_pseudo_bytes.
      Similarly in libcrypto many operations also require a correctly seeded
      entropy pool and so in most interesting cases you would be better off
      using RAND_bytes anyway. There is a significant risk of RAND_pseudo_bytes
      being incorrectly used in scenarios where security can be compromised by
      insufficient entropy.
      
      If you are not using the default implementation, then most engines use the
      same function to implement RAND_bytes and RAND_pseudo_bytes in any case.
      
      Given its misuse, limited benefit, and potential to compromise security,
      RAND_pseudo_bytes has been deprecated.
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      302d38e3
    • R
      free NULL cleanup · d6407083
      Rich Salz 提交于
      Start ensuring all OpenSSL "free" routines allow NULL, and remove
      any if check before calling them.
      This gets DH_free, DSA_free, RSA_free
      Reviewed-by: NMatt Caswell <matt@openssl.org>
      d6407083
    • D
      make ASN1_OBJECT opaque · 2e430277
      Dr. Stephen Henson 提交于
      Reviewed-by: NMatt Caswell <matt@openssl.org>
      2e430277
  8. 24 3月, 2015 1 次提交
  9. 12 3月, 2015 1 次提交
  10. 09 3月, 2015 1 次提交
  11. 26 2月, 2015 5 次提交
  12. 25 2月, 2015 1 次提交
  13. 21 2月, 2015 1 次提交
  14. 10 2月, 2015 1 次提交
  15. 04 2月, 2015 1 次提交
  16. 03 2月, 2015 1 次提交
  17. 29 1月, 2015 1 次提交
  18. 28 1月, 2015 2 次提交
  19. 27 1月, 2015 1 次提交
  20. 26 1月, 2015 1 次提交
  21. 07 1月, 2015 1 次提交
    • R
      Some cleanup of L<> markup in pod files · a09474dd
      Rich Salz 提交于
      Show only the #define, not the values, in BIO_f_buffer.  Data
      abstraction and we can remove a "see also" entry.
      
      Remove internal forward reference to NOTES in EVP_EncryptInit; just
      say "see below" as we do in the other pages.
      
      Add missing (3) in pem.pod so the L<> entry is consistent.
      Fix entry to point to the "master" page, not the symlink'd one.
      Reviewed-by: NMatt Caswell <matt@openssl.org>
      a09474dd
  22. 03 1月, 2015 1 次提交
  23. 12 12月, 2014 1 次提交
  24. 09 12月, 2014 1 次提交
  25. 08 12月, 2014 1 次提交
  26. 27 11月, 2014 3 次提交
  27. 21 11月, 2014 1 次提交
  28. 13 11月, 2014 1 次提交
  29. 03 10月, 2014 1 次提交