openssl_rsa_pss_verify 0.1.6 → 0.1.7

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
  SHA1:
3
- metadata.gz: 6c58b108ec48929abb1135b1349bff9b6e98b0c0
4
- data.tar.gz: 72d30ebba65d423d45474401620ef51888a5eb25
3
+ metadata.gz: 79a3dfb2be192cad32078bb27312598ae667bc51
4
+ data.tar.gz: 0ffea2caa8c6e92df2dca71d3992d0d9976a8b03
5
5
  SHA512:
6
- metadata.gz: 7da90308d6908f5a29562a78afd741e0a1da40e6425b9b89a813b19350428f157dec9641c357a1acd31935ff5fbc65cc6504835b18c9ada461589fc572bf91ee
7
- data.tar.gz: 27cc549535293e4dbf7cf61e10f9c73acadbc89b471dfa557b6052e92f15054eff3475e6934ed45af1eb59e172f81f06d2881d63e3824729a6e3fc850cdcd9cc
6
+ metadata.gz: 5e5202fbed9f7c129c5da27a5070c41f729a73baa5a0f0384b72195c470bc72e16d9845ef86d3b541d9485de52e0722b19bafd60ee5f39c7bbfbc2a25bebafab
7
+ data.tar.gz: 87a474585eac3326839df55a04e9ce0fcd87228b7a8729600a2dc54885120b12eefa30046c0d8ea29560967defedd129f0fff5d98d343c4165c515fdc86bc41e
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- openssl_rsa_pss_verify (0.1.6)
4
+ openssl_rsa_pss_verify (0.1.7)
5
5
 
6
6
  GEM
7
7
  remote: http://rubygems.org/
@@ -49,13 +49,13 @@ static void bind_err_strs(char * strs, int max) {
49
49
  strncat(strs, ERR_error_string(ERR_get_error(), NULL), OSSL_ERR_STR_LEN);
50
50
  }
51
51
 
52
- if (err_cnt == (max-1) && ERR_peek_error()) {
52
+ if (ERR_peek_error()) {
53
53
  ERR_error_string_n(ERR_get_error(), last_err, OSSL_ERR_STR_LEN);
54
54
  ++err_cnt;
55
55
 
56
56
  if (ERR_peek_error()) {
57
57
  while(ERR_get_error()) ++err_cnt;
58
- snprintf(last_err, OSSL_ERR_STR_LEN, "[%i additional errors truncated]", err_cnt);
58
+ snprintf(last_err, OSSL_ERR_STR_LEN, "[%i additional errors truncated]", (max - err_cnt + 1));
59
59
  }
60
60
  strcat(strs, "\n");
61
61
  strncat(strs, last_err, OSSL_ERR_STR_LEN);
@@ -1,3 +1,3 @@
1
1
  module OpenSSL_RSA_PSS_Verify
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openssl_rsa_pss_verify
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jon Distad