Skip to contentSkip to conversation

Remove unused function sock_addr_set

PATCH In review Arne Schwabe 2 participants 4 messages Mar 4, 2015 – Mar 5, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 Remove unused function sock_addr_set

---
 src/openvpn/ps.c | 11 -----------
 1 file changed, 11 deletions(-)
src/openvpn/ps.c +0 -11
index 6807aac..fe18a9d 100644
@@ -372,17 +372,6 @@ proxy_list_close (struct proxy_connection **list)
     }
 }
 
-static void
-sock_addr_set (struct openvpn_sockaddr *osaddr,
-	       const in_addr_t addr,
-	       const int port)
-{
-  CLEAR (*osaddr);
-  osaddr->addr.in4.sin_family = AF_INET;
-  osaddr->addr.in4.sin_addr.s_addr = htonl (addr);
-  osaddr->addr.in4.sin_port = htons (port);
-}
-
 static inline void
 proxy_connection_io_requeue (struct proxy_connection *pc, const int rwflags_new, struct event_set *es)
 {
Signature · 1 line
1.9.3 (Apple Git-50)
#1 lore raw

PATCH 2/2 Document the default for tls-cipher.

---
 doc/openvpn.8 | 3 +++
 1 file changed, 3 insertions(+)
doc/openvpn.8 +3 -0
index a8c189c..32cdcb9 100644
@@ -4514,6 +4514,9 @@ of security they both support.
 Use
 .B \-\-show-tls
 to see a list of supported TLS ciphers.
+
+The default for --tls-cipher is to use PolarSSL's default cipher list 
+when using PolarSSL or "DEFAULT:!EXP:!PSK:!SRP:!kRSA" when using OpenSSL.
 .\"*********************************************************
 .TP
 .B \-\-tls-timeout n
Signature · 1 line
1.9.3 (Apple Git-50)
#2 lore raw

[Openvpn-devel] [PATCH applied] Re: Document the default for tls-cipher.

Your patch has been applied to the master branch.

commit 77f464bddcfcc958f10fd3e9c45e1cb46d5206d0

Author: Arne Schwabe
Date:   Wed Mar 4 15:23:45 2015 +0100
     Document the default for tls-cipher.

     Acked-by: Gert Doering <[email protected]...>
     Message-Id: <[email protected]...>
     URL: http://article.gmane.org/gmane.network.openvpn.devel/9503
     Signed-off-by: Gert Doering <[email protected]...>

--
kind regards,

Gert Doering