diff --git a/crypto/asn1/a_sign.c b/crypto/asn1/a_sign.c index 57107241717fbd..460b0a64a45133 100644 --- a/crypto/asn1/a_sign.c +++ b/crypto/asn1/a_sign.c @@ -125,7 +125,7 @@ int ASN1_item_sign_ex(const ASN1_ITEM *it, X509_ALGOR *algor1, EVP_PKEY *pkey, const EVP_MD *md, OSSL_LIB_CTX *libctx, const char *propq) { - char name[80]; + char name[OSSL_MAX_NAME_SIZE]; int rv = 0; EVP_MD_CTX *ctx;