Skip to content
GitLab
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
TTCN-3 Libraries
LibIts
Compare revisions
3f7c134dc24afb3a4b8ae71dd04b75b116b8fda7...85cb2b6c78a91a7d1370036baa632d557c509ed4
Commits (1)
Bug fixed in TTCN-3 function f_set_headers_list()
· 85cb2b6c
YannGarcia
authored
Mar 19, 2020
85cb2b6c
Show whitespace changes
Inline
Side-by-side
ttcn/Http/LibItsHttp_Functions.ttcn
View file @
85cb2b6c
...
...
@@ -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
[
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
;
}
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
...
...
ttcn/Security/LibItsSecurity_Functions.ttcn
View file @
85cb2b6c
...
...
@@ -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
;
...
...