X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=include%2Fopenssl%2Fobjectserr.h;h=fac142b1e700f072aef4c9af9255bd97c4f629df;hp=a6051c838dd48c36b19470d51c46349084fa1caa;hb=35aca9eccbaf0abbd0d7f350e199a7c97274845a;hpb=52df25cf2e656146cb3b206d8220124f0417d03f diff --git a/include/openssl/objectserr.h b/include/openssl/objectserr.h index a6051c838d..fac142b1e7 100644 --- a/include/openssl/objectserr.h +++ b/include/openssl/objectserr.h @@ -1,8 +1,8 @@ /* * Generated by util/mkerr.pl DO NOT EDIT - * Copyright 1995-2017 The OpenSSL Project Authors. All Rights Reserved. + * Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved. * - * Licensed under the OpenSSL license (the "License"). You may not use + * Licensed under the Apache License 2.0 (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the source distribution or at * https://www.openssl.org/source/license.html @@ -11,24 +11,29 @@ #ifndef HEADER_OBJERR_H # define HEADER_OBJERR_H +# include +# include + + # ifdef __cplusplus -extern "C" { +extern "C" # endif int ERR_load_OBJ_strings(void); -# ifdef __cplusplus -} -# endif /* * OBJ function codes. */ -# define OBJ_F_OBJ_ADD_OBJECT 105 -# define OBJ_F_OBJ_CREATE 100 -# define OBJ_F_OBJ_DUP 101 -# define OBJ_F_OBJ_NAME_NEW_INDEX 106 -# define OBJ_F_OBJ_NID2LN 102 -# define OBJ_F_OBJ_NID2OBJ 103 -# define OBJ_F_OBJ_NID2SN 104 +# if !OPENSSL_API_3 +# define OBJ_F_OBJ_ADD_OBJECT 0 +# define OBJ_F_OBJ_ADD_SIGID 0 +# define OBJ_F_OBJ_CREATE 0 +# define OBJ_F_OBJ_DUP 0 +# define OBJ_F_OBJ_NAME_NEW_INDEX 0 +# define OBJ_F_OBJ_NID2LN 0 +# define OBJ_F_OBJ_NID2OBJ 0 +# define OBJ_F_OBJ_NID2SN 0 +# define OBJ_F_OBJ_TXT2OBJ 0 +# endif /* * OBJ reason codes.