root/trunk/thirdparty/cl+ssl/reload.lisp

Revision 2698, 0.9 kB (checked in by hans, 10 months ago)

updated cl+ssl from CVS trunk - now with deadlines

Line 
1 ;;; Copyright (C) 2001, 2003  Eric Marsden
2 ;;; Copyright (C) 2005  David Lichteblau
3 ;;; "the conditions and ENSURE-SSL-FUNCALL are by Jochen Schmidt."
4 ;;;
5 ;;; See LICENSE for details.
6
7 ;;; We do this in an extra file so that it happens
8 ;;;   - after the asd file has been loaded, so that users can
9 ;;;     customize *libssl-pathname* between loading the asd and LOAD-OPing
10 ;;;     the actual sources
11 ;;;   - before ssl.lisp is loaded, which needs the library at compilation
12 ;;;     time on some implemenations
13 ;;;   - but not every time ffi.lisp is re-loaded as would happen if we
14 ;;;     put this directly into ffi.lisp
15
16 (in-package :cl+ssl)
17
18 (cffi:define-foreign-library libssl
19   (:windows "libssl32.dll")
20   (:darwin "libssl.dylib")
21   (:unix (:or "libssl.so.0.9.8" "libssl.so"))
22   (t (:default "libssl3")))
23
24 (cffi:use-foreign-library libssl)
25
26 (cffi:define-foreign-library libeay32
27   (:windows "libeay32.dll"))
28
29 (cffi:use-foreign-library libeay32)
Note: See TracBrowser for help on using the browser.