summaryrefslogtreecommitdiffstats
path: root/apps/ts.c
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>2011-11-14 00:36:10 +0000
committerBen Laurie <ben@openssl.org>2011-11-14 00:36:10 +0000
commitae551760917614647ad6fbacec6e4c1b495a94cf (patch)
tree34a1985c9beb2aa0a43904de8e733796c40df48c /apps/ts.c
parentfe0686483621d420705e881cd9187788a0691583 (diff)
Fix some warnings caused by __owur. Temporarily (I hope) remove the more
aspirational __owur annotations.
Diffstat (limited to 'apps/ts.c')
-rw-r--r--apps/ts.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/ts.c b/apps/ts.c
index 5fa9f7fda0..ae7604cc69 100644
--- a/apps/ts.c
+++ b/apps/ts.c
@@ -618,7 +618,8 @@ static int create_digest(BIO *input, char *digest, const EVP_MD *md,
{
EVP_DigestUpdate(&md_ctx, buffer, length);
}
- EVP_DigestFinal(&md_ctx, *md_value, NULL);
+ if (!EVP_DigestFinal(&md_ctx, *md_value, NULL))
+ return 0;
}
else
{