libica/libica-2.0.3-tests.patch

35 lines
911 B
Diff
Raw Normal View History

From e4d6efb9159a97c02e0569e91b47fbedd85fdbe7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Dan=20Hor=C3=A1k?= <dan@danny.cz>
Date: Tue, 9 Nov 2010 09:50:19 +0100
Subject: [PATCH] return a zero is missing in old_api_sha_test() in libica_sha1_test
The libica_sha1_test fails with an error although the actual test were
successful:
...
All SHA1 tests completed successfully
old_api_sha_test failed with rc = 446276480
The reason is missing "return 0;" at the end of the old_api_sha_test()
function.
---
src/tests/libica_sha1_test.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/tests/libica_sha1_test.c b/src/tests/libica_sha1_test.c
index 4e21ff4..d4b613b 100644
--- a/src/tests/libica_sha1_test.c
+++ b/src/tests/libica_sha1_test.c
@@ -217,7 +217,7 @@ int old_api_sha_test(void)
icaCloseAdapter(adapter_handle);
-
+ return 0;
}
int new_api_sha_test(void)
--
1.7.3.2