Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TTCN-3 Libraries
LibIts
Commits
64925c67
Commit
64925c67
authored
Jan 12, 2015
by
garciay
Browse files
Remove useless code
parent
c7da91e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
ttcn/Security/LibItsSecurity_Functions.ttcn3
View file @
64925c67
...
...
@@ -567,22 +567,11 @@ module LibItsSecurity_Functions {
var
octetstring
v_signature
;
var
boolean
v_result
:=
false
;
var
template
(
value
)
ToBeSignedCertificate
v_toBeSignedCertificate
;
//
// var ToBeSignedCertificate v_at;
// var integer v_res;
// var boolean v_match;
// Create Certificate payload to be verified
v_toBeSignedCertificate
:=
m_toBeSignedCertificate
(
p_certificateToBeVerified
);
toBeVerifiedData
:=
bit2oct
(
encvalue
(
v_toBeSignedCertificate
));
// v_res := decvalue(oct2bit(toBeVerifiedData), v_at);
// if (v_res != 0) {
// setverdict(fail, "Decoding failed.");
// stop;
// }
// v_match := match(v_toBeSignedCertificate, v_at);
// Build the signature
v_signature
:=
'0000'O
&
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment