diff options
Diffstat (limited to 'src/lib/libcrypto/bn/bn_ctx.c')
-rw-r--r-- | src/lib/libcrypto/bn/bn_ctx.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/libcrypto/bn/bn_ctx.c b/src/lib/libcrypto/bn/bn_ctx.c index 357eda1783..129b9c9781 100644 --- a/src/lib/libcrypto/bn/bn_ctx.c +++ b/src/lib/libcrypto/bn/bn_ctx.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bn_ctx.c,v 1.21 2023/04/25 16:41:29 tb Exp $ */ | 1 | /* $OpenBSD: bn_ctx.c,v 1.22 2023/07/08 12:21:58 beck Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2023 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2023 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -70,6 +70,7 @@ BN_CTX_new(void) | |||
70 | { | 70 | { |
71 | return calloc(1, sizeof(struct bignum_ctx)); | 71 | return calloc(1, sizeof(struct bignum_ctx)); |
72 | } | 72 | } |
73 | LCRYPTO_ALIAS(BN_CTX_new); | ||
73 | 74 | ||
74 | void | 75 | void |
75 | BN_CTX_free(BN_CTX *bctx) | 76 | BN_CTX_free(BN_CTX *bctx) |
@@ -89,6 +90,7 @@ BN_CTX_free(BN_CTX *bctx) | |||
89 | 90 | ||
90 | freezero(bctx, sizeof(*bctx)); | 91 | freezero(bctx, sizeof(*bctx)); |
91 | } | 92 | } |
93 | LCRYPTO_ALIAS(BN_CTX_free); | ||
92 | 94 | ||
93 | void | 95 | void |
94 | BN_CTX_start(BN_CTX *bctx) | 96 | BN_CTX_start(BN_CTX *bctx) |
@@ -101,6 +103,7 @@ BN_CTX_start(BN_CTX *bctx) | |||
101 | return; | 103 | return; |
102 | } | 104 | } |
103 | } | 105 | } |
106 | LCRYPTO_ALIAS(BN_CTX_start); | ||
104 | 107 | ||
105 | BIGNUM * | 108 | BIGNUM * |
106 | BN_CTX_get(BN_CTX *bctx) | 109 | BN_CTX_get(BN_CTX *bctx) |
@@ -139,6 +142,7 @@ BN_CTX_get(BN_CTX *bctx) | |||
139 | 142 | ||
140 | return bn; | 143 | return bn; |
141 | } | 144 | } |
145 | LCRYPTO_ALIAS(BN_CTX_get); | ||
142 | 146 | ||
143 | void | 147 | void |
144 | BN_CTX_end(BN_CTX *bctx) | 148 | BN_CTX_end(BN_CTX *bctx) |
@@ -154,3 +158,4 @@ BN_CTX_end(BN_CTX *bctx) | |||
154 | 158 | ||
155 | bctx->group--; | 159 | bctx->group--; |
156 | } | 160 | } |
161 | LCRYPTO_ALIAS(BN_CTX_end); | ||