diff options
author | Ulf Möller <ulf@openssl.org> | 1999-04-19 21:31:43 +0000 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 1999-04-19 21:31:43 +0000 |
commit | 6b691a5c85ddc4e407e32781841fee5c029506cd (patch) | |
tree | 436f1127406e1cacfe83dfcbfff824d89c47d834 /crypto/evp/names.c | |
parent | 3edd7ed15de229230f74c79c3d71e7c9c674cf4f (diff) | |
download | openssl-6b691a5c85ddc4e407e32781841fee5c029506cd.tar.gz |
Change functions to ANSI C.
Diffstat (limited to 'crypto/evp/names.c')
-rw-r--r-- | crypto/evp/names.c | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/crypto/evp/names.c b/crypto/evp/names.c index 124ff8fcd3..250356c844 100644 --- a/crypto/evp/names.c +++ b/crypto/evp/names.c @@ -62,8 +62,7 @@ #include "objects.h" #include "x509.h" -int EVP_add_cipher(c) -EVP_CIPHER *c; +int EVP_add_cipher(EVP_CIPHER *c) { int r; @@ -73,8 +72,7 @@ EVP_CIPHER *c; return(r); } -int EVP_add_digest(md) -EVP_MD *md; +int EVP_add_digest(EVP_MD *md) { int r; const char *name; @@ -96,8 +94,7 @@ EVP_MD *md; return(r); } -const EVP_CIPHER *EVP_get_cipherbyname(name) -const char *name; +const EVP_CIPHER *EVP_get_cipherbyname(const char *name) { const EVP_CIPHER *cp; @@ -105,8 +102,7 @@ const char *name; return(cp); } -const EVP_MD *EVP_get_digestbyname(name) -const char *name; +const EVP_MD *EVP_get_digestbyname(const char *name) { const EVP_MD *cp; @@ -114,7 +110,7 @@ const char *name; return(cp); } -void EVP_cleanup() +void EVP_cleanup(void) { OBJ_NAME_cleanup(OBJ_NAME_TYPE_CIPHER_METH); OBJ_NAME_cleanup(OBJ_NAME_TYPE_MD_METH); |