Deleted libntfs example crypto configuration file and removed the check for libconfig in configure.ac. (libconfig is not used in libntfs-3g.)
parent
1edc6fbc9a
commit
58b40c8cf1
18
configure.ac
18
configure.ac
|
|
@ -294,22 +294,12 @@ if test "$enable_crypto" != "no"; then
|
||||||
AC_MSG_WARN([ntfsprogs crypto code requires the gnutls library.])
|
AC_MSG_WARN([ntfsprogs crypto code requires the gnutls library.])
|
||||||
fi
|
fi
|
||||||
)
|
)
|
||||||
have_libconfig=false
|
|
||||||
PKG_CHECK_MODULES(libconfig, libconfig >= 1.0.1, [ have_libconfig=true ],
|
|
||||||
if test "$enable_crypto" = "yes"; then
|
|
||||||
AC_MSG_ERROR([ntfsprogs crypto code requires the libconfig.])
|
|
||||||
else
|
|
||||||
AC_MSG_WARN([ntfsprogs crypto code requires the libconfig.])
|
|
||||||
fi
|
|
||||||
)
|
|
||||||
if test "$have_libgcrypt" = "true"; then
|
if test "$have_libgcrypt" = "true"; then
|
||||||
if test "$have_libgnutls" = "true"; then
|
if test "$have_libgnutls" = "true"; then
|
||||||
if test "$have_libconfig" = "true"; then
|
compile_crypto=true
|
||||||
compile_crypto=true
|
AC_DEFINE([ENABLE_CRYPTO], 1,
|
||||||
AC_DEFINE([ENABLE_CRYPTO], 1,
|
[Define this to 1 if you want to enable support of
|
||||||
[Define this to 1 if you want to enable support of
|
encrypted files in libntfs and utilities.])
|
||||||
encrypted files in libntfs and utilities.])
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
|
|
@ -1,10 +0,0 @@
|
||||||
# libntfs sample configuration file
|
|
||||||
|
|
||||||
crypto : {
|
|
||||||
keys = (
|
|
||||||
("/home/yura/ntfs/my3.pfx", "my3"), # key with password
|
|
||||||
# ("/home/yura/ntfs/my-rec.pfx", ""), // password-less key
|
|
||||||
("/home/yura/ntfs/my.pfx") /* password-less key */
|
|
||||||
);
|
|
||||||
};
|
|
||||||
|
|
||||||
Loading…
Reference in New Issue