From cc1c4676db37e8a94d855ed8cf201eb0abf70890 Mon Sep 17 00:00:00 2001 From: Michael Weiser Date: Mon, 19 Dec 2016 13:39:54 +0100 Subject: [PATCH] Make ldns_tsig_credentials_struct read-only for python --- contrib/python/ldns.i | 3 +++ 1 file changed, 3 insertions(+) diff --git a/contrib/python/ldns.i b/contrib/python/ldns.i index 562b3ec9..0635c0ba 100644 --- a/contrib/python/ldns.i +++ b/contrib/python/ldns.i @@ -126,6 +126,9 @@ uint32_t ldns_read_timeval_usec(struct timeval* t) { %immutable ldns_struct_rr_descriptor::_name; %immutable ldns_error_str; %immutable ldns_signing_algorithms; +%immutable ldns_tsig_credentials_struct::algorithm; +%immutable ldns_tsig_credentials_struct::keyname; +%immutable ldns_tsig_credentials_struct::keydata; //*_new_frm_fp_l %apply int *OUTPUT { (int *line_nr) }; -- 2.47.3