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:
authorDavid Benjamin <davidben@google.com>2016-03-11 22:39:46 +0300
committerDavid Benjamin <davidben@google.com>2016-03-12 00:15:47 +0300
commitfb8e67889792e2a5914bcfdc590c250141645a74 (patch)
treee46f1ebb41865b21770b4436d6c27138dc8e4d95 /include/openssl/rsa.h
parent3f1904bee1f1a119e48b4827579955cc11733e39 (diff)
Match upstream's error codes for the old sigalg code.
People seem to condition on these a lot. Since this code has now been moved twice, just make them all cross-module errors rather than leave a trail of renamed error codes in our wake. Change-Id: Iea18ab3d320f03cf29a64a27acca119768c4115c Reviewed-on: https://boringssl-review.googlesource.com/7431 Reviewed-by: Emily Stark (Dunn) <estark@google.com> Reviewed-by: David Benjamin <davidben@google.com>
Diffstat (limited to 'include/openssl/rsa.h')
-rw-r--r--include/openssl/rsa.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/openssl/rsa.h b/include/openssl/rsa.h
index df75af07..dbbe6356 100644
--- a/include/openssl/rsa.h
+++ b/include/openssl/rsa.h
@@ -637,5 +637,8 @@ struct rsa_st {
#define RSA_R_BAD_ENCODING 143
#define RSA_R_ENCODE_ERROR 144
#define RSA_R_BAD_VERSION 145
+#define RSA_R_INVALID_PSS_PARAMETERS 146
+#define RSA_R_INVALID_SALT_LENGTH 147
+#define RSA_R_INVALID_TRAILER 148
#endif /* OPENSSL_HEADER_RSA_H */