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
80035843
Commit
80035843
authored
Jan 26, 2019
by
Mouse
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'upstream/master' into vlm_master
parents
dcfbe4bc
2e2cb790
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
asn1-tools/unber/libasn1_unber_tool.c
asn1-tools/unber/libasn1_unber_tool.c
+4
-4
libasn1common/asn1_common.h
libasn1common/asn1_common.h
+2
-2
No files found.
asn1-tools/unber/libasn1_unber_tool.c
View file @
80035843
...
...
@@ -207,8 +207,8 @@ process_deeper(const char *fname, input_stream_t *ibs, output_stream_t *os,
case
-
1
:
osprintfError
(
os
,
"%s: Fatal error decoding value length"
" at %
zu
\n
"
,
fname
,
(
size_t
)
ibs
->
bytesRead
(
ibs
));
" at %
lld
\n
"
,
fname
,
(
long
long
)
ibs
->
bytesRead
(
ibs
));
return
PD_FAILED
;
case
0
:
/* More data expected */
...
...
@@ -219,8 +219,8 @@ process_deeper(const char *fname, input_stream_t *ibs, output_stream_t *os,
if
((
t_len
+
l_len
)
!=
tblen
)
{
osprintfError
(
os
,
"%s: Outer tag length doesn't match inner tag length"
" at %
zu
\n
"
,
fname
,
(
size_t
)
ibs
->
bytesRead
(
ibs
));
" at %
lld
\n
"
,
fname
,
(
long
long
)
ibs
->
bytesRead
(
ibs
));
return
PD_FAILED
;
}
...
...
libasn1common/asn1_common.h
View file @
80035843
/*
-
/*
* Copyright (c) 2005 Lev Walkin <vlm@lionet.info>. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
...
...
@@ -22,7 +22,6 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
...
...
@@ -31,6 +30,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
#include <assert.h>
#include <errno.h>
...
...
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