summaryrefslogtreecommitdiff
path: root/authfile.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-06-05 21:13:57 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-06-05 21:13:57 +0000
commit2d0356f7de5e12dd818b705c54bc8a380827ab8e (patch)
treeec814a4bdff8f46b7bf98b9b871c9e5aac812bdc /authfile.c
parent80c6d77085d7869f07850e40f0e96d4e392d0bf4 (diff)
- markus@cvs.openbsd.org 2001/05/29 12:31:27
[authfile.c] typo
Diffstat (limited to 'authfile.c')
-rw-r--r--authfile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/authfile.c b/authfile.c
index e1a9a21a1..db6aed83e 100644
--- a/authfile.c
+++ b/authfile.c
@@ -36,7 +36,7 @@
36 */ 36 */
37 37
38#include "includes.h" 38#include "includes.h"
39RCSID("$OpenBSD: authfile.c,v 1.34 2001/05/28 10:08:55 markus Exp $"); 39RCSID("$OpenBSD: authfile.c,v 1.35 2001/05/29 12:31:27 markus Exp $");
40 40
41#include <openssl/err.h> 41#include <openssl/err.h>
42#include <openssl/evp.h> 42#include <openssl/evp.h>
@@ -561,7 +561,7 @@ key_load_private(const char *filename, const char *passphrase,
561 prv = key_load_private_pem(fd, KEY_UNSPEC, passphrase, NULL); 561 prv = key_load_private_pem(fd, KEY_UNSPEC, passphrase, NULL);
562 /* use the filename as a comment for PEM */ 562 /* use the filename as a comment for PEM */
563 if (commentp && prv) 563 if (commentp && prv)
564 commentp = xstrdup(filename); 564 *commentp = xstrdup(filename);
565 } else { 565 } else {
566 /* it's a SSH v1 key if the public key part is readable */ 566 /* it's a SSH v1 key if the public key part is readable */
567 key_free(pub); 567 key_free(pub);