Link against openssl.
This commit is contained in:
parent
6748d4327c
commit
4cd4fa3bb1
3 changed files with 12 additions and 2 deletions
|
@ -1,6 +1,9 @@
|
|||
(import frontend
|
||||
command-line
|
||||
texts)
|
||||
texts
|
||||
spiffy
|
||||
openssl
|
||||
(chicken tcp))
|
||||
|
||||
(define -port- (make-parameter #f))
|
||||
(define -certificate- (make-parameter #f))
|
||||
|
@ -39,3 +42,9 @@
|
|||
(when ssl?
|
||||
(print " Certificate:" (-certificate-))
|
||||
(print " Key:" (-key-)))
|
||||
|
||||
(define listener
|
||||
(if ssl?
|
||||
(ssl-listen port)
|
||||
(tcp-listen port)))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue