Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Langley <agl@google.com>2014-10-10 03:26:09 +0400
committerAdam Langley <agl@google.com>2014-10-10 03:55:39 +0400
commit7ea848165b89577c6e9a1ef12a2cdff9d1beb71f (patch)
tree87c8d4a6273631ac467bb4793adb26f5b5ab68ac /include/openssl/engine.h
parentbc8d7378072cb5fb3e3e8354832d1e2c3d5e051c (diff)
Add generic OPERATION_NOT_SUPPORTED error code.
Implementations of ENGINEs often don't want to implement every function. This change adds an error code for those situations. Change-Id: Id6b7eace36d06ffad7f347f556d942d447d8a2fd Reviewed-on: https://boringssl-review.googlesource.com/1920 Reviewed-by: Wan-Teh Chang <wtc@chromium.org> Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'include/openssl/engine.h')
-rw-r--r--include/openssl/engine.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/openssl/engine.h b/include/openssl/engine.h
index 367e98ea..4a4f37de 100644
--- a/include/openssl/engine.h
+++ b/include/openssl/engine.h
@@ -100,4 +100,6 @@ struct openssl_method_common_st {
} /* extern C */
#endif
+#define ENGINE_R_OPERATION_NOT_SUPPORTED 100
+
#endif /* OPENSSL_HEADER_ENGINE_H */