summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ripemd/rmd_one.c
diff options
context:
space:
mode:
authormarkus <>2002-09-05 12:51:50 +0000
committermarkus <>2002-09-05 12:51:50 +0000
commit15b5d84f9da2ce4bfae8580e56e34a859f74ad71 (patch)
treebf939e82d7fd73cc8a01cf6959002209972091bc /src/lib/libcrypto/ripemd/rmd_one.c
parent027351f729b9e837200dae6e1520cda6577ab930 (diff)
downloadopenbsd-15b5d84f9da2ce4bfae8580e56e34a859f74ad71.tar.gz
openbsd-15b5d84f9da2ce4bfae8580e56e34a859f74ad71.tar.bz2
openbsd-15b5d84f9da2ce4bfae8580e56e34a859f74ad71.zip
import openssl-0.9.7-beta1
Diffstat (limited to 'src/lib/libcrypto/ripemd/rmd_one.c')
-rw-r--r--src/lib/libcrypto/ripemd/rmd_one.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/lib/libcrypto/ripemd/rmd_one.c b/src/lib/libcrypto/ripemd/rmd_one.c
index a7626dbcda..efdf2dd6ef 100644
--- a/src/lib/libcrypto/ripemd/rmd_one.c
+++ b/src/lib/libcrypto/ripemd/rmd_one.c
@@ -57,12 +57,11 @@
57 */ 57 */
58 58
59#include <stdio.h> 59#include <stdio.h>
60#include "rmd_locl.h" 60#include <string.h>
61#include <openssl/ripemd.h>
61 62
62unsigned char *RIPEMD160(d, n, md) 63unsigned char *RIPEMD160(const unsigned char *d, unsigned long n,
63unsigned char *d; 64 unsigned char *md)
64unsigned long n;
65unsigned char *md;
66 { 65 {
67 RIPEMD160_CTX c; 66 RIPEMD160_CTX c;
68 static unsigned char m[RIPEMD160_DIGEST_LENGTH]; 67 static unsigned char m[RIPEMD160_DIGEST_LENGTH];