Skip to contentSkip to conversation

OpenVPN OpenSSL Crypto Separation Preview [2/8]

PATCH In review Adriaan de Jong 2 participants 2 messages Dec 8, 2010 – Dec 10, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 OpenVPN OpenSSL Crypto Separation Preview [2/8]

The second in the series.

#1 lore raw

Adriaan de Jong wrote:
Content-Description: 02_openssl_crypto_separation.patch.gz

Makefile.am line 77

Quoted 11 lines

Separate OpenSSL specific code

diff -r 228dee8676bf Makefile.am

Makefile.am +1 -1
@@ -74,18 +74,18 @@
 	INSTALL-win32.txt
 
 openvpn_SOURCES = \
-        base64.c base64.h \
+	base64.c base64.h \

Please make all whitespace changes in a separate patch.

Quoted 1 line
Makefile.am +1 -0
+++ b/configure.ac	Wed Dec 08 11:49:46 2010 +0100

..

Quoted 4 lines
Makefile.am +0 -0
@@ -272,6 +272,16 @@
    [MEMCHECK="$withval"]
 )
 

Makefile.am line 284

Quoted 10 lines
Makefile.am +10 -0
+AC_ARG_WITH([ssl-type],
+   [  --with-ssl-type=TYPE  Build with the given SSL library, TYPE = openssl ],
+   [case "${withval}" in 
+        openssl) SSL_LIB=openssl ;;
+        *) AC_MSG_ERROR([bad value ${withval} for --with-ssl-type]) ;;
+   esac],
+   [SSL_LIB="openssl"]
+)
+AM_CONDITIONAL([USE_OPENSSL], [test x$SSL_LIB = xopenssl])
+

I think --with-openssl is the common way.

//Peter