diff options
| author | beck <> | 2023-07-07 19:37:54 +0000 |
|---|---|---|
| committer | beck <> | 2023-07-07 19:37:54 +0000 |
| commit | 1ca8095297adf80b48019b5a2d18010ff9e3427f (patch) | |
| tree | b1fe16b4625998f0f024f4d3eef5d59a3e905a9a /src/lib/libcrypto/evp/m_sha1.c | |
| parent | 66ac57d506be0af957abeb5a5a7334a8d2a36c9b (diff) | |
| download | openbsd-1ca8095297adf80b48019b5a2d18010ff9e3427f.tar.gz openbsd-1ca8095297adf80b48019b5a2d18010ff9e3427f.tar.bz2 openbsd-1ca8095297adf80b48019b5a2d18010ff9e3427f.zip | |
Unbreak the namespace build after a broken mk.conf and tool misfire had
me aliasing symbols not in the headers I was procesing.
This unbreaks the namespace build so it will pass again
ok tb@
Diffstat (limited to 'src/lib/libcrypto/evp/m_sha1.c')
| -rw-r--r-- | src/lib/libcrypto/evp/m_sha1.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/lib/libcrypto/evp/m_sha1.c b/src/lib/libcrypto/evp/m_sha1.c index 631e19549e..c65e0515c8 100644 --- a/src/lib/libcrypto/evp/m_sha1.c +++ b/src/lib/libcrypto/evp/m_sha1.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: m_sha1.c,v 1.24 2023/07/07 13:54:45 beck Exp $ */ | 1 | /* $OpenBSD: m_sha1.c,v 1.25 2023/07/07 19:37:53 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 | * |
| @@ -110,7 +110,6 @@ EVP_sha1(void) | |||
| 110 | { | 110 | { |
| 111 | return &sha1_md; | 111 | return &sha1_md; |
| 112 | } | 112 | } |
| 113 | LCRYPTO_ALIAS(EVP_sha1); | ||
| 114 | #endif | 113 | #endif |
| 115 | 114 | ||
| 116 | #ifndef OPENSSL_NO_SHA256 | 115 | #ifndef OPENSSL_NO_SHA256 |
| @@ -156,7 +155,6 @@ EVP_sha224(void) | |||
| 156 | { | 155 | { |
| 157 | return &sha224_md; | 156 | return &sha224_md; |
| 158 | } | 157 | } |
| 159 | LCRYPTO_ALIAS(EVP_sha224); | ||
| 160 | 158 | ||
| 161 | static int | 159 | static int |
| 162 | sha256_init(EVP_MD_CTX *ctx) | 160 | sha256_init(EVP_MD_CTX *ctx) |
| @@ -195,7 +193,6 @@ EVP_sha256(void) | |||
| 195 | { | 193 | { |
| 196 | return &sha256_md; | 194 | return &sha256_md; |
| 197 | } | 195 | } |
| 198 | LCRYPTO_ALIAS(EVP_sha256); | ||
| 199 | #endif /* ifndef OPENSSL_NO_SHA256 */ | 196 | #endif /* ifndef OPENSSL_NO_SHA256 */ |
| 200 | 197 | ||
| 201 | #ifndef OPENSSL_NO_SHA512 | 198 | #ifndef OPENSSL_NO_SHA512 |
| @@ -237,7 +234,6 @@ EVP_sha384(void) | |||
| 237 | { | 234 | { |
| 238 | return &sha384_md; | 235 | return &sha384_md; |
| 239 | } | 236 | } |
| 240 | LCRYPTO_ALIAS(EVP_sha384); | ||
| 241 | 237 | ||
| 242 | static int | 238 | static int |
| 243 | sha512_init(EVP_MD_CTX *ctx) | 239 | sha512_init(EVP_MD_CTX *ctx) |
| @@ -276,7 +272,6 @@ EVP_sha512(void) | |||
| 276 | { | 272 | { |
| 277 | return &sha512_md; | 273 | return &sha512_md; |
| 278 | } | 274 | } |
| 279 | LCRYPTO_ALIAS(EVP_sha512); | ||
| 280 | 275 | ||
| 281 | static int | 276 | static int |
| 282 | sha512_224_init(EVP_MD_CTX *ctx) | 277 | sha512_224_init(EVP_MD_CTX *ctx) |
| @@ -315,7 +310,6 @@ EVP_sha512_224(void) | |||
| 315 | { | 310 | { |
| 316 | return &sha512_224_md; | 311 | return &sha512_224_md; |
| 317 | } | 312 | } |
| 318 | LCRYPTO_ALIAS(EVP_sha512_224); | ||
| 319 | 313 | ||
| 320 | static int | 314 | static int |
| 321 | sha512_256_init(EVP_MD_CTX *ctx) | 315 | sha512_256_init(EVP_MD_CTX *ctx) |
| @@ -354,5 +348,4 @@ EVP_sha512_256(void) | |||
| 354 | { | 348 | { |
| 355 | return &sha512_256_md; | 349 | return &sha512_256_md; |
| 356 | } | 350 | } |
| 357 | LCRYPTO_ALIAS(EVP_sha512_256); | ||
| 358 | #endif /* ifndef OPENSSL_NO_SHA512 */ | 351 | #endif /* ifndef OPENSSL_NO_SHA512 */ |
