~ubuntu-branches/ubuntu/maverick/openssl/maverick

« back to all changes in this revision

Viewing changes to crypto/md5/md5test.c

  • Committer: Bazaar Package Importer
  • Author(s): Kurt Roeckx
  • Date: 2005-12-13 21:37:42 UTC
  • mto: (11.1.1 lenny)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20051213213742-d0ydaylf80l16bj1
Tags: upstream-0.9.8a
ImportĀ upstreamĀ versionĀ 0.9.8a

Show diffs side-by-side

added added

removed removed

Lines of Context:
106
106
        i=1;
107
107
        while (*P != NULL)
108
108
                {
109
 
                EVP_Digest(&(P[0][0]),(unsigned long)strlen((char *)*P),md,NULL,EVP_md5(), NULL);
 
109
                EVP_Digest(&(P[0][0]),strlen((char *)*P),md,NULL,EVP_md5(), NULL);
110
110
                p=pt(md);
111
111
                if (strcmp(p,(char *)*R) != 0)
112
112
                        {
120
120
                R++;
121
121
                P++;
122
122
                }
 
123
 
 
124
#ifdef OPENSSL_SYS_NETWARE
 
125
    if (err) printf("ERROR: %d\n", err);
 
126
#endif
123
127
        EXIT(err);
124
128
        return(0);
125
129
        }