ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/OpenSSL/OpenSSL.xs
(Generate patch)

Comparing OpenSSL/OpenSSL.xs (file contents):
Revision 1.14 by root, Sun Oct 28 03:20:00 2001 UTC vs.
Revision 1.15 by root, Sun Oct 28 03:24:25 2001 UTC

1297 CODE: 1297 CODE:
1298 if(ctx) 1298 if(ctx)
1299 free(ctx); 1299 free(ctx);
1300 1300
1301void 1301void
1302update(ctx, sv) 1302update(ctx, ...)
1303 OpenSSL::Digest ctx 1303 OpenSSL::Digest ctx
1304 SV *sv
1305 PREINIT: 1304 PREINIT:
1306 STRLEN l; 1305 STRLEN l;
1307 char *p; 1306 char *p;
1307 int i;
1308 CODE: 1308 CODE:
1309 p = SvPV(sv, l); 1309 for (i = 1; i < items; i++)
1310 {
1311 p = SvPV(ST(i), l);
1310 EVP_DigestUpdate(ctx, p, l); 1312 EVP_DigestUpdate(ctx, p, l);
1313 }
1311 1314
1312SV * 1315SV *
1313final(ctx) 1316final(ctx)
1314 OpenSSL::Digest ctx 1317 OpenSSL::Digest ctx
1315 ALIAS: 1318 ALIAS:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines