tdes 3.0.5 → 3.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/tdes/extconf.rb +7 -4
- data/lib/tdes/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ba14c79c4c49f185859af397b2ca76f6e163e7a5117199a6cf8d79e244c5974
|
4
|
+
data.tar.gz: 54bd939943be3d4ce25bfd445b61e715165c1f57a74d4faedfae6b515a948949
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 299096c2c0d270574a306bf7fce4c645dd001fbb4488cd15b97eb36a5bc9ed71cf4b041b6a99ca9242459f5a01816f26b3a694b8e56b62b357e97c9cb12d48f9
|
7
|
+
data.tar.gz: dd32f8a520b46701ee6b9abce03ad1ac2a2b727d08547f7b8e464bbc1f21f9ae7381f2aa7c5e000b8bdd9d183817e8293bd3e10960ebd9060dce26c424c4a490
|
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
|
-
#
|
17
|
-
|
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('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
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.
|
4
|
+
version: 3.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gabriel Bastos
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-09-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|