summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortb <tb@openbsd.org>2019-03-18 05:34:29 +0000
committertb <tb@openbsd.org>2019-03-18 05:34:29 +0000
commitcb50be8bac81bbf77c5226a05a0e6e58f594a0b7 (patch)
tree756a1fe7da86b3e134e995204cfd70a0043111ba
parentsync (diff)
downloadwireguard-openbsd-cb50be8bac81bbf77c5226a05a0e6e58f594a0b7.tar.xz
wireguard-openbsd-cb50be8bac81bbf77c5226a05a0e6e58f594a0b7.zip
Expand the ERR_PACK() macro to ERR_REASON() for consistency.
No binary change.
-rw-r--r--lib/libcrypto/evp/evp_err.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcrypto/evp/evp_err.c b/lib/libcrypto/evp/evp_err.c
index 6bfb1c1dae9..89f980b7962 100644
--- a/lib/libcrypto/evp/evp_err.c
+++ b/lib/libcrypto/evp/evp_err.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: evp_err.c,v 1.24 2019/03/17 18:17:44 tb Exp $ */
+/* $OpenBSD: evp_err.c,v 1.25 2019/03/18 05:34:29 tb Exp $ */
/* ====================================================================
* Copyright (c) 1999-2011 The OpenSSL Project. All rights reserved.
*
@@ -100,7 +100,7 @@ static ERR_STRING_DATA EVP_str_reasons[] = {
{ERR_REASON(EVP_R_ERROR_LOADING_SECTION) , "error loading section"},
{ERR_REASON(EVP_R_ERROR_SETTING_FIPS_MODE), "error setting fips mode"},
{ERR_REASON(EVP_R_EVP_PBE_CIPHERINIT_ERROR), "evp pbe cipherinit error"},
- {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_EXPECTING_AN_HMAC_KEY), "expecting an hmac key"},
+ {ERR_REASON(EVP_R_EXPECTING_AN_HMAC_KEY), "expecting an hmac key"},
{ERR_REASON(EVP_R_EXPECTING_AN_RSA_KEY) , "expecting an rsa key"},
{ERR_REASON(EVP_R_EXPECTING_A_DH_KEY) , "expecting a dh key"},
{ERR_REASON(EVP_R_EXPECTING_A_DSA_KEY) , "expecting a dsa key"},