summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/protocol/internal/ssh_error.h10
-rw-r--r--src/protocol/internal/ssh_rsa.h3
2 files changed, 11 insertions, 2 deletions
diff --git a/src/protocol/internal/ssh_error.h b/src/protocol/internal/ssh_error.h
new file mode 100644
index 0000000..1a0fd32
--- /dev/null
+++ b/src/protocol/internal/ssh_error.h
@@ -0,0 +1,10 @@
+#ifndef SSH_ERROR_H
+#define SSH_ERROR_H
+
+enum {
+ ESECRET = 1,
+ ERSA,
+ ECRYPT,
+};
+
+#endif
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