Commits (1)
...@@ -89,11 +89,11 @@ module LibItsHttp_Functions { ...@@ -89,11 +89,11 @@ module LibItsHttp_Functions {
var integer v_jdx; var integer v_jdx;
for (v_jdx := 0; v_jdx < lengthof(p_headers); v_jdx := v_jdx + 1) { for (v_jdx := 0; v_jdx < lengthof(p_headers); v_jdx := v_jdx + 1) {
if (p_headers[v_jdx].header_name == p_headers_to_set[v_idx]) { if (p_headers[v_jdx].header_name == p_headers_to_set[v_idx]) {
p_headers[v_jdx].header_value := p_headers_value[v_idx]; // NOTE Codec won't encode it p_headers[v_jdx].header_value := { p_headers_value[v_idx] }; // NOTE Codec won't encode it
break; break;
} }
if (v_jdx == lengthof(p_headers)) { if (v_jdx == lengthof(p_headers)) {
p_headers[v_jdx].header_value := p_headers_value[v_jdx]; p_headers[v_jdx].header_value := { p_headers_value[v_jdx] };
} }
} // End of 'for' statement } // End of 'for' statement
} // End of 'for' statement } // End of 'for' statement
......
...@@ -2275,6 +2275,8 @@ module LibItsSecurity_Functions { ...@@ -2275,6 +2275,8 @@ module LibItsSecurity_Functions {
in charstring p_certificate_id, in charstring p_certificate_id,
out octetstring p_hash out octetstring p_hash
) return boolean { ) return boolean {
log(">>> f_getCertificateHash: ", p_certificate_id);
if (not fx_readCertificateHash(p_certificate_id, p_hash)){ if (not fx_readCertificateHash(p_certificate_id, p_hash)){
log("f_getCertificateHash: Failed to retrieve digest for ", p_certificate_id); log("f_getCertificateHash: Failed to retrieve digest for ", p_certificate_id);
return false; return false;
......