summaryrefslogtreecommitdiffstats
path: root/libssh/dh.c
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2009-07-24 22:02:32 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2009-07-24 22:02:32 +0200
commitfc5dd23afa3b71d1020065be61842964852f3482 (patch)
treeab1198445624cae190ebb8c3809d8000786cbc54 /libssh/dh.c
parent91d0660cc3b0f72b690678862bb21cbe0328a186 (diff)
downloadlibssh-fc5dd23afa3b71d1020065be61842964852f3482.tar.gz
libssh-fc5dd23afa3b71d1020065be61842964852f3482.tar.xz
libssh-fc5dd23afa3b71d1020065be61842964852f3482.zip
Changed all PUBLIC_KEY * to ssh_public_key
Diffstat (limited to 'libssh/dh.c')
-rw-r--r--libssh/dh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libssh/dh.c b/libssh/dh.c
index 1bf663d9..0edd19da 100644
--- a/libssh/dh.c
+++ b/libssh/dh.c
@@ -875,7 +875,7 @@ static int match(const char *group, const char *object){
return 0;
}
-static int sig_verify(SSH_SESSION *session, PUBLIC_KEY *pubkey,
+static int sig_verify(SSH_SESSION *session, ssh_public_key pubkey,
SIGNATURE *signature, unsigned char *digest) {
#ifdef HAVE_LIBGCRYPT
gcry_error_t valid = 0;
@@ -971,7 +971,7 @@ static int sig_verify(SSH_SESSION *session, PUBLIC_KEY *pubkey,
}
int signature_verify(SSH_SESSION *session, ssh_string signature) {
- PUBLIC_KEY *pubkey = NULL;
+ ssh_public_key pubkey = NULL;
SIGNATURE *sign = NULL;
int err;