fix OpenSSL ephemeral cipher test
Thanks to Sam for the repair.
This commit is contained in:
parent
993563a829
commit
67a1cd9274
|
@ -52,7 +52,7 @@
|
||||||
|
|
||||||
;; Test ECDHE ciphers
|
;; Test ECDHE ciphers
|
||||||
(test-ephemeral (lambda (server-ctx)
|
(test-ephemeral (lambda (server-ctx)
|
||||||
(ssl-server-context-enable-ecdhe! server-ctx 'secp192k1))
|
(ssl-server-context-enable-ecdhe! server-ctx 'secp521r1))
|
||||||
"ECDHE-RSA-AES128-SHA256")
|
"ECDHE-RSA-AES128-SHA256")
|
||||||
|
|
||||||
;; Sanity check for DHE: connection fails when enable! not called
|
;; Sanity check for DHE: connection fails when enable! not called
|
||||||
|
@ -63,7 +63,10 @@
|
||||||
(parameterize ((current-error-port (open-output-string)))
|
(parameterize ((current-error-port (open-output-string)))
|
||||||
(test-ephemeral void "AES+EDH"))))
|
(test-ephemeral void "AES+EDH"))))
|
||||||
|
|
||||||
;; Sanity check for ECDHE: connection fails when enable! not called
|
;; This used to be a sanity check for ECDHE, where the connection
|
||||||
|
;; fails when `enable!` is not called. But calling `enable!` is
|
||||||
|
;; apparently no longer necessary.
|
||||||
|
#;
|
||||||
(check-exn
|
(check-exn
|
||||||
#rx"connect failed"
|
#rx"connect failed"
|
||||||
(lambda ()
|
(lambda ()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user