diff options
author | beck <> | 2023-07-08 15:29:04 +0000 |
---|---|---|
committer | beck <> | 2023-07-08 15:29:04 +0000 |
commit | fb3005d44347523e79c18cf8f224d6044f34af04 (patch) | |
tree | 858373c845c6ed391d9bfd53f8c02d9ae33c3430 /src/lib/libcrypto/dh/dh_key.c | |
parent | 11219faca0a481767f00bb6d2d523c4c847b6299 (diff) | |
download | openbsd-fb3005d44347523e79c18cf8f224d6044f34af04.tar.gz openbsd-fb3005d44347523e79c18cf8f224d6044f34af04.tar.bz2 openbsd-fb3005d44347523e79c18cf8f224d6044f34af04.zip |
Hide symbols in dh
ok tb@
Diffstat (limited to 'src/lib/libcrypto/dh/dh_key.c')
-rw-r--r-- | src/lib/libcrypto/dh/dh_key.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/libcrypto/dh/dh_key.c b/src/lib/libcrypto/dh/dh_key.c index 89ae5f0fdc..a4bd689483 100644 --- a/src/lib/libcrypto/dh/dh_key.c +++ b/src/lib/libcrypto/dh/dh_key.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: dh_key.c,v 1.38 2022/11/26 16:08:51 tb Exp $ */ | 1 | /* $OpenBSD: dh_key.c,v 1.39 2023/07/08 15:29:03 beck Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -77,12 +77,14 @@ DH_generate_key(DH *dh) | |||
77 | { | 77 | { |
78 | return dh->meth->generate_key(dh); | 78 | return dh->meth->generate_key(dh); |
79 | } | 79 | } |
80 | LCRYPTO_ALIAS(DH_generate_key); | ||
80 | 81 | ||
81 | int | 82 | int |
82 | DH_compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh) | 83 | DH_compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh) |
83 | { | 84 | { |
84 | return dh->meth->compute_key(key, pub_key, dh); | 85 | return dh->meth->compute_key(key, pub_key, dh); |
85 | } | 86 | } |
87 | LCRYPTO_ALIAS(DH_compute_key); | ||
86 | 88 | ||
87 | static DH_METHOD dh_ossl = { | 89 | static DH_METHOD dh_ossl = { |
88 | .name = "OpenSSL DH Method", | 90 | .name = "OpenSSL DH Method", |
@@ -98,6 +100,7 @@ DH_OpenSSL(void) | |||
98 | { | 100 | { |
99 | return &dh_ossl; | 101 | return &dh_ossl; |
100 | } | 102 | } |
103 | LCRYPTO_ALIAS(DH_OpenSSL); | ||
101 | 104 | ||
102 | static int | 105 | static int |
103 | generate_key(DH *dh) | 106 | generate_key(DH *dh) |