Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/ftp Disable verification for now until we implement ...



details:   https://anonhg.NetBSD.org/src/rev/d3da3efc2720
branches:  trunk
changeset: 370014:d3da3efc2720
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Sep 12 15:10:31 2022 +0000

description:
Disable verification for now until we implement installation of trust anchors.

diffstat:

 usr.bin/ftp/ssl.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 1225149cdb45 -r d3da3efc2720 usr.bin/ftp/ssl.c
--- a/usr.bin/ftp/ssl.c Mon Sep 12 13:11:41 2022 +0000
+++ b/usr.bin/ftp/ssl.c Mon Sep 12 15:10:31 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ssl.c,v 1.11 2022/08/30 08:51:28 christos Exp $        */
+/*     $NetBSD: ssl.c,v 1.12 2022/09/12 15:10:31 christos Exp $        */
 
 /*-
  * Copyright (c) 1998-2004 Dag-Erling Coïdan Smørgrav
@@ -34,7 +34,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: ssl.c,v 1.11 2022/08/30 08:51:28 christos Exp $");
+__RCSID("$NetBSD: ssl.c,v 1.12 2022/09/12 15:10:31 christos Exp $");
 #endif
 
 #include <errno.h>
@@ -589,7 +589,7 @@
        SSL_CTX *ctx;
        X509_VERIFY_PARAM *param;
        int ret, ssl_err;
-       int verify = getenv("NO_CERT_VERIFY") == NULL;
+       int verify = 0; // getenv("NO_CERT_VERIFY") == NULL;
 
        /* Init the SSL library and context */
        if (!SSL_library_init()){



Home | Main Index | Thread Index | Old Index