diff options
author | Martin Thomson <martin.thomson@gmail.com> | 2017-11-21 18:06:29 +1100 |
---|---|---|
committer | Martin Thomson <martin.thomson@gmail.com> | 2017-11-21 18:06:29 +1100 |
commit | fed3164a89512361b81a33a4ba1c57c21ab1c80e (patch) | |
tree | c38a19d59cc58e3e16cb8781c7cc43ed0b2da8a1 | |
parent | c1993ae759338f0ddb4c17a687f13f50181449b0 (diff) | |
download | nss-hg-fed3164a89512361b81a33a4ba1c57c21ab1c80e.tar.gz |
Bug 1415795 - Provide a macro to support removal of experimental APIs, r=franziskus
Summary: This is what I should have used when renaming.
Reviewers: franziskus, ekr
Reviewed By: ekr, franziskus
Bug #: 1415795
Differential Revision: https://phabricator.services.mozilla.com/D222
-rw-r--r-- | lib/ssl/sslexp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ssl/sslexp.h b/lib/ssl/sslexp.h index 688903e9a..bf9d5b5b6 100644 --- a/lib/ssl/sslexp.h +++ b/lib/ssl/sslexp.h @@ -21,6 +21,8 @@ SEC_BEGIN_PROTOS (SSL_GetExperimentalAPI(name) \ ? ((SECStatus(*) arglist)SSL_GetExperimentalAPI(name))args \ : SECFailure) +#define SSL_DEPRECATED_EXPERIMENTAL_API \ + (PR_SetError(SSL_ERROR_UNSUPPORTED_EXPERIMENTAL_API, 0), SECFailure) /* Make the TLS 1.3 handshake mimic TLS 1.2 session resumption. * This will either become part of the standard or be disabled |