diff --git a/include/ntfs/crypto.h b/include/ntfs/crypto.h index 6f8361d9..a4b72435 100644 --- a/include/ntfs/crypto.h +++ b/include/ntfs/crypto.h @@ -23,6 +23,8 @@ #ifndef _NTFS_CRYPTO_H #define _NTFS_CRYPTO_H +extern ntfschar NTFS_EFS[5]; + /* * This is our Big Secret (TM) structure, so do not allow anyone even read it * values. ;-) In fact, it is private because exist only in libntfs version diff --git a/libntfs/crypto.c b/libntfs/crypto.c index e448cf84..1a1b3468 100644 --- a/libntfs/crypto.c +++ b/libntfs/crypto.c @@ -134,7 +134,7 @@ typedef struct { gcry_cipher_hd_t gcry_cipher_hd; } ntfs_desx_ctx; -static ntfschar NTFS_EFS[5] = { +ntfschar NTFS_EFS[5] = { const_cpu_to_le16('$'), const_cpu_to_le16('E'), const_cpu_to_le16('F'), const_cpu_to_le16('S'), const_cpu_to_le16(0) };