Make gnutls password encryption the default if gnutls is available.
authorAndrej Kacian <ticho@claws-mail.org>
Tue, 22 Mar 2016 12:23:41 +0000 (13:23 +0100)
committerAndrej Kacian <ticho@claws-mail.org>
Tue, 22 Mar 2016 12:23:41 +0000 (13:23 +0100)
configure.ac

index 4e38388..dd0e18d 100644 (file)
@@ -523,13 +523,11 @@ AC_ARG_WITH(password-encryption, [  --with-password-encryption=PROVIDER    Which
                                                pwd_crypto="$withval", pwd_crypto="default")
 
 if test x"$pwd_crypto" = xdefault; then
-dnl ===Default set to "old" for testing, remove the dnls to restore
-dnl ===intended functionality.
-dnl    if test x"$enable_gnutls" = xyes; then
-dnl            pwd_crypto="gnutls"
-dnl    else
+       if test x"$enable_gnutls" = xyes; then
+               pwd_crypto="gnutls"
+       else
                pwd_crypto="old"
-dnl    fi
+       fi
 fi
 
 case $pwd_crypto in