mirror of
https://github.com/dimitri/pgloader.git
synced 2026-05-04 10:31:02 +02:00
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:
parent
f8ae9f22b9
commit
6cbec206af
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user