修复use_cert值处理异常,导致不能正常走到验证证书的逻辑代码处

Change-Id: I1f4ada64c4a2e4fe2a15baef3abedc39fd101518
diff --git a/mbtk/mbtk_lib/src/mbtk_ftp.c b/mbtk/mbtk_lib/src/mbtk_ftp.c
index 1376679..328c064 100755
--- a/mbtk/mbtk_lib/src/mbtk_ftp.c
+++ b/mbtk/mbtk_lib/src/mbtk_ftp.c
@@ -1970,7 +1970,7 @@
         info->ftp_sock_ssl_info->ftp_ssl_support = 1;
         info->ftp_sock_ssl_info->port = port;
         info->ftp_sock_ssl_info->type = MBTK_SOCK_TCP;
-        info->ftp_sock_ssl_info->ingnore_cert = ~use_cert;
+        info->ftp_sock_ssl_info->ingnore_cert = !use_cert;
         memcpy(info->ftp_sock_ssl_info->address, host, strlen(host));
     }
     return info->handle;
@@ -1997,7 +1997,7 @@
         info->ftp_sock_ssl_info->is_support_ssl = (auth_type != FTP_AUTH_TYPE_NON);
         info->ftp_sock_ssl_info->ftp_ssl_support = 1;
         info->ftp_sock_ssl_info->port = port;
-        info->ftp_sock_ssl_info->ingnore_cert = ~use_cert;
+        info->ftp_sock_ssl_info->ingnore_cert = !use_cert;
         info->ftp_sock_ssl_info->type = MBTK_SOCK_TCP;
     }
     if(info->state == FTP_STATE_NON)