aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/hmac
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>1999-04-26 16:43:10 +0000
committerUlf Möller <ulf@openssl.org>1999-04-26 16:43:10 +0000
commita9be3af5ad4836f7e50f0546311ca90c717b861e (patch)
treef44f7f8c4497d85da4c5cbd08067479bb20ced95 /crypto/hmac
parent47339f6179fbefafc793c10b0411ed0365497d65 (diff)
downloadopenssl-a9be3af5ad4836f7e50f0546311ca90c717b861e.tar.gz
Remove NOPROTO definitions and error code comments.
Diffstat (limited to 'crypto/hmac')
-rw-r--r--crypto/hmac/hmac.h11
-rw-r--r--crypto/hmac/hmactest.c5
2 files changed, 0 insertions, 16 deletions
diff --git a/crypto/hmac/hmac.h b/crypto/hmac/hmac.h
index c2fe29f550..2efce942e2 100644
--- a/crypto/hmac/hmac.h
+++ b/crypto/hmac/hmac.h
@@ -78,7 +78,6 @@ typedef struct hmac_ctx_st
#define HMAC_size(e) (EVP_MD_size((e)->md))
-#ifndef NOPROTO
void HMAC_Init(HMAC_CTX *ctx, const unsigned char *key, int len,
const EVP_MD *md);
@@ -89,16 +88,6 @@ unsigned char *HMAC(EVP_MD *evp_md, unsigned char *key, int key_len,
unsigned char *d, int n, unsigned char *md, unsigned int *md_len);
-#else
-
-void HMAC_Init();
-void HMAC_Update();
-void HMAC_Final();
-void HMAC_cleanup();
-unsigned char *HMAC();
-
-#endif
-
#ifdef __cplusplus
}
#endif
diff --git a/crypto/hmac/hmactest.c b/crypto/hmac/hmactest.c
index 40344e9958..0a3db6852c 100644
--- a/crypto/hmac/hmactest.c
+++ b/crypto/hmac/hmactest.c
@@ -102,12 +102,7 @@ struct test_st
};
-#ifndef NOPROTO
static char *pt(unsigned char *md);
-#else
-static char *pt();
-#endif
-
int main(int argc, char *argv[])
{
int i,err=0;