summaryrefslogtreecommitdiff
path: root/key.c
diff options
context:
space:
mode:
Diffstat (limited to 'key.c')
-rw-r--r--key.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/key.c b/key.c
index 9806a729a..c87bfcbf0 100644
--- a/key.c
+++ b/key.c
@@ -32,7 +32,7 @@
32 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33 */ 33 */
34#include "includes.h" 34#include "includes.h"
35RCSID("$OpenBSD: key.c,v 1.49 2002/09/09 14:54:14 markus Exp $"); 35RCSID("$OpenBSD: key.c,v 1.50 2003/02/04 09:32:08 markus Exp $");
36 36
37#include <openssl/evp.h> 37#include <openssl/evp.h>
38 38
@@ -410,14 +410,14 @@ key_read(Key *ret, char **cpp)
410 case KEY_DSA: 410 case KEY_DSA:
411 space = strchr(cp, ' '); 411 space = strchr(cp, ' ');
412 if (space == NULL) { 412 if (space == NULL) {
413 debug3("key_read: no space"); 413 debug3("key_read: missing whitespace");
414 return -1; 414 return -1;
415 } 415 }
416 *space = '\0'; 416 *space = '\0';
417 type = key_type_from_name(cp); 417 type = key_type_from_name(cp);
418 *space = ' '; 418 *space = ' ';
419 if (type == KEY_UNSPEC) { 419 if (type == KEY_UNSPEC) {
420 debug3("key_read: no key found"); 420 debug3("key_read: missing keytype");
421 return -1; 421 return -1;
422 } 422 }
423 cp = space+1; 423 cp = space+1;