X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/e6d62ec35f603edc0571b5e14e8b216c5e4ca098..14ec1d8392d27cd5f9dc923ff7dc6416827d4060:/sshdss.c diff --git a/sshdss.c b/sshdss.c index 8c9f93e3..e634b984 100644 --- a/sshdss.c +++ b/sshdss.c @@ -89,8 +89,6 @@ static void *dss_newkey(char *data, int len) struct dss_key *dss; dss = snew(struct dss_key); - if (!dss) - return NULL; getstring(&data, &len, &p, &slen); #ifdef DEBUG_DSS @@ -430,8 +428,6 @@ static void *dss_openssh_createkey(unsigned char **blob, int *len) struct dss_key *dss; dss = snew(struct dss_key); - if (!dss) - return NULL; dss->p = getmp(b, len); dss->q = getmp(b, len);