nokogiri-xmlsec-instructure 0.9.4 → 0.9.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/nokogiri_ext_xmlsec/init.c +0 -4
- data/ext/nokogiri_ext_xmlsec/nokogiri_decrypt_with_key.c +2 -0
- data/ext/nokogiri_ext_xmlsec/nokogiri_encrypt_with_key.c +2 -0
- data/ext/nokogiri_ext_xmlsec/nokogiri_helpers_set_attribute_id.c +2 -0
- data/ext/nokogiri_ext_xmlsec/nokogiri_sign.c +2 -0
- data/ext/nokogiri_ext_xmlsec/nokogiri_verify_with.c +2 -0
- data/ext/nokogiri_ext_xmlsec/util.c +1 -0
- data/ext/nokogiri_ext_xmlsec/xmlsecrb.h +1 -0
- data/lib/xmlsec/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: c965ea097e9ec7b7dedac12996ec36ab775f237181d98b9386e3d80d0e84d235
|
4
|
+
data.tar.gz: 8e4dd46952e351d39ebc19ca2e10d3d0762ca7e81df16886913ea58490790ba3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: baa8a957e1c8eb270c9724a51116a783e8f9b712c08400760c542c7245371ab9c4002aca916bff96174c932a3ef5da4d280e837e0496f4cc46be08c35954e645
|
7
|
+
data.tar.gz: daec89dfddfd5a2bd16f4d19acf5e0ffd305863f11c98805b751f451801a178a1aa6d324c26824345ef1dcce08d52b17b4c85a1436ecf2d75a15e2744ebfec0f
|
@@ -66,10 +66,6 @@ void Init_nokogiri_ext_xmlsec() {
|
|
66
66
|
rb_raise(rb_eRuntimeError, "xmlsec-crypto initialization failed");
|
67
67
|
}
|
68
68
|
|
69
|
-
// Set Error callback catcher last because various modules also call this.
|
70
|
-
// This way we always win.
|
71
|
-
xmlSecErrorsSetCallback(storeErrorCallback);
|
72
|
-
|
73
69
|
/* ruby classes & objects */
|
74
70
|
Init_Nokogiri_ext();
|
75
71
|
}
|
@@ -156,6 +156,8 @@ done:
|
|
156
156
|
xmlSecKeysMngrDestroy(keyManager);
|
157
157
|
}
|
158
158
|
|
159
|
+
xmlSecErrorsSetCallback(xmlSecErrorsDefaultCallback);
|
160
|
+
|
159
161
|
if(rb_exception_result != Qnil) {
|
160
162
|
if (hasXmlSecLastError()) {
|
161
163
|
rb_raise(rb_exception_result, "%s, XmlSec error: %s", exception_message,
|
@@ -232,6 +232,8 @@ done:
|
|
232
232
|
xmlSecDSigCtxDestroy(dsigCtx);
|
233
233
|
}
|
234
234
|
|
235
|
+
xmlSecErrorsSetCallback(xmlSecErrorsDefaultCallback);
|
236
|
+
|
235
237
|
if(rb_exception_result != Qnil) {
|
236
238
|
// remove the signature node before raising an exception, so that
|
237
239
|
// the document is untouched
|
@@ -246,6 +246,8 @@ done:
|
|
246
246
|
xmlSecKeysMngrDestroy(keyManager);
|
247
247
|
}
|
248
248
|
|
249
|
+
xmlSecErrorsSetCallback(xmlSecErrorsDefaultCallback);
|
250
|
+
|
249
251
|
if(!NIL_P(rb_exception_result)) {
|
250
252
|
if (hasXmlSecLastError()) {
|
251
253
|
rb_raise(rb_exception_result, "%s, XmlSec error: %s", exception_message,
|
data/lib/xmlsec/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nokogiri-xmlsec-instructure
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Albert J. Wong
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-
|
12
|
+
date: 2018-04-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: nokogiri
|