tdes 2.0.1 → 3.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/ext/tdes/extconf.rb +5 -0
  3. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3c6c14c10e550e551c174f5f7bb326b1f776f438ad24dad86560bf5c1124213a
4
- data.tar.gz: c415c650eabd30d776aa3f536be207218c4c666873f5f5c830958995f88d79bc
3
+ metadata.gz: 5b31d6bd07ddb3f0fc2e238d88b24ed7f4ce7810a9a1839187622472c5e4fab7
4
+ data.tar.gz: 667681e3a1e9aaa3b6462215f553dd2da0ad77e49f0d19ede49132dabe2587d2
5
5
  SHA512:
6
- metadata.gz: 02faa963d70d327db66a18c0879c2af94531a1ca5964d5475ab3668d433b565fa6b3561a2921388267170c746eb48c829b07c961d5b65c8b891cc83250399370
7
- data.tar.gz: 0a509a2623c042b551a84f049d35217736f19591f22c4e29b0f9c34a6ed045ce104cd762b5f8b669ac172aab92fcabfb0bd115b0100b599e077ecd219e464941
6
+ metadata.gz: d5ee3fce85a38a66eca812d8e69d6cce99be0d45f057999432de9433c16c49604b8a125f1857e5a18c27b16deb90a7c5de688e1cff178fc02a2e21bf089c761d
7
+ data.tar.gz: e455ede1db33dd4d1fc01c2a7ee49dd6f9f30633edee6e9c53d01f0fe403aef04898cfb34d98f5307ded9c4c505bf29fa57f13abf2e095fb4ca97beefdbd226f
data/ext/tdes/extconf.rb CHANGED
@@ -13,6 +13,11 @@ with_cflags(cflags) do
13
13
  abort 'missing DES_set_key_checked' unless have_func('DES_set_key_checked', 'openssl/des.h')
14
14
  abort 'missing DES_ecb3_encrypt' unless have_func('DES_ecb3_encrypt', 'openssl/des.h')
15
15
 
16
+ # Check for a symbol/function specific to OpenSSL 3.x
17
+ unless have_func('EVP_Cipher')
18
+ abort 'OpenSSL 3.x required (missing EVP_Cipher function)'
19
+ end
20
+
16
21
  create_makefile 'tdes/tdes'
17
22
  end
18
23
  end
metadata CHANGED
@@ -1,11 +1,11 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tdes
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 3.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriel Bastos
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
  date: 2022-07-07 00:00:00.000000000 Z
@@ -56,7 +56,7 @@ homepage: https://github.com/cloudwalk/ruby-3des
56
56
  licenses:
57
57
  - MIT
58
58
  metadata: {}
59
- post_install_message:
59
+ post_install_message:
60
60
  rdoc_options: []
61
61
  require_paths:
62
62
  - lib
@@ -71,8 +71,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  - !ruby/object:Gem::Version
72
72
  version: '0'
73
73
  requirements: []
74
- rubygems_version: 3.2.3
75
- signing_key:
74
+ rubygems_version: 3.3.5
75
+ signing_key:
76
76
  specification_version: 4
77
77
  summary: triple DES encryption implemented in C
78
78
  test_files: []