X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=include%2Fopenssl%2Fcomperr.h;h=6fb872a4f80cd7279691b48e5dcc678f56cb3da0;hp=edea63a6809321f2b388c859cd35b2a2e1a308c7;hb=ae4186b00487762f581b2276ba83e5214e0e7ee1;hpb=fe1128dc2a6e7aae9010cf6595c78245e0eefd46 diff --git a/include/openssl/comperr.h b/include/openssl/comperr.h index edea63a680..6fb872a4f8 100644 --- a/include/openssl/comperr.h +++ b/include/openssl/comperr.h @@ -1,15 +1,19 @@ /* * Generated by util/mkerr.pl DO NOT EDIT - * Copyright 1995-2018 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 */ -#ifndef HEADER_COMPERR_H -# define HEADER_COMPERR_H +#ifndef OPENSSL_COMPERR_H +# define OPENSSL_COMPERR_H + +# include +# include + # include @@ -23,11 +27,13 @@ int ERR_load_COMP_strings(void); /* * COMP function codes. */ -# define COMP_F_BIO_ZLIB_FLUSH 99 -# define COMP_F_BIO_ZLIB_NEW 100 -# define COMP_F_BIO_ZLIB_READ 101 -# define COMP_F_BIO_ZLIB_WRITE 102 -# define COMP_F_COMP_CTX_NEW 103 +# if !OPENSSL_API_3 +# define COMP_F_BIO_ZLIB_FLUSH 0 +# define COMP_F_BIO_ZLIB_NEW 0 +# define COMP_F_BIO_ZLIB_READ 0 +# define COMP_F_BIO_ZLIB_WRITE 0 +# define COMP_F_COMP_CTX_NEW 0 +# endif /* * COMP reason codes.