Skip to content
GitLab
Menu
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
4ddf428e
Commit
4ddf428e
authored
Dec 07, 1999
by
Niels Möller
Browse files
* src/lsh_writekey.c: Adapted to new functions for reading and
converting keys. Rev: src/lsh_writekey.c:1.16
parent
c6c2cf2d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lsh_writekey.c
View file @
4ddf428e
...
...
@@ -61,21 +61,17 @@ static struct sexp_print_command write_transport
(expr
(name make_writekey)
(globals
;; (prog1 PROG1)
;; (private2public PRIVATE2PUBLIC)
(open IO_WRITE_FILE)
(stdin IO_READ_STDIN)
(read READ_SEXP)
;; (transport TRANSPORT)
;; (canonical CANONICAL)
)
(read READ_SEXP) )
(params
(private object io_write_file_info)
(public object io_write_file_info))
(expr
(lambda (backend)
(let ((key (read (stdin backend))))
(prog1 (transport (open backend public) (private2public key))
(prog1 (transport (open backend public)
(signer2public (spki_parse_private_key key)))
; FIXME: Add encryption here
(canonical (open backend private) key))))))
*/
...
...
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