openssl 2.1.0 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of openssl might be problematic. Click here for more details.
- checksums.yaml +4 -4
 - data/History.md +14 -0
 - data/ext/openssl/extconf.rb +4 -1
 - data/ext/openssl/ossl_cipher.c +2 -0
 - data/ext/openssl/ossl_version.h +1 -1
 - metadata +3 -3
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: e17353c3f443f1f4ba2afd65319630911e93cd4204b71e0a50a0640ab50ee714
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 8a7b4d82c64a0a80198624fa96af48c03163205ec84331e9618b26ff764f6c4c
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: e7d48ecc23c6dabc5eb29ee78b605096bfed6d62e83f66d2cbb67316afdb68dafe5c1b9c8c0ced0fba6478d671fda75969e35d50b22051458ca237b470973a9c
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: c349830b16d8a87f1563b5f25f6451889e323c7a9b7666e9769f5c412c3f412728586adb4b4cb1365e34c54cb0d931467388c8f0b37f140dbc825459af20bb64
         
     | 
    
        data/History.md
    CHANGED
    
    | 
         @@ -55,6 +55,20 @@ Notable changes 
     | 
|
| 
       55 
55 
     | 
    
         
             
              [[GitHub #177]](https://github.com/ruby/openssl/pull/177)
         
     | 
| 
       56 
56 
     | 
    
         | 
| 
       57 
57 
     | 
    
         | 
| 
      
 58 
     | 
    
         
            +
            Version 2.0.8
         
     | 
| 
      
 59 
     | 
    
         
            +
            =============
         
     | 
| 
      
 60 
     | 
    
         
            +
             
     | 
| 
      
 61 
     | 
    
         
            +
            Bug fixes
         
     | 
| 
      
 62 
     | 
    
         
            +
            ---------
         
     | 
| 
      
 63 
     | 
    
         
            +
             
     | 
| 
      
 64 
     | 
    
         
            +
            * OpenSSL::Cipher#pkcs5_keyivgen raises an error when a negative iteration
         
     | 
| 
      
 65 
     | 
    
         
            +
              count is given.
         
     | 
| 
      
 66 
     | 
    
         
            +
              [[GitHub #184]](https://github.com/ruby/openssl/pull/184)
         
     | 
| 
      
 67 
     | 
    
         
            +
            * Fixed build with LibreSSL 2.7.
         
     | 
| 
      
 68 
     | 
    
         
            +
              [[GitHub #192]](https://github.com/ruby/openssl/issues/192)
         
     | 
| 
      
 69 
     | 
    
         
            +
              [[GitHub #193]](https://github.com/ruby/openssl/pull/193)
         
     | 
| 
      
 70 
     | 
    
         
            +
             
     | 
| 
      
 71 
     | 
    
         
            +
             
     | 
| 
       58 
72 
     | 
    
         
             
            Version 2.0.7
         
     | 
| 
       59 
73 
     | 
    
         
             
            =============
         
     | 
| 
       60 
74 
     | 
    
         | 
    
        data/ext/openssl/extconf.rb
    CHANGED
    
    | 
         @@ -122,8 +122,11 @@ OpenSSL.check_func_or_macro("SSL_get_server_tmp_key", "openssl/ssl.h") 
     | 
|
| 
       122 
122 
     | 
    
         
             
            have_func("SSL_is_server")
         
     | 
| 
       123 
123 
     | 
    
         | 
| 
       124 
124 
     | 
    
         
             
            # added in 1.1.0
         
     | 
| 
      
 125 
     | 
    
         
            +
            if !have_struct_member("SSL", "ctx", "openssl/ssl.h") ||
         
     | 
| 
      
 126 
     | 
    
         
            +
                try_static_assert("LIBRESSL_VERSION_NUMBER >= 0x2070000fL", "openssl/opensslv.h")
         
     | 
| 
      
 127 
     | 
    
         
            +
              $defs.push("-DHAVE_OPAQUE_OPENSSL")
         
     | 
| 
      
 128 
     | 
    
         
            +
            end
         
     | 
| 
       125 
129 
     | 
    
         
             
            have_func("CRYPTO_lock") || $defs.push("-DHAVE_OPENSSL_110_THREADING_API")
         
     | 
| 
       126 
     | 
    
         
            -
            have_struct_member("SSL", "ctx", "openssl/ssl.h") || $defs.push("-DHAVE_OPAQUE_OPENSSL")
         
     | 
| 
       127 
130 
     | 
    
         
             
            have_func("BN_GENCB_new")
         
     | 
| 
       128 
131 
     | 
    
         
             
            have_func("BN_GENCB_free")
         
     | 
| 
       129 
132 
     | 
    
         
             
            have_func("BN_GENCB_get_arg")
         
     | 
    
        data/ext/openssl/ossl_cipher.c
    CHANGED
    
    | 
         @@ -317,6 +317,8 @@ ossl_cipher_pkcs5_keyivgen(int argc, VALUE *argv, VALUE self) 
     | 
|
| 
       317 
317 
     | 
    
         
             
            	salt = (unsigned char *)RSTRING_PTR(vsalt);
         
     | 
| 
       318 
318 
     | 
    
         
             
                }
         
     | 
| 
       319 
319 
     | 
    
         
             
                iter = NIL_P(viter) ? 2048 : NUM2INT(viter);
         
     | 
| 
      
 320 
     | 
    
         
            +
                if (iter <= 0)
         
     | 
| 
      
 321 
     | 
    
         
            +
            	rb_raise(rb_eArgError, "iterations must be a positive integer");
         
     | 
| 
       320 
322 
     | 
    
         
             
                digest = NIL_P(vdigest) ? EVP_md5() : ossl_evp_get_digestbyname(vdigest);
         
     | 
| 
       321 
323 
     | 
    
         
             
                GetCipher(self, ctx);
         
     | 
| 
       322 
324 
     | 
    
         
             
                EVP_BytesToKey(EVP_CIPHER_CTX_cipher(ctx), digest, salt,
         
     | 
    
        data/ext/openssl/ossl_version.h
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: openssl
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 2.1. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 2.1.1
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Martin Bosslet
         
     | 
| 
         @@ -11,7 +11,7 @@ authors: 
     | 
|
| 
       11 
11 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       12 
12 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       13 
13 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       14 
     | 
    
         
            -
            date:  
     | 
| 
      
 14 
     | 
    
         
            +
            date: 2018-05-12 00:00:00.000000000 Z
         
     | 
| 
       15 
15 
     | 
    
         
             
            dependencies:
         
     | 
| 
       16 
16 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       17 
17 
     | 
    
         
             
              name: rake
         
     | 
| 
         @@ -173,7 +173,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       173 
173 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       174 
174 
     | 
    
         
             
            requirements: []
         
     | 
| 
       175 
175 
     | 
    
         
             
            rubyforge_project: 
         
     | 
| 
       176 
     | 
    
         
            -
            rubygems_version: 2.7. 
     | 
| 
      
 176 
     | 
    
         
            +
            rubygems_version: 2.7.6
         
     | 
| 
       177 
177 
     | 
    
         
             
            signing_key: 
         
     | 
| 
       178 
178 
     | 
    
         
             
            specification_version: 4
         
     | 
| 
       179 
179 
     | 
    
         
             
            summary: OpenSSL provides SSL, TLS and general purpose cryptography.
         
     |