Home | History | Annotate | Line # | Download | only in openssl
      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 
     11 #ifndef OPENSSL_ENGINEERR_H
     12 # define OPENSSL_ENGINEERR_H
     13 # pragma once
     14 
     15 # include <openssl/opensslconf.h>
     16 # include <openssl/symhacks.h>
     17 # include <openssl/cryptoerr_legacy.h>
     18 
     19 
     20 # ifndef OPENSSL_NO_ENGINE
     21 
     22 
     23 /*
     24  * ENGINE reason codes.
     25  */
     26 #  define ENGINE_R_ALREADY_LOADED                          100
     27 #  define ENGINE_R_ARGUMENT_IS_NOT_A_NUMBER                133
     28 #  define ENGINE_R_CMD_NOT_EXECUTABLE                      134
     29 #  define ENGINE_R_COMMAND_TAKES_INPUT                     135
     30 #  define ENGINE_R_COMMAND_TAKES_NO_INPUT                  136
     31 #  define ENGINE_R_CONFLICTING_ENGINE_ID                   103
     32 #  define ENGINE_R_CTRL_COMMAND_NOT_IMPLEMENTED            119
     33 #  define ENGINE_R_DSO_FAILURE                             104
     34 #  define ENGINE_R_DSO_NOT_FOUND                           132
     35 #  define ENGINE_R_ENGINES_SECTION_ERROR                   148
     36 #  define ENGINE_R_ENGINE_CONFIGURATION_ERROR              102
     37 #  define ENGINE_R_ENGINE_IS_NOT_IN_LIST                   105
     38 #  define ENGINE_R_ENGINE_SECTION_ERROR                    149
     39 #  define ENGINE_R_FAILED_LOADING_PRIVATE_KEY              128
     40 #  define ENGINE_R_FAILED_LOADING_PUBLIC_KEY               129
     41 #  define ENGINE_R_FINISH_FAILED                           106
     42 #  define ENGINE_R_ID_OR_NAME_MISSING                      108
     43 #  define ENGINE_R_INIT_FAILED                             109
     44 #  define ENGINE_R_INTERNAL_LIST_ERROR                     110
     45 #  define ENGINE_R_INVALID_ARGUMENT                        143
     46 #  define ENGINE_R_INVALID_CMD_NAME                        137
     47 #  define ENGINE_R_INVALID_CMD_NUMBER                      138
     48 #  define ENGINE_R_INVALID_INIT_VALUE                      151
     49 #  define ENGINE_R_INVALID_STRING                          150
     50 #  define ENGINE_R_NOT_INITIALISED                         117
     51 #  define ENGINE_R_NOT_LOADED                              112
     52 #  define ENGINE_R_NO_CONTROL_FUNCTION                     120
     53 #  define ENGINE_R_NO_INDEX                                144
     54 #  define ENGINE_R_NO_LOAD_FUNCTION                        125
     55 #  define ENGINE_R_NO_REFERENCE                            130
     56 #  define ENGINE_R_NO_SUCH_ENGINE                          116
     57 #  define ENGINE_R_UNIMPLEMENTED_CIPHER                    146
     58 #  define ENGINE_R_UNIMPLEMENTED_DIGEST                    147
     59 #  define ENGINE_R_UNIMPLEMENTED_PUBLIC_KEY_METHOD         101
     60 #  define ENGINE_R_VERSION_INCOMPATIBILITY                 145
     61 
     62 # endif
     63 #endif
     64