From 391929cff3acfccc2be39c29046ece2c20b0fd02 Mon Sep 17 00:00:00 2001 From: Yura Pakhuchiy Date: Wed, 22 Aug 2007 18:53:17 +0300 Subject: [PATCH] Export NTFS_EFS string --- include/ntfs/crypto.h | 2 ++ libntfs/crypto.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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) };