We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e4eddd commit a9e37baCopy full SHA for a9e37ba
main.c
@@ -23,6 +23,33 @@
23
#include <openssl/bio.h>
24
#include <openssl/x509.h>
25
26
+#if OPENSSL_VERSION_NUMBER >= 0x10100000L
27
+
28
+struct rsa_st {
29
+ /*
30
+ * #legacy
31
+ * The first field is used to pickup errors where this is passed
32
+ * instead of an EVP_PKEY. It is always zero.
33
+ * THIS MUST REMAIN THE FIRST FIELD.
34
+ */
35
+ int dummy_zero;
36
37
+ int32_t version;
38
+ const RSA_METHOD *meth;
39
+ /* functional reference if 'meth' is ENGINE-provided */
40
+ ENGINE *engine;
41
+ BIGNUM *n;
42
+ BIGNUM *e;
43
+ BIGNUM *d;
44
+ BIGNUM *p;
45
+ BIGNUM *q;
46
+ BIGNUM *dmp1;
47
+ BIGNUM *dmq1;
48
+ BIGNUM *iqmp;
49
+};
50
51
+#endif
52
53
#include <string.h>
54
55
static napi_value
0 commit comments