summaryrefslogtreecommitdiff
path: root/usr.bin/ftp/main.c
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2014-10-03 14:15:42 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2014-10-03 14:15:42 +0000
commit4ebb4a9883b6f69d4d11fbaf47424b5292dc5d03 (patch)
tree2f1ff6aa5b4e60ecf95886449a4a0141d7eda359 /usr.bin/ftp/main.c
parentc71140db58a2ac19167e938259085a9dfad12daf (diff)
update for new ressl noverify API
Diffstat (limited to 'usr.bin/ftp/main.c')
-rw-r--r--usr.bin/ftp/main.c6
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: