Skip to content

Commit

Permalink
another nokogiri function rename
Browse files Browse the repository at this point in the history
  • Loading branch information
ccutrer committed Apr 8, 2021
1 parent e4f0b7c commit a1bcc67
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ext/nokogiri_ext_xmlsec/nokogiri_decrypt_with_key.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// technically we should include nokogiri.h, but we don't know
// how to find it. we _know_ this function will exist at runtime
// though, so just declare it here
void nokogiri_root_node(xmlNodePtr);
void noko_xml_document_pin_node(xmlNodePtr);

VALUE decrypt_with_key(VALUE self, VALUE rb_key_name, VALUE rb_key) {
VALUE rb_exception_result = Qnil;
Expand Down Expand Up @@ -63,7 +63,7 @@ VALUE decrypt_with_key(VALUE self, VALUE rb_key_name, VALUE rb_key) {
// the replaced node is orphaned, but not freed; let Nokogiri
// own it now
if(encCtx->replacedNodeList != NULL) {
nokogiri_root_node(encCtx->replacedNodeList);
noko_xml_document_pin_node(encCtx->replacedNodeList);
// no really, please don't free it
encCtx->replacedNodeList = NULL;
}
Expand Down
2 changes: 1 addition & 1 deletion lib/xmlsec/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Xmlsec
VERSION = '0.10.0'
VERSION = '0.10.1'
end

0 comments on commit a1bcc67

Please sign in to comment.