[ruby-cvs:59963] kosaki:r52810 (trunk): * ext/openssl/ossl_rand.c (ossl_rand_bytes): RAND_bytes could

kosaki at ruby-lang.org kosaki at ruby-lang.org
Tue Dec 1 05:29:03 JST 2015


kosaki	2015-12-01 05:29:02 +0900 (Tue, 01 Dec 2015)

  New Revision: 52810

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=52810

  Log:
    * ext/openssl/ossl_rand.c (ossl_rand_bytes): RAND_bytes could
      be return -1 as an error. Therefore, added error handling.
    * ext/openssl/ossl_pkey_dsa.c (dsa_generate): ditto.

  Modified files:
    trunk/ChangeLog
    trunk/ext/openssl/ossl_pkey_dsa.c
    trunk/ext/openssl/ossl_rand.c


More information about the ruby-cvs mailing list