diff options
author | 2014-10-03 14:15:41 +0000 | |
---|---|---|
committer | 2014-10-03 14:15:41 +0000 | |
commit | 538996c5a85353bbb963fce30d1d038444dd640e (patch) | |
tree | 6bf999bb07f5f132981126d08bef0acbe4c0ddb1 | |
parent | allow disabling hostname and cert verification separately. (diff) | |
download | wireguard-openbsd-538996c5a85353bbb963fce30d1d038444dd640e.tar.xz wireguard-openbsd-538996c5a85353bbb963fce30d1d038444dd640e.zip |
update for new ressl noverify API
-rw-r--r-- | usr.bin/ftp/main.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/ftp/main.c b/usr.bin/ftp/main.c index 9257346f67d..e6443c01bc4 100644 --- a/usr.bin/ftp/main.c +++ b/usr.bin/ftp/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.93 2014/10/03 13:44:08 jsing Exp $ */ +/* $OpenBSD: main.c,v 1.94 2014/10/03 14:15:41 tedu Exp $ */ /* $NetBSD: main.c,v 1.24 1997/08/18 10:20:26 lukem Exp $ */ /* @@ -342,7 +342,9 @@ main(volatile int argc, char *argv[]) errx(1, "ressl ciphers failed"); break; case SSL_DONTVERIFY: - ressl_config_insecure_no_verify( + ressl_config_insecure_noverifyhost( + ressl_config); + ressl_config_insecure_noverifycert( ressl_config); break; case SSL_DOVERIFY: |