On Friday 05 October 2007, Alon Bar-Lev wrote:
>
> Report static independent version to kernel, don't
> mix this with autoconf package version.
>
> Signed-off-by: Alon Bar-Lev <[EMAIL PROTECTED]>
Another chunk...
---
--- ecryptfs-utils-23/src/utils/test.c 2007-08-20 14:54:16.000000000 +0300
+++ ecryptfs-utils-23.t1/src/utils/test.c 2007-10-05 17:14:22.000000000
+0200
@@ -35,37 +35,6 @@ do {
} \
} while (0)
-int test_auth_tok(void)
-{
- int rc = 0;
- unsigned char major, minor;
-
- printf("Testing generate_version_from_string()... ");
- rc = generate_version_from_string(&major, &minor, "17.1.1");
- if (rc) {
- printf("Error; rc = [%d]\n", rc);
- rc = 1;
- goto out;
- }
- if (major == 17 && minor == 1) {
- uint16_t version;
-
- version = (((uint16_t)(major << 8) & 0xFF00)
- | (minor && 0x00FF));
- if (version == 0x1101) {
- printf("Pass\n");
- } else {
- printf("Error; incorrect result: [0x%.4x]\n", version);
- rc = 1;
- }
- } else {
- printf("Error; incorrect result\n");
- rc = 1;
- }
-out:
- return rc;
-}
-
struct ecryptfs_crypt_stat {
int header_extent_size;
int num_header_extents_at_front;
@@ -498,9 +467,6 @@ int main()
rc = test_nv_list_from_file();
goto out;
- rc = test_auth_tok();
- if (rc)
- goto out;
rc = test_extent_translation();
if (rc)
goto out;
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
eCryptfs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ecryptfs-devel