From b3d45522ae0ce9ab83191788d1c06723b15d0a25 Mon Sep 17 00:00:00 2001 From: zs <84500316@qq.com> Date: Wed, 17 Aug 2016 14:17:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crypto/x509/x509_d2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crypto/x509/x509_d2.c b/crypto/x509/x509_d2.c index 8706c2c6..b8746a22 100644 --- a/crypto/x509/x509_d2.c +++ b/crypto/x509/x509_d2.c @@ -88,11 +88,11 @@ int X509_STORE_load_locations(X509_STORE *ctx, const char *file, X509_LOOKUP *lookup; //Support Go: - //Go调用此函数无法传递NULL指针,只能传递空串。 + //Go璋冪敤姝ゅ嚱鏁颁紶閫掔┖涓叉椂澶勭悊寮傚父 if (file && *file == '\0') file = NULL; if (path && *path == '\0') - path = NULL + path = NULL; if (file != NULL) { lookup = X509_STORE_add_lookup(ctx, X509_LOOKUP_file());