summaryrefslogtreecommitdiffstats
path: root/crypto/evp/m_null.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2001-03-08 14:04:22 +0000
committerDr. Stephen Henson <steve@openssl.org>2001-03-08 14:04:22 +0000
commit2dc769a1c17e1e0c7aef6e11496c8ba2c1db2e28 (patch)
tree47bc3c6bf378e59f79c418f9956b6ed03fc4c805 /crypto/evp/m_null.c
parent4f98cbabdeb50d548c83a8ca36014f3011461379 (diff)
Make EVP_Digest*() routines return a value.
TODO: update docs, and make soe other routines which use EVP_Digest*() check return codes.
Diffstat (limited to 'crypto/evp/m_null.c')
-rw-r--r--crypto/evp/m_null.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/evp/m_null.c b/crypto/evp/m_null.c
index e2dadf3dab..9001b3d8c6 100644
--- a/crypto/evp/m_null.c
+++ b/crypto/evp/m_null.c
@@ -62,8 +62,9 @@
#include <openssl/objects.h>
#include <openssl/x509.h>
-static void function(void)
+static int function(void)
{
+ return 1;
}
static EVP_MD null_md=