dh: fix ssh_get_pubkey_hash indentation

Fix `ssh_get_pubkey_hash` indentation to use softabs
with 4 spaces.  No change in behavior.

Signed-off-by: Jon Simons <jon@jonsimons.org>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Jon Simons
2018-05-25 03:52:25 -07:00
committed by Andreas Schneider
parent 732818ebb2
commit 58ef1e96b8

View File

@@ -991,7 +991,7 @@ int ssh_get_pubkey_hash(ssh_session session, unsigned char **hash) {
}
*hash = NULL;
if (session->current_crypto == NULL ||
session->current_crypto->server_pubkey == NULL){
session->current_crypto->server_pubkey == NULL) {
ssh_set_error(session,SSH_FATAL,"No current cryptographic context");
return SSH_ERROR;
}
@@ -1013,8 +1013,7 @@ int ssh_get_pubkey_hash(ssh_session session, unsigned char **hash) {
return SSH_ERROR;
}
rc = ssh_pki_export_pubkey_blob(pubkey,
&pubkey_blob);
rc = ssh_pki_export_pubkey_blob(pubkey, &pubkey_blob);
ssh_key_free(pubkey);
if (rc != 0) {
}