summaryrefslogtreecommitdiff
path: root/src/protocol/internal/ssh_rsa.h
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2018-05-17 12:14:41 +0800
committerIru Cai <mytbk920423@gmail.com>2018-05-21 09:18:16 +0800
commit535fc2e838277de6132ea1b3f5a3726c315e6d5e (patch)
treee1ff86b23dc4467a5628814d5394c0d5b4893474 /src/protocol/internal/ssh_rsa.h
parente5120bc8d673987d1088abd2bbdf84d9a94a3cde (diff)
downloadfqterm-535fc2e838277de6132ea1b3f5a3726c315e6d5e.tar.xz
use ssh_error.h to define error numbers
Diffstat (limited to 'src/protocol/internal/ssh_rsa.h')
-rw-r--r--src/protocol/internal/ssh_rsa.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/protocol/internal/ssh_rsa.h b/src/protocol/internal/ssh_rsa.h
index bccce00..9fbc5e1 100644
--- a/src/protocol/internal/ssh_rsa.h
+++ b/src/protocol/internal/ssh_rsa.h
@@ -2,6 +2,7 @@
#define SSH_RSA
#include "ssh_session.h"
+#include "ssh_error.h"
#include <stdlib.h>
#include <stdint.h>
@@ -9,8 +10,6 @@
extern "C" {
#endif /* } */
-enum { ESECRET = 1, ERSA };
-
int verifyRSAKey(ssh_session *ss, const uint8_t *data, size_t len);
#ifdef __cplusplus