~ubuntu-branches/ubuntu/lucid/openssl/lucid-security

« back to all changes in this revision

Viewing changes to doc/crypto/mdc2.pod

  • Committer: Bazaar Package Importer
  • Author(s): Kurt Roeckx
  • Date: 2008-08-03 19:47:10 UTC
  • mfrom: (1.1.6 upstream) (14 gutsy)
  • mto: This revision was merged to the branch mainline in revision 26.
  • Revision ID: james.westby@ubuntu.com-20080803194710-dwlvv1y2pyzi3in2
Tags: 0.9.8g-13
Fix a problem with tlsext preventing firefox 3 from connection.
Patch from upstream CVS and part of 0.9.8h.
(Closes: #492758)

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
 unsigned char *MDC2(const unsigned char *d, unsigned long n,
12
12
                  unsigned char *md);
13
13
 
14
 
 void MDC2_Init(MDC2_CTX *c);
15
 
 void MDC2_Update(MDC2_CTX *c, const unsigned char *data,
 
14
 int MDC2_Init(MDC2_CTX *c);
 
15
 int MDC2_Update(MDC2_CTX *c, const unsigned char *data,
16
16
                  unsigned long len);
17
 
 void MDC2_Final(unsigned char *md, MDC2_CTX *c);
 
17
 int MDC2_Final(unsigned char *md, MDC2_CTX *c);
18
18
 
19
19
=head1 DESCRIPTION
20
20
 
46
46
 
47
47
MDC2() returns a pointer to the hash value. 
48
48
 
49
 
MDC2_Init(), MDC2_Update() and MDC2_Final() do not return values.
 
49
MDC2_Init(), MDC2_Update() and MDC2_Final() return 1 for success, 0 otherwise.
50
50
 
51
51
=head1 CONFORMING TO
52
52