Coverage report: /home/ellis/.stash/lisp/cl-plus-ssl/src/package.lisp
Kind | Covered | All | % |
expression | 0 | 6 | 0.0 |
branch | 0 | 0 | nil |
Key
Not instrumented
Conditionalized out
Executed
Not executed
Both branches taken
One branch taken
Neither branch taken
1
;;;; -*- Mode: LISP; Syntax: COMMON-LISP; indent-tabs-mode: nil; coding: utf-8; show-trailing-whitespace: t -*-
3
;;; Copyright (C) 2001, 2003 Eric Marsden
4
;;; Copyright (C) 2005 David Lichteblau
5
;;; "the conditions and ENSURE-SSL-FUNCALL are by Jochen Schmidt."
6
;;; Copyright (C) contributors as per cl+ssl git history
8
;;; See LICENSE for details.
11
(:use :common-lisp :trivial-gray-streams))
17
;;; Create TLS stream over TCP stream
18
make-ssl-client-stream
19
make-ssl-server-stream
21
;;; Custom binding for the global SSL_CTX
24
;;; Custom SSL_CTX creation
28
;;; Configure the global SSL_CTX
29
use-certificate-chain-file
30
ssl-load-global-verify-locations
31
ssl-set-global-default-verify-paths
36
;;; Properties of an established TLS session
37
get-selected-alpn-protocol
41
decode-certificate-from-file
43
ssl-stream-x509-certificate
47
certificate-not-after-time
48
certificate-not-before-time
49
certificate-subject-common-names
50
certificate-fingerprint
51
;; (low level function, already
52
;; employed by make-ssl-client-stream
53
;; if verification is enabled and hostname
57
;;; Saving / loading Lisp image
68
*make-ssl-client-stream-verify-default*
69
*default-unwrap-stream-p*
72
;;; Not full list, there are more non-exported,
73
;;; including the base classes.
74
;;; Should we export them all?
77
;;; accessors of ssl-error-verify
81
;;; OpenSSL API constants
84
+ssl-verify-fail-if-no-peer-cert+
85
+ssl-verify-client-once+
94
+ssl-sess-cache-client+
95
+ssl-sess-cache-server+
97
+ssl-sess-cache-no-auto-clear+
98
+ssl-sess-cache-no-internal-lookup+
99
+ssl-sess-cache-no-internal-store+
100
+ssl-sess-cache-no-internal+
104
;; Use the (MAKE-SSL-CLIENT-STREAM .. :VERIFY ?) to enable/disable verification.
105
;; MAKE-CONTEXT also allows to enab/disable verification.
109
(import '(cl+ssl/config::libssl
110
cl+ssl/config::libcrypto))