summaryrefslogtreecommitdiffhomepage
path: root/rsa.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2017-05-18 22:59:38 +0800
committerMatt Johnston <matt@ucc.asn.au>2017-05-18 22:59:38 +0800
commit45b27b0194d3981082128a78e3d7102c190a812a (patch)
tree6520ac7fb580a0cffd925d0bf9a77d15f6c71a27 /rsa.h
parent2a921c2c25658425af1ea9a8bf8b9de3f3647aef (diff)
parent9f674382d55cb3b8effcb53cf8d7c2d368675f3d (diff)
merge 2017.75
Diffstat (limited to 'rsa.h')
-rw-r--r--rsa.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/rsa.h b/rsa.h
index 94bde5c..57be5bb 100644
--- a/rsa.h
+++ b/rsa.h
@@ -28,7 +28,7 @@
#include "includes.h"
#include "buffer.h"
-#ifdef DROPBEAR_RSA
+#if DROPBEAR_RSA
#define RSA_SIGNATURE_SIZE (4+7+4+40)
@@ -44,7 +44,7 @@ typedef struct {
} dropbear_rsa_key;
void buf_put_rsa_sign(buffer* buf, dropbear_rsa_key *key, buffer *data_buf);
-#ifdef DROPBEAR_SIGNKEY_VERIFY
+#if DROPBEAR_SIGNKEY_VERIFY
int buf_rsa_verify(buffer * buf, dropbear_rsa_key *key, buffer *data_buf);
#endif
int buf_get_rsa_pub_key(buffer* buf, dropbear_rsa_key *key);