1. 26 5月, 2023 1 次提交
  2. 12 4月, 2023 2 次提交
  3. 10 8月, 2021 1 次提交
  4. 27 2月, 2020 1 次提交
  5. 07 8月, 2018 1 次提交
  6. 17 4月, 2018 1 次提交
  7. 03 4月, 2018 1 次提交
  8. 30 8月, 2017 1 次提交
  9. 03 11月, 2016 1 次提交
  10. 18 5月, 2016 1 次提交
  11. 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
  12. 08 1月, 2016 2 次提交
  13. 10 11月, 2015 1 次提交
  14. 07 5月, 2015 1 次提交
  15. 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
  16. 03 5月, 2015 1 次提交
  17. 01 5月, 2015 1 次提交
    • 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
  18. 22 1月, 2015 1 次提交
  19. 07 10月, 2011 1 次提交
    • D
      ? crypto/aes/aes-armv4.S · 66bb328e
      Dr. Stephen Henson 提交于
      ? crypto/aes/aesni-sha1-x86_64.s
      ? crypto/aes/aesni-x86_64.s
      ? crypto/aes/foo.pl
      ? crypto/aes/vpaes-x86_64.s
      ? crypto/bn/.bn_lib.c.swp
      ? crypto/bn/armv4-gf2m.S
      ? crypto/bn/diffs
      ? crypto/bn/modexp512-x86_64.s
      ? crypto/bn/x86_64-gf2m.s
      ? crypto/bn/x86_64-mont5.s
      ? crypto/ec/bc.txt
      ? crypto/ec/diffs
      ? crypto/modes/a.out
      ? crypto/modes/diffs
      ? crypto/modes/ghash-armv4.S
      ? crypto/modes/ghash-x86_64.s
      ? crypto/modes/op.h
      ? crypto/modes/tst.c
      ? crypto/modes/x.h
      ? crypto/objects/.obj_xref.txt.swp
      ? crypto/rand/diffs
      ? crypto/sha/sha-512
      ? crypto/sha/sha1-armv4-large.S
      ? crypto/sha/sha256-armv4.S
      ? crypto/sha/sha512-armv4.S
      Index: crypto/objects/obj_xref.c
      ===================================================================
      RCS file: /v/openssl/cvs/openssl/crypto/objects/obj_xref.c,v
      retrieving revision 1.9
      diff -u -r1.9 obj_xref.c
      --- crypto/objects/obj_xref.c	5 Nov 2008 18:38:58 -0000	1.9
      +++ crypto/objects/obj_xref.c	6 Oct 2011 20:30:21 -0000
      @@ -110,8 +110,10 @@
       #endif
       	if (rv == NULL)
       		return 0;
      -	*pdig_nid = rv->hash_id;
      -	*ppkey_nid = rv->pkey_id;
      +	if (pdig_nid)
      +		*pdig_nid = rv->hash_id;
      +	if (ppkey_nid)
      +		*ppkey_nid = rv->pkey_id;
       	return 1;
       	}
      
      @@ -144,7 +146,8 @@
       #endif
       	if (rv == NULL)
       		return 0;
      -	*psignid = (*rv)->sign_id;
      +	if (psignid)
      +		*psignid = (*rv)->sign_id;
       	return 1;
       	}
      
      Index: crypto/x509/x509type.c
      ===================================================================
      RCS file: /v/openssl/cvs/openssl/crypto/x509/x509type.c,v
      retrieving revision 1.10
      diff -u -r1.10 x509type.c
      --- crypto/x509/x509type.c	26 Oct 2007 12:06:33 -0000	1.10
      +++ crypto/x509/x509type.c	6 Oct 2011 20:36:04 -0000
      @@ -100,20 +100,26 @@
       		break;
       		}
      
      -	i=X509_get_signature_type(x);
      -	switch (i)
      +	i=OBJ_obj2nid(x->sig_alg->algorithm);
      +	if (i && OBJ_find_sigid_algs(i, NULL, &i))
       		{
      -	case EVP_PKEY_RSA:
      -		ret|=EVP_PKS_RSA;
      -		break;
      -	case EVP_PKEY_DSA:
      -		ret|=EVP_PKS_DSA;
      -		break;
      -	case EVP_PKEY_EC:
      -		ret|=EVP_PKS_EC;
      -		break;
      -	default:
      -		break;
      +
      +		switch (i)
      +			{
      +		case NID_rsaEncryption:
      +		case NID_rsa:
      +			ret|=EVP_PKS_RSA;
      +			break;
      +		case NID_dsa:
      +		case NID_dsa_2:
      +			ret|=EVP_PKS_DSA;
      +			break;
      +		case NID_X9_62_id_ecPublicKey:
      +			ret|=EVP_PKS_EC;
      +			break;
      +		default:
      +			break;
      +			}
       		}
      
       	if (EVP_PKEY_size(pk) <= 1024/8)/* /8 because it's 1024 bits we look
      66bb328e
  20. 06 11月, 2008 1 次提交
  21. 22 10月, 2008 1 次提交
  22. 20 10月, 2008 1 次提交
  23. 12 10月, 2008 1 次提交
  24. 05 7月, 2008 1 次提交
  25. 04 6月, 2008 1 次提交
  26. 13 7月, 2006 1 次提交
  27. 10 7月, 2006 1 次提交
  28. 19 4月, 2006 1 次提交
  29. 15 4月, 2006 1 次提交
  30. 22 3月, 2006 1 次提交
  31. 16 10月, 2001 1 次提交
    • D
      · 20d2186c
      Dr. Stephen Henson 提交于
      Retain compatibility of EVP_DigestInit() and EVP_DigestFinal()
      with existing code.
      
      Modify library to use digest *_ex() functions.
      20d2186c
  32. 31 7月, 2001 1 次提交
  33. 24 4月, 1999 1 次提交
  34. 20 4月, 1999 1 次提交
  35. 31 1月, 1999 1 次提交
  36. 21 12月, 1998 2 次提交