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


------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Opencryptoki-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opencryptoki-tech

Reply via email to