From patchwork Mon Oct 8 05:56:48 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: David Sommerseth X-Patchwork-Id: 513 Return-Path: Delivered-To: patchwork@openvpn.net Delivered-To: patchwork@openvpn.net Received: from director9.mail.ord1d.rsapps.net ([172.27.255.50]) by backend30.mail.ord1d.rsapps.net with LMTP id CJFdDqqMu1u3LAAAIUCqbw for ; Mon, 08 Oct 2018 12:58:18 -0400 Received: from proxy5.mail.iad3a.rsapps.net ([172.27.255.50]) by director9.mail.ord1d.rsapps.net with LMTP id CPQgC6qMu1u8VgAAalYnBA ; Mon, 08 Oct 2018 12:58:18 -0400 Received: from smtp18.gate.iad3a ([172.27.255.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by proxy5.mail.iad3a.rsapps.net with LMTP id GAjmA6qMu1uiDQAAhn5joQ ; Mon, 08 Oct 2018 12:58:18 -0400 X-Spam-Threshold: 95 X-Spam-Score: 0 X-Spam-Flag: NO X-Virus-Scanned: OK X-Orig-To: openvpnslackdevel@openvpn.net X-Originating-Ip: [216.105.38.7] Authentication-Results: smtp18.gate.iad3a.rsapps.net; iprev=pass policy.iprev="216.105.38.7"; spf=pass smtp.mailfrom="openvpn-devel-bounces@lists.sourceforge.net" smtp.helo="lists.sourceforge.net"; dkim=fail (signature verification failed) header.d=sourceforge.net; dkim=fail (signature verification failed) header.d=sf.net; dmarc=none (p=nil; dis=none) header.from=openvpn.net X-Suspicious-Flag: YES X-Classification-ID: 59e8b2d0-cb1b-11e8-8299-5254008b8116-1-1 Received: from [216.105.38.7] ([216.105.38.7:58718] helo=lists.sourceforge.net) by smtp18.gate.iad3a.rsapps.net (envelope-from ) (ecelerity 4.2.38.62370 r(:)) with ESMTPS (cipher=DHE-RSA-AES256-GCM-SHA384) id 9F/6C-08465-9AC8BBB5; Mon, 08 Oct 2018 12:58:17 -0400 Received: from [127.0.0.1] (helo=sfs-ml-2.v29.lw.sourceforge.com) by sfs-ml-2.v29.lw.sourceforge.com with esmtp (Exim 4.90_1) (envelope-from ) id 1g9YqQ-0000hK-7C; Mon, 08 Oct 2018 16:57:22 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-2.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1g9YqO-0000hD-72 for openvpn-devel@lists.sourceforge.net; Mon, 08 Oct 2018 16:57:20 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Transfer-Encoding:Content-Type:MIME-Version :Message-Id:Date:Subject:To:From:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=YuZPR4wX2aQ22C9t0/aT0+ynZjeinyqM8sJsXX7q0PY=; b=khKAGvqUqmJBQlXE6pjEv/TQnR IhRe3nJI3rK/dNFQjtJBrDWl6I1B7D/lrfm49DUITAtjv4MvL0t9nfBskeLtU5PrmvLw7t2WB/0QH m26TEo+Ru3Jw0JX2fCfhm+T9aOlypm+TL9OtIWjSlt+GaMT8FnvMiWRPhCAXLUOd4jYY=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-Id:Date: Subject:To:From:Sender:Reply-To:Cc:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post: List-Owner:List-Archive; bh=YuZPR4wX2aQ22C9t0/aT0+ynZjeinyqM8sJsXX7q0PY=; b=j eHo7UHOKBGoCKPlM+xo7Q5fylPdjQE+jEIIYpZxIUR9B9QTToZ9HC9y6klPmDu94lpA/WMNK8t5gF Py+k6HAlt6G9I9OiMd8MWBmGHGN6FJLHUvj+B4P391kz7z+phgIWhF+HmhiTJd+P8mFCqwpSEzbCR h7ECfZbiweI3KnPU=; Received: from [185.212.44.139] (helo=mx0.basenordic.cloud) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) id 1g9YqL-00Evqd-Ap for openvpn-devel@lists.sourceforge.net; Mon, 08 Oct 2018 16:57:20 +0000 Received: from localhost (unknown [IPv6:::1]) by mx0.basenordic.cloud (Postfix) with ESMTP id E454C84312F for ; Mon, 8 Oct 2018 16:57:00 +0000 (UTC) Received: from mx0.basenordic.cloud ([127.0.0.1]) by localhost (winterfell.topphemmelig.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ttjZmxRz8Ltf for ; Mon, 8 Oct 2018 18:57:00 +0200 (CEST) Received: from zimbra.sommerseth.email (zimbra.sommerseth.email [172.16.33.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx0.basenordic.cloud (Postfix) with ESMTPS id 5306182436F for ; Mon, 8 Oct 2018 18:57:00 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zimbra.sommerseth.email (Postfix) with ESMTP id E32E94DB0CF3 for ; Mon, 8 Oct 2018 18:56:59 +0200 (CEST) Received: from zimbra.sommerseth.email ([127.0.0.1]) by localhost (zimbra.sommerseth.email [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 180qwZiSpGn8 for ; Mon, 8 Oct 2018 18:56:59 +0200 (CEST) Received: from optimus.homebase.sommerseths.net (unknown [10.35.7.2]) by zimbra.sommerseth.email (Postfix) with ESMTPS id 866634DB0CF2 for ; Mon, 8 Oct 2018 18:56:59 +0200 (CEST) From: David Sommerseth To: openvpn-devel@lists.sourceforge.net Date: Mon, 8 Oct 2018 19:56:48 +0300 Message-Id: <20181008165648.27504-1-davids@openvpn.net> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different -0.0 SPF_PASS SPF: sender matches SPF record 1.0 RDNS_NONE Delivered to internal network by a host with no rDNS X-Headers-End: 1g9YqL-00Evqd-Ap Subject: [Openvpn-devel] [PATCH] build: Fix build warnings related to get_random() X-BeenThere: openvpn-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: openvpn-devel-bounces@lists.sourceforge.net X-getmail-retrieved-from-mailbox: Inbox This fixes this compile warning: platform.c: In function ‘platform_create_temp_file’: platform.c:355:31: warning: implicit declaration of function ‘get_random’ [-Wimplicit-function-declaration] prefix, (unsigned long) get_random(), Signed-off-by: David Sommerseth Acked-by: Gert Doering --- src/openvpn/platform.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/openvpn/platform.c b/src/openvpn/platform.c index 5ecccf1c..53d07f9c 100644 --- a/src/openvpn/platform.c +++ b/src/openvpn/platform.c @@ -30,6 +30,7 @@ #include "syshead.h" #include "buffer.h" +#include "crypto.h" #include "error.h" #include "misc.h" #include "win32.h"