--- embedaddon/dhcp/minires/res_mkupdate.c 2012/10/09 09:06:54 1.1.1.1 +++ embedaddon/dhcp/minires/res_mkupdate.c 2013/07/22 12:54:39 1.1.1.1.2.1 @@ -27,7 +27,7 @@ */ #if !defined(lint) && !defined(SABER) -static const char rcsid[] = "$Id: res_mkupdate.c,v 1.1.1.1 2012/10/09 09:06:54 misho Exp $"; +static const char rcsid[] = "$Id: res_mkupdate.c,v 1.1.1.1.2.1 2013/07/22 12:54:39 misho Exp $"; #endif /* not lint */ #include @@ -657,8 +657,6 @@ res_nmkupdate(res_state statp, &startp, endp)) < 0) return (-1); certlen = b64_pton(buf2, buf3, sizeof(buf3)); - if (certlen < 0) - return (-1); ShrinkBuffer(certlen); memcpy(cp, buf3, certlen); cp += certlen;