mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 00:02:14 -04:00
Summary: Release notes can be found at https://www.openssl.org/news/openssl-3.0-notes.html . Obtained from: https://www.openssl.org/source/openssl-3.0.8.tar.gz Differential Revision: https://reviews.freebsd.org/D38835 Test Plan: ``` $ git status On branch vendor/openssl-3.0 nothing to commit, working tree clean $ (cd ..; fetch http://www.openssl.org/source/openssl-${OSSLVER}.tar.gz http://www.openssl.org/source/openssl-${OSSLVER}.tar.gz.asc) openssl-3.0.8.tar.gz 14 MB 4507 kBps 04s openssl-3.0.8.tar.gz.asc 833 B 10 MBps 00s $ set | egrep '(XLIST|OSSLVER)=' OSSLVER=3.0.8 XLIST=FREEBSD-Xlist $ gpg --list-keys /home/ngie/.gnupg/pubring.kbx ----------------------------- pub rsa4096 2014-10-04 [SC] 7953AC1FBC3DC8B3B292393ED5E9E43F7DF9EE8C uid [ unknown] Richard Levitte <richard@levitte.org> uid [ unknown] Richard Levitte <levitte@lp.se> uid [ unknown] Richard Levitte <levitte@openssl.org> sub rsa4096 2014-10-04 [E] $ gpg --verify openssl-${OSSLVER}.tar.gz.asc openssl-${OSSLVER}.tar.gz gpg: Signature made Tue Feb 7 05:43:55 2023 PST gpg: using RSA key 7953AC1FBC3DC8B3B292393ED5E9E43F7DF9EE8C gpg: Good signature from "Richard Levitte <richard@levitte.org>" [unknown] gpg: aka "Richard Levitte <levitte@lp.se>" [unknown] gpg: aka "Richard Levitte <levitte@openssl.org>" [unknown] gpg: WARNING: This key is not certified with a trusted signature! gpg: There is no indication that the signature belongs to the owner. Primary key fingerprint: 7953 AC1F BC3D C8B3 B292 393E D5E9 E43F 7DF9 EE8C $ (cd vendor.checkout/; git status; find . -type f -or -type l | cut -c 3- | sort > ../old) On branch vendor/openssl-3.0 nothing to commit, working tree clean $ tar -x -X $XLIST -f ../openssl-${OSSLVER}.tar.gz -C .. $ rsync --exclude FREEBSD.* --delete -avzz ../openssl-${OSSLVER}/* . $ cat .git gitdir: /home/ngie/git/freebsd-src/.git/worktrees/vendor.checkout $ diff -arq ../openssl-3.0.8 . Only in .: .git Only in .: FREEBSD-Xlist Only in .: FREEBSD-upgrade $ git status FREEBSD* On branch vendor/openssl-3.0 nothing to commit, working tree clean $ ``` Reviewers: emaste, jkim Subscribers: imp, andrew, dab Differential Revision: https://reviews.freebsd.org/D38835
123 lines
6.5 KiB
C
123 lines
6.5 KiB
C
/*
|
|
* Generated by util/mkerr.pl DO NOT EDIT
|
|
* Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
|
|
*
|
|
* 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 OPENSSL_CMSERR_H
|
|
# define OPENSSL_CMSERR_H
|
|
# pragma once
|
|
|
|
# include <openssl/opensslconf.h>
|
|
# include <openssl/symhacks.h>
|
|
# include <openssl/cryptoerr_legacy.h>
|
|
|
|
|
|
# ifndef OPENSSL_NO_CMS
|
|
|
|
|
|
/*
|
|
* CMS reason codes.
|
|
*/
|
|
# define CMS_R_ADD_SIGNER_ERROR 99
|
|
# define CMS_R_ATTRIBUTE_ERROR 161
|
|
# define CMS_R_CERTIFICATE_ALREADY_PRESENT 175
|
|
# define CMS_R_CERTIFICATE_HAS_NO_KEYID 160
|
|
# define CMS_R_CERTIFICATE_VERIFY_ERROR 100
|
|
# define CMS_R_CIPHER_AEAD_SET_TAG_ERROR 184
|
|
# define CMS_R_CIPHER_GET_TAG 185
|
|
# define CMS_R_CIPHER_INITIALISATION_ERROR 101
|
|
# define CMS_R_CIPHER_PARAMETER_INITIALISATION_ERROR 102
|
|
# define CMS_R_CMS_DATAFINAL_ERROR 103
|
|
# define CMS_R_CMS_LIB 104
|
|
# define CMS_R_CONTENTIDENTIFIER_MISMATCH 170
|
|
# define CMS_R_CONTENT_NOT_FOUND 105
|
|
# define CMS_R_CONTENT_TYPE_MISMATCH 171
|
|
# define CMS_R_CONTENT_TYPE_NOT_COMPRESSED_DATA 106
|
|
# define CMS_R_CONTENT_TYPE_NOT_ENVELOPED_DATA 107
|
|
# define CMS_R_CONTENT_TYPE_NOT_SIGNED_DATA 108
|
|
# define CMS_R_CONTENT_VERIFY_ERROR 109
|
|
# define CMS_R_CTRL_ERROR 110
|
|
# define CMS_R_CTRL_FAILURE 111
|
|
# define CMS_R_DECODE_ERROR 187
|
|
# define CMS_R_DECRYPT_ERROR 112
|
|
# define CMS_R_ERROR_GETTING_PUBLIC_KEY 113
|
|
# define CMS_R_ERROR_READING_MESSAGEDIGEST_ATTRIBUTE 114
|
|
# define CMS_R_ERROR_SETTING_KEY 115
|
|
# define CMS_R_ERROR_SETTING_RECIPIENTINFO 116
|
|
# define CMS_R_ESS_SIGNING_CERTID_MISMATCH_ERROR 183
|
|
# define CMS_R_INVALID_ENCRYPTED_KEY_LENGTH 117
|
|
# define CMS_R_INVALID_KEY_ENCRYPTION_PARAMETER 176
|
|
# define CMS_R_INVALID_KEY_LENGTH 118
|
|
# define CMS_R_INVALID_LABEL 190
|
|
# define CMS_R_INVALID_OAEP_PARAMETERS 191
|
|
# define CMS_R_KDF_PARAMETER_ERROR 186
|
|
# define CMS_R_MD_BIO_INIT_ERROR 119
|
|
# define CMS_R_MESSAGEDIGEST_ATTRIBUTE_WRONG_LENGTH 120
|
|
# define CMS_R_MESSAGEDIGEST_WRONG_LENGTH 121
|
|
# define CMS_R_MSGSIGDIGEST_ERROR 172
|
|
# define CMS_R_MSGSIGDIGEST_VERIFICATION_FAILURE 162
|
|
# define CMS_R_MSGSIGDIGEST_WRONG_LENGTH 163
|
|
# define CMS_R_NEED_ONE_SIGNER 164
|
|
# define CMS_R_NOT_A_SIGNED_RECEIPT 165
|
|
# define CMS_R_NOT_ENCRYPTED_DATA 122
|
|
# define CMS_R_NOT_KEK 123
|
|
# define CMS_R_NOT_KEY_AGREEMENT 181
|
|
# define CMS_R_NOT_KEY_TRANSPORT 124
|
|
# define CMS_R_NOT_PWRI 177
|
|
# define CMS_R_NOT_SUPPORTED_FOR_THIS_KEY_TYPE 125
|
|
# define CMS_R_NO_CIPHER 126
|
|
# define CMS_R_NO_CONTENT 127
|
|
# define CMS_R_NO_CONTENT_TYPE 173
|
|
# define CMS_R_NO_DEFAULT_DIGEST 128
|
|
# define CMS_R_NO_DIGEST_SET 129
|
|
# define CMS_R_NO_KEY 130
|
|
# define CMS_R_NO_KEY_OR_CERT 174
|
|
# define CMS_R_NO_MATCHING_DIGEST 131
|
|
# define CMS_R_NO_MATCHING_RECIPIENT 132
|
|
# define CMS_R_NO_MATCHING_SIGNATURE 166
|
|
# define CMS_R_NO_MSGSIGDIGEST 167
|
|
# define CMS_R_NO_PASSWORD 178
|
|
# define CMS_R_NO_PRIVATE_KEY 133
|
|
# define CMS_R_NO_PUBLIC_KEY 134
|
|
# define CMS_R_NO_RECEIPT_REQUEST 168
|
|
# define CMS_R_NO_SIGNERS 135
|
|
# define CMS_R_PEER_KEY_ERROR 188
|
|
# define CMS_R_PRIVATE_KEY_DOES_NOT_MATCH_CERTIFICATE 136
|
|
# define CMS_R_RECEIPT_DECODE_ERROR 169
|
|
# define CMS_R_RECIPIENT_ERROR 137
|
|
# define CMS_R_SHARED_INFO_ERROR 189
|
|
# define CMS_R_SIGNER_CERTIFICATE_NOT_FOUND 138
|
|
# define CMS_R_SIGNFINAL_ERROR 139
|
|
# define CMS_R_SMIME_TEXT_ERROR 140
|
|
# define CMS_R_STORE_INIT_ERROR 141
|
|
# define CMS_R_TYPE_NOT_COMPRESSED_DATA 142
|
|
# define CMS_R_TYPE_NOT_DATA 143
|
|
# define CMS_R_TYPE_NOT_DIGESTED_DATA 144
|
|
# define CMS_R_TYPE_NOT_ENCRYPTED_DATA 145
|
|
# define CMS_R_TYPE_NOT_ENVELOPED_DATA 146
|
|
# define CMS_R_UNABLE_TO_FINALIZE_CONTEXT 147
|
|
# define CMS_R_UNKNOWN_CIPHER 148
|
|
# define CMS_R_UNKNOWN_DIGEST_ALGORITHM 149
|
|
# define CMS_R_UNKNOWN_ID 150
|
|
# define CMS_R_UNSUPPORTED_COMPRESSION_ALGORITHM 151
|
|
# define CMS_R_UNSUPPORTED_CONTENT_ENCRYPTION_ALGORITHM 194
|
|
# define CMS_R_UNSUPPORTED_CONTENT_TYPE 152
|
|
# define CMS_R_UNSUPPORTED_ENCRYPTION_TYPE 192
|
|
# define CMS_R_UNSUPPORTED_KEK_ALGORITHM 153
|
|
# define CMS_R_UNSUPPORTED_KEY_ENCRYPTION_ALGORITHM 179
|
|
# define CMS_R_UNSUPPORTED_LABEL_SOURCE 193
|
|
# define CMS_R_UNSUPPORTED_RECIPIENTINFO_TYPE 155
|
|
# define CMS_R_UNSUPPORTED_RECIPIENT_TYPE 154
|
|
# define CMS_R_UNSUPPORTED_TYPE 156
|
|
# define CMS_R_UNWRAP_ERROR 157
|
|
# define CMS_R_UNWRAP_FAILURE 180
|
|
# define CMS_R_VERIFICATION_FAILURE 158
|
|
# define CMS_R_WRAP_ERROR 159
|
|
|
|
# endif
|
|
#endif
|