|
Line 0
Link Here
|
|
|
1 |
--- deps/neverbleed/neverbleed.c.orig 2019-12-27 07:57:52 UTC |
| 2 |
+++ deps/neverbleed/neverbleed.c |
| 3 |
@@ -632,7 +632,7 @@ static int sign_stub(struct expbuf_t *buf) |
| 4 |
|
| 5 |
#if !OPENSSL_1_1_API |
| 6 |
|
| 7 |
-static void RSA_get0_key(const RSA *rsa, const BIGNUM **n, const BIGNUM **e, const BIGNUM **d) |
| 8 |
+void RSA_get0_key(const RSA *rsa, const BIGNUM **n, const BIGNUM **e, const BIGNUM **d) |
| 9 |
{ |
| 10 |
if (n) { |
| 11 |
*n = rsa->n; |
| 12 |
@@ -647,7 +647,7 @@ static void RSA_get0_key(const RSA *rsa, const BIGNUM |
| 13 |
} |
| 14 |
} |
| 15 |
|
| 16 |
-static int RSA_set0_key(RSA *rsa, BIGNUM *n, BIGNUM *e, BIGNUM *d) |
| 17 |
+int RSA_set0_key(RSA *rsa, BIGNUM *n, BIGNUM *e, BIGNUM *d) |
| 18 |
{ |
| 19 |
if (n == NULL || e == NULL) { |
| 20 |
return 0; |
| 21 |
@@ -663,7 +663,7 @@ static int RSA_set0_key(RSA *rsa, BIGNUM *n, BIGNUM *e |
| 22 |
return 1; |
| 23 |
} |
| 24 |
|
| 25 |
-static void RSA_set_flags(RSA *r, int flags) |
| 26 |
+void RSA_set_flags(RSA *r, int flags) |
| 27 |
{ |
| 28 |
r->flags |= flags; |
| 29 |
} |