early-access version 2698
This commit is contained in:
11
externals/libressl/crypto/evp/m_md4.c
vendored
11
externals/libressl/crypto/evp/m_md4.c
vendored
@@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: m_md4.c,v 1.16 2015/09/14 01:45:03 doug Exp $ */
|
||||
/* $OpenBSD: m_md4.c,v 1.18 2022/01/14 08:38:05 tb Exp $ */
|
||||
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
|
||||
* All rights reserved.
|
||||
*
|
||||
@@ -71,6 +71,8 @@
|
||||
#include <openssl/rsa.h>
|
||||
#endif
|
||||
|
||||
#include "evp_locl.h"
|
||||
|
||||
static int
|
||||
init(EVP_MD_CTX *ctx)
|
||||
{
|
||||
@@ -99,13 +101,6 @@ static const EVP_MD md4_md = {
|
||||
.final = final,
|
||||
.copy = NULL,
|
||||
.cleanup = NULL,
|
||||
#ifndef OPENSSL_NO_RSA
|
||||
.sign = (evp_sign_method *)RSA_sign,
|
||||
.verify = (evp_verify_method *)RSA_verify,
|
||||
.required_pkey_type = {
|
||||
EVP_PKEY_RSA, EVP_PKEY_RSA2, 0, 0,
|
||||
},
|
||||
#endif
|
||||
.block_size = MD4_CBLOCK,
|
||||
.ctx_size = sizeof(EVP_MD *) + sizeof(MD4_CTX),
|
||||
};
|
||||
|
Reference in New Issue
Block a user