Skip to content

Instantly share code, notes, and snippets.

@iratqq
Created September 15, 2008 04:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iratqq/10814 to your computer and use it in GitHub Desktop.
Save iratqq/10814 to your computer and use it in GitHub Desktop.
--- ffi.lisp.orig Mon Sep 15 13:06:11 2008
+++ ffi.lisp Mon Sep 15 13:04:55 2008
@@ -242,6 +242,7 @@
(setf *bio-lisp-method* (make-bio-lisp-method))))
(defun reload ()
+ (cffi:load-foreign-library 'libcrypto)
(cffi:load-foreign-library 'libssl)
(setf *ssl-global-context* nil)
(setf *ssl-global-method* nil))
--- reload.lisp.orig Mon Sep 15 13:03:38 2008
+++ reload.lisp Mon Sep 15 13:03:52 2008
@@ -19,4 +19,9 @@
(:windows "libssl32.dll")
(t (:default "libssl")))
+(cffi:define-foreign-library libcrypto
+ (:windows "libcrypto.dll")
+ (t (:default "libcrypto")))
+
+(cffi:use-foreign-library libcrypto)
(cffi:use-foreign-library libssl)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment