Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
LSH
lsh
Commits
445291be
Commit
445291be
authored
Oct 03, 2001
by
Niels Möller
Browse files
Minor bug fixes.
Rev: src/lsh-decode-key.c:1.14
parent
c00b351e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lsh-decode-key.c
View file @
445291be
...
...
@@ -5,7 +5,9 @@
* $Id$
*/
#include
"digits.h"
#include
"dsa.h"
#include
"format.h"
#include
"io.h"
#include
"lsh_argp.h"
#include
"publickey_crypto.h"
...
...
@@ -17,6 +19,8 @@
#include
"werror.h"
#include
"xalloc.h"
#include
<string.h>
#include
<unistd.h>
#include
<fcntl.h>
...
...
@@ -34,7 +38,7 @@ const char *argp_program_bug_address = BUG_ADDRESS;
(name lsh_decode_key_options)
(vars
; Output filename
(file
. "char *"
)
(file
string
)
; Assume input is base64
(base64 . int)
...
...
@@ -93,7 +97,7 @@ main_argp_parser(int key, char *arg, struct argp_state *state)
break
;
case
'o'
:
self
->
file
=
arg
;
self
->
file
=
ssh_format
(
"%lz"
,
arg
)
;
break
;
}
return
0
;
...
...
@@ -110,7 +114,7 @@ main_argp =
};
st
ruct
verifier
*
st
atic
struct
sexp
*
lsh_decode_key
(
struct
lsh_string
*
contents
)
{
struct
simple_buffer
buffer
;
...
...
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