cterr.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /*
  2. * Generated by util/mkerr.pl DO NOT EDIT
  3. * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
  4. *
  5. * Licensed under the Apache License 2.0 (the "License"). You may not use
  6. * this file except in compliance with the License. You can obtain a copy
  7. * in the file LICENSE in the source distribution or at
  8. * https://www.openssl.org/source/license.html
  9. */
  10. #ifndef OPENSSL_CTERR_H
  11. # define OPENSSL_CTERR_H
  12. # pragma once
  13. # include <openssl/opensslconf.h>
  14. # include <openssl/symhacks.h>
  15. # include <openssl/cryptoerr_legacy.h>
  16. # ifndef OPENSSL_NO_CT
  17. /*
  18. * CT reason codes.
  19. */
  20. # define CT_R_BASE64_DECODE_ERROR 108
  21. # define CT_R_INVALID_LOG_ID_LENGTH 100
  22. # define CT_R_LOG_CONF_INVALID 109
  23. # define CT_R_LOG_CONF_INVALID_KEY 110
  24. # define CT_R_LOG_CONF_MISSING_DESCRIPTION 111
  25. # define CT_R_LOG_CONF_MISSING_KEY 112
  26. # define CT_R_LOG_KEY_INVALID 113
  27. # define CT_R_SCT_FUTURE_TIMESTAMP 116
  28. # define CT_R_SCT_INVALID 104
  29. # define CT_R_SCT_INVALID_SIGNATURE 107
  30. # define CT_R_SCT_LIST_INVALID 105
  31. # define CT_R_SCT_LOG_ID_MISMATCH 114
  32. # define CT_R_SCT_NOT_SET 106
  33. # define CT_R_SCT_UNSUPPORTED_VERSION 115
  34. # define CT_R_UNRECOGNIZED_SIGNATURE_NID 101
  35. # define CT_R_UNSUPPORTED_ENTRY_TYPE 102
  36. # define CT_R_UNSUPPORTED_VERSION 103
  37. # endif
  38. #endif