Turns out SSL key/crt file paths should be strings.

Our PostgreSQL driver uses CFFI to load the SSL support from open ssl
and as a result the certificate and key file names should be strings
rather than pathnames. Should fix #308 again...
This commit is contained in:
Dimitri Fontaine 2015-11-11 23:10:29 +01:00
parent f8ae9f22b9
commit 6cbec206af

View File

@ -76,10 +76,10 @@
(key-file (expand-user-homedir-pathname *pgsql-client-key*))
(pomo::*ssl-certificate-file* (when (and (ssl-enable-p pgconn)
(probe-file crt-file))
crt-file))
(uiop:native-namestring crt-file)))
(pomo::*ssl-key-file* (when (and (ssl-enable-p pgconn)
(probe-file key-file))
key-file)))
(uiop:native-namestring key-file))))
(flet ((connect (pgconn username)
(handler-case
(pomo:connect (db-name pgconn)