X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=apps%2Fpasswd.c;h=a45245cd7ffb8f78cd1f37f13c371359676c012c;hb=a55b3959374161e33c68542d27c0fe93c6b7fe81;hp=e2c90960e5409d0e6280fa0b6a2bf06afce7eaf6;hpb=2a600d7afd55ed71076e9c41469f6bba72d1f313;p=oweals%2Fopenssl.git diff --git a/apps/passwd.c b/apps/passwd.c index e2c90960e5..a45245cd7f 100644 --- a/apps/passwd.c +++ b/apps/passwd.c @@ -319,6 +319,7 @@ static char *md5crypt(const char *passwd, const char *magic, const char *salt) || !EVP_DigestUpdate(md, magic, magic_len) || !EVP_DigestUpdate(md, "$", 1) || !EVP_DigestUpdate(md, salt_out, salt_len)) + goto err; md2 = EVP_MD_CTX_new(); if (md2 == NULL