Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
asn1c
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
asn1c
Commits
3ae21bd2
Commit
3ae21bd2
authored
Feb 21, 2005
by
Lev Walkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oops
parent
0988962d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
skeletons/OCTET_STRING.c
skeletons/OCTET_STRING.c
+4
-4
No files found.
skeletons/OCTET_STRING.c
View file @
3ae21bd2
...
...
@@ -812,11 +812,11 @@ static ssize_t OCTET_STRING__convert_hexadecimal(void *sptr, void *chunk_buf, si
break
;
case
0x41
:
case
0x42
:
case
0x43
:
/* ABC */
case
0x44
:
case
0x45
:
case
0x46
:
/* DEF */
clv
=
(
clv
<<
4
)
+
(
ch
-
(
0x41
+
10
)
);
clv
=
(
clv
<<
4
)
+
(
ch
-
0x41
+
10
);
break
;
case
0x61
:
case
0x62
:
case
0x63
:
/* abc */
case
0x64
:
case
0x65
:
case
0x66
:
/* def */
clv
=
(
clv
<<
4
)
+
(
ch
-
(
0x61
+
10
)
);
clv
=
(
clv
<<
4
)
+
(
ch
-
0x61
+
10
);
break
;
default:
*
buf
=
0
;
/* JIC */
...
...
@@ -932,11 +932,11 @@ OS__strtoent(int base, char *buf, char *end, int32_t *return_value) {
break
;
case
0x41
:
case
0x42
:
case
0x43
:
/* ABC */
case
0x44
:
case
0x45
:
case
0x46
:
/* DEF */
val
=
val
*
base
+
(
ch
-
(
0x41
+
10
)
);
val
=
val
*
base
+
(
ch
-
0x41
+
10
);
break
;
case
0x61
:
case
0x62
:
case
0x63
:
/* abc */
case
0x64
:
case
0x65
:
case
0x66
:
/* def */
val
=
val
*
base
+
(
ch
-
(
0x61
+
10
)
);
val
=
val
*
base
+
(
ch
-
0x61
+
10
);
break
;
case
0x3b
:
/* ';' */
*
return_value
=
val
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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