postfix_status_line 0.2.5 → 0.2.6
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.
- checksums.yaml +4 -4
- data/ext/digest_sha.h +8 -0
- data/ext/postfix_status_line_core.c +2 -2
- data/lib/postfix_status_line/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 789a0f356de63f37d382c9df9bc2e52cc3410ccf
|
|
4
|
+
data.tar.gz: 515db09f1244be59e58c9f3cccd947ff6e07dc47
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ff4a32767875dade98f09c49589b7de5c28a4673139cef350d66b769b59e2643209fcf71b4f1fb588c1ecdf47042ee72542a032ea624e04dfba710f5ec48ab4e
|
|
7
|
+
data.tar.gz: f9a4cacfb6a05e7a38740e70cd60126fe147ece783bbbbe7f1db93b5f154292d24074e0ae4cedef4037608e201217853e7599929d8431ce7b39206c6f461b3d6
|
data/ext/digest_sha.h
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
#ifndef __DIGEST_SHA_H__
|
|
2
2
|
#define __DIGEST_SHA_H__
|
|
3
3
|
|
|
4
|
+
#ifndef SHA1_CTX
|
|
5
|
+
#define SHA1_CTX SHA_CTX
|
|
6
|
+
#endif
|
|
7
|
+
|
|
8
|
+
#ifndef SHA1_DIGEST_LENGTH
|
|
9
|
+
#define SHA1_DIGEST_LENGTH SHA_DIGEST_LENGTH
|
|
10
|
+
#endif
|
|
11
|
+
|
|
4
12
|
#ifndef SHA224_CTX
|
|
5
13
|
#define SHA224_CTX SHA256_CTX
|
|
6
14
|
#endif
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
#ifdef HAVE_OPENSSL_SHA_H
|
|
4
4
|
|
|
5
|
-
DEFINE_SHA_FUNCTIONS();
|
|
5
|
+
DEFINE_SHA_FUNCTIONS(1);
|
|
6
6
|
DEFINE_SHA_FUNCTIONS(224);
|
|
7
7
|
DEFINE_SHA_FUNCTIONS(256);
|
|
8
8
|
DEFINE_SHA_FUNCTIONS(384);
|
|
@@ -361,7 +361,7 @@ static VALUE rb_postfix_status_line_parse(VALUE self, VALUE v_str, VALUE v_mask,
|
|
|
361
361
|
#ifdef HAVE_OPENSSL_SHA_H
|
|
362
362
|
switch (sha_algo) {
|
|
363
363
|
case 1:
|
|
364
|
-
digest_sha_func =
|
|
364
|
+
digest_sha_func = digest_sha1;
|
|
365
365
|
break;
|
|
366
366
|
case 224:
|
|
367
367
|
digest_sha_func = digest_sha224;
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: postfix_status_line
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Genki Sugawara
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-01-
|
|
11
|
+
date: 2017-01-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|