summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/evp/evp_digest.c18
1 files changed, 11 insertions, 7 deletions
diff --git a/src/lib/libcrypto/evp/evp_digest.c b/src/lib/libcrypto/evp/evp_digest.c
index 0f99cba268..166b045625 100644
--- a/src/lib/libcrypto/evp/evp_digest.c
+++ b/src/lib/libcrypto/evp/evp_digest.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: evp_digest.c,v 1.6 2023/12/29 07:14:02 tb Exp $ */ 1/* $OpenBSD: evp_digest.c,v 1.7 2023/12/29 07:22:47 tb 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 *
@@ -430,12 +430,6 @@ EVP_MD_CTX_set_pkey_ctx(EVP_MD_CTX *ctx, EVP_PKEY_CTX *pctx)
430} 430}
431 431
432int 432int
433EVP_MD_block_size(const EVP_MD *md)
434{
435 return md->block_size;
436}
437
438int
439EVP_MD_type(const EVP_MD *md) 433EVP_MD_type(const EVP_MD *md)
440{ 434{
441 return md->type; 435 return md->type;
@@ -463,6 +457,16 @@ EVP_MD_flags(const EVP_MD *md)
463 return md->flags; 457 return md->flags;
464} 458}
465 459
460int
461EVP_MD_block_size(const EVP_MD *md)
462{
463 return md->block_size;
464}
465
466/*
467 * XXX - remove everything below in the next bump.
468 */
469
466EVP_MD * 470EVP_MD *
467EVP_MD_meth_new(int md_type, int pkey_type) 471EVP_MD_meth_new(int md_type, int pkey_type)
468{ 472{