summaryrefslogtreecommitdiff
path: root/ext/digest/md5/md5ossl.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/digest/md5/md5ossl.c')
-rw-r--r--ext/digest/md5/md5ossl.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/ext/digest/md5/md5ossl.c b/ext/digest/md5/md5ossl.c
index d930c7a..963243c 100644
--- a/ext/digest/md5/md5ossl.c
+++ b/ext/digest/md5/md5ossl.c
@@ -6,15 +6,9 @@
#include <string.h>
void
-MD5_End(MD5_CTX *pctx, unsigned char *hexdigest)
+MD5_Finish(MD5_CTX *pctx, unsigned char *digest)
{
- unsigned char digest[16];
- size_t i;
-
MD5_Final(digest, pctx);
-
- for (i = 0; i < 16; i++)
- sprintf(hexdigest + i * 2, "%02x", digest[i]);
}
int