tdes 3.0.5 → 3.0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1ae48de55f0b1e0889bf1956eb0745d34be42f8a29dcd22e379a2beec51e6abf
4
- data.tar.gz: 6f17a05730784dbac958c2cd4781d1172d587e32369994df9dd213042cdf4663
3
+ metadata.gz: 8b22686cb757de014badfd6044d55b0cbc3a2b3b7317507936fa6e5b3efb4e7b
4
+ data.tar.gz: 7b8730ef0dcda04a114e30bab61a72a78d1adff3488c16f35a1036d6de0198c4
5
5
  SHA512:
6
- metadata.gz: 4e61f947fd99c9ff8d799a3a9fc7cd031fabb74b44d2171e086bd2ea9f03ea84650c3aa2134edadb91777257e10af248c4263d2fcd82e400a42b2783a471a434
7
- data.tar.gz: 5ccb4ad585a6a7111fa07be344adbd7c40a427dfa0c9ec863f2f19c54d7664e6da9f7930598182950c6a86a3aaee917a8ad5e23c2cf1e9f9d7e6da29b5a9524c
6
+ metadata.gz: fdcc9beee5c41e9c9b5fd46cdb163d14dbf2b0d6b20dc02da0794b6acd2cf3cfe279f57be16b7a090e31039b5866cb7009199793b4ed0805e7058b988f8c5b0e
7
+ data.tar.gz: 32e0a9b28e2c6ad41e5cccd1a0435be0e5a9d88d357bf1c3e28334e792da3215e99fc8ce5785e2bed4f7f32057c497ab8e8987d6987d0bf3ad59254256f7621c
data/ext/tdes/extconf.rb CHANGED
@@ -10,11 +10,14 @@ with_cflags(cflags) do
10
10
  abort 'missing openssl/des.h' unless have_header('openssl/des.h')
11
11
  abort 'missing type DES_key_schedule' unless have_type('DES_key_schedule', 'openssl/des.h')
12
12
  abort 'missing type DES_cblock' unless have_type('DES_cblock', 'openssl/des.h')
13
- abort 'missing DES_set_key_checked' unless have_func('DES_set_key_checked', 'openssl/des.h')
14
- abort 'missing DES_ecb3_encrypt' unless have_func('DES_ecb3_encrypt', 'openssl/des.h')
15
13
 
16
- # Check for a symbol/function specific to OpenSSL 3.x
17
- abort 'OpenSSL 3.x required (missing EVP_Cipher function)' unless have_func('EVP_Cipher')
14
+ # On MacOS, have_func does not work well because the default compiler is clang instead of gcc
15
+ unless RUBY_PLATFORM.downcase.include? 'darwin'
16
+ abort 'missing DES_set_key_checked' unless have_func('int DES_set_key_checked', 'openssl/des.h')
17
+ abort 'missing DES_ecb3_encrypt' unless have_func('DES_ecb3_encrypt', 'openssl/des.h')
18
+ # Check for a symbol/function specific to OpenSSL 3.x
19
+ abort 'OpenSSL 3.x required (missing EVP_Cipher function)' unless have_func('EVP_Cipher')
20
+ end
18
21
 
19
22
  create_makefile 'tdes/tdes'
20
23
  end
data/lib/tdes/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Tdes
4
- VERSION = '3.0.5'
4
+ VERSION = '3.0.6'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tdes
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.5
4
+ version: 3.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriel Bastos
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-27 00:00:00.000000000 Z
11
+ date: 2024-09-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest
@@ -60,7 +60,7 @@ licenses:
60
60
  - MIT
61
61
  metadata:
62
62
  rubygems_mfa_required: 'true'
63
- post_install_message:
63
+ post_install_message:
64
64
  rdoc_options:
65
65
  - "--main"
66
66
  - readme.md
@@ -77,8 +77,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
77
77
  - !ruby/object:Gem::Version
78
78
  version: '0'
79
79
  requirements: []
80
- rubygems_version: 3.5.11
81
- signing_key:
80
+ rubygems_version: 3.5.18
81
+ signing_key:
82
82
  specification_version: 4
83
83
  summary: triple DES encryption implemented in C
84
84
  test_files: []