diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-04-19 20:47:10 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-04-19 20:47:10 +0000 |
commit | 648772faf5ed2ee182af0c4a031014edd7a89978 (patch) | |
tree | 5bf959b020901a2f9eb015d27d313a665da9fc7a /authfile.c | |
parent | 671388f2338ddb335b01f1c3cf545caa9f90649e (diff) |
- markus@cvs.openbsd.org 2001/04/18 23:44:51
[authfile.c]
error->debug; noted by fries@
Diffstat (limited to 'authfile.c')
-rw-r--r-- | authfile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/authfile.c b/authfile.c index 2e51785a6..8234ba078 100644 --- a/authfile.c +++ b/authfile.c | |||
@@ -36,7 +36,7 @@ | |||
36 | */ | 36 | */ |
37 | 37 | ||
38 | #include "includes.h" | 38 | #include "includes.h" |
39 | RCSID("$OpenBSD: authfile.c,v 1.31 2001/04/15 16:58:03 markus Exp $"); | 39 | RCSID("$OpenBSD: authfile.c,v 1.32 2001/04/18 23:44:51 markus Exp $"); |
40 | 40 | ||
41 | #include <openssl/err.h> | 41 | #include <openssl/err.h> |
42 | #include <openssl/evp.h> | 42 | #include <openssl/evp.h> |
@@ -447,7 +447,7 @@ key_load_private_pem(int fd, int type, const char *passphrase, | |||
447 | } | 447 | } |
448 | pk = PEM_read_PrivateKey(fp, NULL, NULL, (char *)passphrase); | 448 | pk = PEM_read_PrivateKey(fp, NULL, NULL, (char *)passphrase); |
449 | if (pk == NULL) { | 449 | if (pk == NULL) { |
450 | error("PEM_read_PrivateKey failed"); | 450 | debug("PEM_read_PrivateKey failed"); |
451 | (void)ERR_get_error(); | 451 | (void)ERR_get_error(); |
452 | } else if (pk->type == EVP_PKEY_RSA && | 452 | } else if (pk->type == EVP_PKEY_RSA && |
453 | (type == KEY_UNSPEC||type==KEY_RSA)) { | 453 | (type == KEY_UNSPEC||type==KEY_RSA)) { |