The OpenVPN stuff needs some love in general. I'll try to get openvpn,
openvpn-devel and openvpn-polarssl consolidated and reworked in a
reasonable way this weekend / next week (which includes updating
openvpn-polarssl).

  mirko

On 06/01/2012 07:21 PM, David Favro wrote:
> PolarSSL 1.1 (i.e. as of SVN revision 1132, which is getting pulled in
> current OpenWRT feed) changed the argument signature of havege_rand() [and,
> to avoid confusion, changed its name to havege_random()].  Since
> ssl_set_rng() also changed the signature of the passed-in RNG to match, this
> doesn't cause too many problems.
> 
> The master development branch of OpenVPN-PolarSSL has made appropriate
> changes (in fact it does not use havege_random() any longer), but the
> current OpenWRT feed is pulling 03ab4ead which predates the fix and hence
> does not compile.
> 
> One option is to update the OpenVPN feed to a more recent version, but this
> requires some care since OpenVPN has since revamped the build system and
> directory structure; another is to downgrade PolarSSL to an older version.
> Attached patch is a third option, a temporary fix to use the new
> havege_random() with the older OpenVPN.  It is only lightly tested (OpenVPN
> establishes connection and can send data) but is a minor change.  It
> presumably should be accompanied by a minor bump of the feed package's 
> version.
> 
> -- David
> 
> 
> 
> 
> 
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to