nokogiri-xmlsec-instructure 0.10.0 → 0.10.1
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/nokogiri_decrypt_with_key.c +2 -2
- data/lib/xmlsec/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 72eea7707ea8c4d24e0cb82afc804752be0313d810554ca54f4ea9e4a3f857e9
|
4
|
+
data.tar.gz: 4641d782e76a25aa3f251ff160f04d66198a1c2c3a4020f625dc29f7bbe5e365
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f116055729f4a0bddbee6432c99e9f505aad12a45452121d4fb14414de8eaf613009db60d28d55a7e7c8b7c5678e67e7d3a297741186f4e9eabcf4d08b88385c
|
7
|
+
data.tar.gz: d73b7b9d8ff63621b3162b4d83dfcf8ffd52b253d589fc863ef44d47847801e23ad8a386b4459a933431c5eaef0e377051089e8c4af06cde05522e3d390f4ae3
|
@@ -4,7 +4,7 @@
|
|
4
4
|
// technically we should include nokogiri.h, but we don't know
|
5
5
|
// how to find it. we _know_ this function will exist at runtime
|
6
6
|
// though, so just declare it here
|
7
|
-
void
|
7
|
+
void noko_xml_document_pin_node(xmlNodePtr);
|
8
8
|
|
9
9
|
VALUE decrypt_with_key(VALUE self, VALUE rb_key_name, VALUE rb_key) {
|
10
10
|
VALUE rb_exception_result = Qnil;
|
@@ -63,7 +63,7 @@ done:
|
|
63
63
|
// the replaced node is orphaned, but not freed; let Nokogiri
|
64
64
|
// own it now
|
65
65
|
if(encCtx->replacedNodeList != NULL) {
|
66
|
-
|
66
|
+
noko_xml_document_pin_node(encCtx->replacedNodeList);
|
67
67
|
// no really, please don't free it
|
68
68
|
encCtx->replacedNodeList = NULL;
|
69
69
|
}
|
data/lib/xmlsec/version.rb
CHANGED