]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
configure: allow --with-ca-path with PolarSSL too
authorCatalin Patulea <cat@vv.carleton.ca>
Sat, 13 Sep 2014 05:58:04 +0000 (07:58 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 13 Sep 2014 12:57:21 +0000 (14:57 +0200)
Missed this in af45542c.

Signed-off-by: Catalin Patulea <cat@vv.carleton.ca>
acinclude.m4

index 9fbcf645cd9f4d79862feb1d6e85d675ebda685a..453358dc9b2cd409ec285c8da45c302698e55739 100644 (file)
@@ -2614,8 +2614,8 @@ AC_HELP_STRING([--without-ca-path], [Don't use a default CA path]),
     capath="no"
   elif test "x$want_capath" != "xno" -a "x$want_capath" != "xunset"; then
     dnl --with-ca-path given
-    if test "x$OPENSSL_ENABLED" != "x1"; then
-      AC_MSG_ERROR([--with-ca-path only works with openSSL])
+    if test "x$OPENSSL_ENABLED" != "x1" -a "x$POLARSSL_ENABLED" != "x1"; then
+      AC_MSG_ERROR([--with-ca-path only works with openSSL or PolarSSL])
     fi
     capath="$want_capath"
     ca="no"