summaryrefslogtreecommitdiffstats
path: root/doc/crypto/mdc2.pod
diff options
context:
space:
mode:
authorNils Larsch <nils@openssl.org>2006-10-27 23:58:09 +0200
committerNils Larsch <nils@openssl.org>2006-10-27 23:58:09 +0200
commit8a4af56fc6ef29c938d0e181bf39533f941decb3 (patch)
tree1f1ae727e910a54c35c850f2cfa78e88b066297e /doc/crypto/mdc2.pod
parentfix OPENSSL_NO_foo defines (diff)
downloadopenssl-8a4af56fc6ef29c938d0e181bf39533f941decb3.tar.xz
openssl-8a4af56fc6ef29c938d0e181bf39533f941decb3.zip
update md docs
Diffstat (limited to 'doc/crypto/mdc2.pod')
-rw-r--r--doc/crypto/mdc2.pod8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/crypto/mdc2.pod b/doc/crypto/mdc2.pod
index 11dc303e04..41f648af36 100644
--- a/doc/crypto/mdc2.pod
+++ b/doc/crypto/mdc2.pod
@@ -11,10 +11,10 @@ MDC2, MDC2_Init, MDC2_Update, MDC2_Final - MDC2 hash function
unsigned char *MDC2(const unsigned char *d, unsigned long n,
unsigned char *md);
- void MDC2_Init(MDC2_CTX *c);
- void MDC2_Update(MDC2_CTX *c, const unsigned char *data,
+ int MDC2_Init(MDC2_CTX *c);
+ int MDC2_Update(MDC2_CTX *c, const unsigned char *data,
unsigned long len);
- void MDC2_Final(unsigned char *md, MDC2_CTX *c);
+ int MDC2_Final(unsigned char *md, MDC2_CTX *c);
=head1 DESCRIPTION
@@ -46,7 +46,7 @@ hash functions directly.
MDC2() returns a pointer to the hash value.
-MDC2_Init(), MDC2_Update() and MDC2_Final() do not return values.
+MDC2_Init(), MDC2_Update() and MDC2_Final() return 1 for success, 0 otherwise.
=head1 CONFORMING TO