summaryrefslogtreecommitdiff
path: root/crypto/openssh/key.c
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2003-04-23 16:53:02 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2003-04-23 16:53:02 +0000
commitd0c8c0bcc279fcf7568c5e97c15c115cbf83be4c (patch)
tree70033bf9d0551c1f485a8bf5c04d41148812e33a /crypto/openssh/key.c
parent4b17dab0ba7675679933f9f3d4aed1cd28dd0393 (diff)
downloadsrc-test2-d0c8c0bcc279fcf7568c5e97c15c115cbf83be4c.tar.gz
src-test2-d0c8c0bcc279fcf7568c5e97c15c115cbf83be4c.zip
Notes
Diffstat (limited to 'crypto/openssh/key.c')
-rw-r--r--crypto/openssh/key.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/crypto/openssh/key.c b/crypto/openssh/key.c
index 9806a729a8a6..060b63745a3d 100644
--- a/crypto/openssh/key.c
+++ b/crypto/openssh/key.c
@@ -32,15 +32,13 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "includes.h"
-RCSID("$OpenBSD: key.c,v 1.49 2002/09/09 14:54:14 markus Exp $");
+RCSID("$OpenBSD: key.c,v 1.51 2003/02/12 09:33:04 markus Exp $");
#include <openssl/evp.h>
#include "xmalloc.h"
#include "key.h"
#include "rsa.h"
-#include "ssh-dss.h"
-#include "ssh-rsa.h"
#include "uuencode.h"
#include "buffer.h"
#include "bufaux.h"
@@ -410,14 +408,14 @@ key_read(Key *ret, char **cpp)
case KEY_DSA:
space = strchr(cp, ' ');
if (space == NULL) {
- debug3("key_read: no space");
+ debug3("key_read: missing whitespace");
return -1;
}
*space = '\0';
type = key_type_from_name(cp);
*space = ' ';
if (type == KEY_UNSPEC) {
- debug3("key_read: no key found");
+ debug3("key_read: missing keytype");
return -1;
}
cp = space+1;