1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-11-29 01:03:57 +03:00

src: Fix typos

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Andreas Schneider
2018-10-16 16:35:57 +02:00
parent 60037f3275
commit 795389ae1b
3 changed files with 4 additions and 4 deletions

View File

@@ -621,7 +621,7 @@ int ssh_session_export_known_hosts_entry(ssh_session session,
if (session->current_crypto == NULL) { if (session->current_crypto == NULL) {
ssh_set_error(session, SSH_FATAL, ssh_set_error(session, SSH_FATAL,
"No current crypto context, please connnect first"); "No current crypto context, please connect first");
SAFE_FREE(host); SAFE_FREE(host);
return SSH_ERROR; return SSH_ERROR;
} }

View File

@@ -790,7 +790,7 @@ ssh_string pki_private_key_to_pem(const ssh_key key,
case SSH_KEYTYPE_UNKNOWN: case SSH_KEYTYPE_UNKNOWN:
default: default:
BIO_free(mem); BIO_free(mem);
SSH_LOG(SSH_LOG_WARN, "Unkown or invalid private key type %d", key->type); SSH_LOG(SSH_LOG_WARN, "Unknown or invalid private key type %d", key->type);
return NULL; return NULL;
} }
@@ -916,7 +916,7 @@ ssh_key pki_private_key_from_base64(const char *b64_key,
case SSH_KEYTYPE_RSA_CERT01: case SSH_KEYTYPE_RSA_CERT01:
case SSH_KEYTYPE_UNKNOWN: case SSH_KEYTYPE_UNKNOWN:
BIO_free(mem); BIO_free(mem);
SSH_LOG(SSH_LOG_WARN, "Unkown or invalid private key type %d", type); SSH_LOG(SSH_LOG_WARN, "Unknown or invalid private key type %d", type);
return NULL; return NULL;
} }

View File

@@ -998,7 +998,7 @@ ssh_key pki_private_key_from_base64(const char *b64_key,
case SSH_KEYTYPE_RSA1: case SSH_KEYTYPE_RSA1:
case SSH_KEYTYPE_UNKNOWN: case SSH_KEYTYPE_UNKNOWN:
default: default:
SSH_LOG(SSH_LOG_WARN, "Unkown or invalid private key type %d", type); SSH_LOG(SSH_LOG_WARN, "Unknown or invalid private key type %d", type);
return NULL; return NULL;
} }