Skip to contentSkip to conversation

Proposed change to allow use of statically linked OpenSSL

Openvpn-devel Samuli Seppänen 3 participants 4 messages Aug 22, 2013 – Aug 23, 2013

lore
Share & tools
lore
#0 lore raw

Hi,

In today's meeting we briefly touched upon this suggested fix to configure.ac to allow using statically linked OpenSSL:

<https://community.openvpn.net/openvpn/ticket/305>

We couldn't figure out if the proposed change would have negative side-effects, so we didn't dare to implement it as-is.

Any suggestions?

Signature · 5 lines
Samuli Seppänen
Community Manager
OpenVPN Technologies, Inc

irc freenode net: mattock
#1 lore raw

Hi,

Quoted 9 lines · Samuli Seppänen

In today's meeting we briefly touched upon this suggested fix to configure.ac to allow using statically linked OpenSSL:

<https://community.openvpn.net/openvpn/ticket/305>

We couldn't figure out if the proposed change would have negative side-effects, so we didn't dare to implement it as-is.

Any suggestions?

Read "any autoconf experts around that tell us how to properly test for openssl?" :-)

gert

Signature · 4 lines
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             [email protected]...
fax: +49-89-35655025                        [email protected]...
#2 lore raw
In reply to Samuli Seppänen
Quoted 6 lines · On Thursday 22 August 2013 22:38:49 Samuli Seppänen wrote:

In today's meeting we briefly touched upon this suggested fix to configure.ac to allow using statically linked OpenSSL:
<https://community.openvpn.net/openvpn/ticket/305>

We couldn't figure out if the proposed change would have negative side-effects, so we didn't dare to implement it as-is.

What the proposed patch does is always link against openssl's libcrypto when testing for libssl availability, but only if pkg-config didn't already provide the info. So, it's a bit of a corner case where no dynamic openssl libs are available and pkg-config info was not installed with the static libs.

I see no potential for breakage, so ACK.

Heiko

#3 lore raw

Hi,

Quoted 1 line · Heiko Hund

I see no potential for breakage, so ACK.

committed and pushed to master and release/2.3

commit 30e358e5de352c8de04a955dc89f33e1710e9b97 (master) commit 588c5fe795169c6b53e8e61f060714c1334b8e8e (release/2.3)

test-built with a dynamic openssl on Linux (no breakage).

gert

Signature · 4 lines
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             [email protected]...
fax: +49-89-35655025                        [email protected]...