summaryrefslogtreecommitdiffstats
path: root/lib/libcrypto/ecdsa/ecs_err.c
diff options
context:
space:
mode:
authorbeck <beck@openbsd.org>2017-01-29 17:49:22 +0000
committerbeck <beck@openbsd.org>2017-01-29 17:49:22 +0000
commit5067ae9f807f8af9e6350e51e6a54619386c06ba (patch)
treef2455d670f0ea5c04a6e9cbdf4d8ef0d4ff40c47 /lib/libcrypto/ecdsa/ecs_err.c
parentEnsure the build user can write to the GLOBAL_AUTOCONF_CACHE file by (diff)
downloadwireguard-openbsd-5067ae9f807f8af9e6350e51e6a54619386c06ba.tar.xz
wireguard-openbsd-5067ae9f807f8af9e6350e51e6a54619386c06ba.zip
Send the function codes from the error functions to the bit bucket,
as was done earlier in libssl. Thanks inoguchi@ for noticing libssl had more reacharounds into this. ok jsing@ inoguchi@
Diffstat (limited to 'lib/libcrypto/ecdsa/ecs_err.c')
-rw-r--r--lib/libcrypto/ecdsa/ecs_err.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/libcrypto/ecdsa/ecs_err.c b/lib/libcrypto/ecdsa/ecs_err.c
index 26efc135e34..9c5a546746f 100644
--- a/lib/libcrypto/ecdsa/ecs_err.c
+++ b/lib/libcrypto/ecdsa/ecs_err.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ecs_err.c,v 1.4 2015/02/08 13:35:07 jsing Exp $ */
+/* $OpenBSD: ecs_err.c,v 1.5 2017/01/29 17:49:23 beck Exp $ */
/* ====================================================================
* Copyright (c) 1999-2011 The OpenSSL Project. All rights reserved.
*
@@ -72,11 +72,7 @@
#define ERR_REASON(reason) ERR_PACK(ERR_LIB_ECDSA,0,reason)
static ERR_STRING_DATA ECDSA_str_functs[]= {
- {ERR_FUNC(ECDSA_F_ECDSA_CHECK), "ECDSA_CHECK"},
- {ERR_FUNC(ECDSA_F_ECDSA_DATA_NEW_METHOD), "ECDSA_DATA_NEW_METHOD"},
- {ERR_FUNC(ECDSA_F_ECDSA_DO_SIGN), "ECDSA_do_sign"},
- {ERR_FUNC(ECDSA_F_ECDSA_DO_VERIFY), "ECDSA_do_verify"},
- {ERR_FUNC(ECDSA_F_ECDSA_SIGN_SETUP), "ECDSA_sign_setup"},
+ {ERR_FUNC(0xfff), "CRYPTO_internal"},
{0, NULL}
};