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