additional patch for bug 166768

This commit is contained in:
ian.mcgreer%sun.com 2002-09-06 14:10:14 +00:00
Родитель dad696adbc
Коммит 9f45386530
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -1189,6 +1189,7 @@ md5_restart(unsigned char *dest, const unsigned char *src, uint32 src_length)
cx_cpy = MD5_Resurrect(cxbytes, NULL);
if (!cx_cpy) {
PR_fprintf(PR_STDERR, "%s: MD5_Resurrect failed!\n", progName);
rv = SECFailure;
goto finish;
}
rv = PORT_Memcmp(cx, cx_cpy, len);
@ -1226,6 +1227,7 @@ sha1_restart(unsigned char *dest, const unsigned char *src, uint32 src_length)
cx_cpy = SHA1_Resurrect(cxbytes, NULL);
if (!cx_cpy) {
PR_fprintf(PR_STDERR, "%s: SHA1_Resurrect failed!\n", progName);
rv = SECFailure;
goto finish;
}
rv = PORT_Memcmp(cx, cx_cpy, len);