-/* $OpenBSD: err.c,v 1.48 2019/10/17 14:28:53 jsing Exp $ */
+/* $OpenBSD: err.c,v 1.49 2022/08/29 06:49:24 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
{ERR_R_PASSED_NULL_PARAMETER, "passed a null parameter"},
{ERR_R_INTERNAL_ERROR, "internal error"},
{ERR_R_DISABLED , "called a function that was disabled at compile-time"},
+ {ERR_R_INIT_FAIL, "initialization failure"},
{0, NULL},
};
-/* $OpenBSD: err.h,v 1.27 2022/05/05 08:48:05 tb Exp $ */
+/* $OpenBSD: err.h,v 1.28 2022/08/29 06:49:24 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
#define ERR_R_PASSED_NULL_PARAMETER (3|ERR_R_FATAL)
#define ERR_R_INTERNAL_ERROR (4|ERR_R_FATAL)
#define ERR_R_DISABLED (5|ERR_R_FATAL)
+#define ERR_R_INIT_FAIL (6|ERR_R_FATAL)
/* 99 is the maximum possible ERR_R_... code, higher values
* are reserved for the individual libraries */
-
typedef struct ERR_string_data_st {
unsigned long error;
const char *string;