summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/evp/m_sha1.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/evp/m_sha1.c')
-rw-r--r--src/lib/libcrypto/evp/m_sha1.c9
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}
113LCRYPTO_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}
159LCRYPTO_ALIAS(EVP_sha224);
160 158
161static int 159static int
162sha256_init(EVP_MD_CTX *ctx) 160sha256_init(EVP_MD_CTX *ctx)
@@ -195,7 +193,6 @@ EVP_sha256(void)
195{ 193{
196 return &sha256_md; 194 return &sha256_md;
197} 195}
198LCRYPTO_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}
240LCRYPTO_ALIAS(EVP_sha384);
241 237
242static int 238static int
243sha512_init(EVP_MD_CTX *ctx) 239sha512_init(EVP_MD_CTX *ctx)
@@ -276,7 +272,6 @@ EVP_sha512(void)
276{ 272{
277 return &sha512_md; 273 return &sha512_md;
278} 274}
279LCRYPTO_ALIAS(EVP_sha512);
280 275
281static int 276static int
282sha512_224_init(EVP_MD_CTX *ctx) 277sha512_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}
318LCRYPTO_ALIAS(EVP_sha512_224);
319 313
320static int 314static int
321sha512_256_init(EVP_MD_CTX *ctx) 315sha512_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}
357LCRYPTO_ALIAS(EVP_sha512_256);
358#endif /* ifndef OPENSSL_NO_SHA512 */ 351#endif /* ifndef OPENSSL_NO_SHA512 */