Deleted Added
full compact
29c29
< * $FreeBSD: head/crypto/openssh/key.c 60576 2000-05-15 05:24:25Z kris $
---
> * $FreeBSD: head/crypto/openssh/key.c 61203 2000-06-03 07:31:44Z kris $
261c261
< error("uudecode %s failed", cp);
---
> error("key_read: uudecode %s failed", cp);
265,266c265,268
< if (k == NULL)
< return 0;
---
> if (k == NULL) {
> error("key_read: dsa_key_from_blob %s failed", cp);
> return 0;
> }
274,277c276,281
< cp = strchr(cp, '=');
< if (cp == NULL)
< return 0;
< *cpp = cp + 1;
---
> /* advance cp: skip whitespace and data */
> while (*cp == ' ' || *cp == '\t')
> cp++;
> while (*cp != '\0' && *cp != ' ' && *cp != '\t')
> cp++;
> *cpp = cp;