diff --git a/include/seastar/net/tls.hh b/include/seastar/net/tls.hh index f85a4d950f2..f16b43f5027 100644 --- a/include/seastar/net/tls.hh +++ b/include/seastar/net/tls.hh @@ -517,6 +517,13 @@ namespace tls { extern const int ERROR_UNSAFE_RENEGOTIATION_DENIED; extern const int ERROR_UNKNOWN_SRP_USERNAME; extern const int ERROR_PREMATURE_TERMINATION; + extern const int ERROR_PUSH; + extern const int ERROR_PULL; + extern const int ERROR_UNEXPECTED_PACKET; + extern const int ERROR_UNSUPPORTED_VERSION; + extern const int ERROR_NO_CIPHER_SUITES; + extern const int ERROR_DECRYPTION_FAILED; + extern const int ERROR_MAC_VERIFY_FAILED; } } diff --git a/src/net/tls.cc b/src/net/tls.cc index beccf5573a0..a1da591c59a 100644 --- a/src/net/tls.cc +++ b/src/net/tls.cc @@ -2143,3 +2143,10 @@ const int seastar::tls::ERROR_SAFE_RENEGOTIATION_FAILED = GNUTLS_E_SAFE_RENEGOTI const int seastar::tls::ERROR_UNSAFE_RENEGOTIATION_DENIED = GNUTLS_E_UNSAFE_RENEGOTIATION_DENIED; const int seastar::tls::ERROR_UNKNOWN_SRP_USERNAME = GNUTLS_E_UNKNOWN_SRP_USERNAME; const int seastar::tls::ERROR_PREMATURE_TERMINATION = GNUTLS_E_PREMATURE_TERMINATION; +const int seastar::tls::ERROR_PUSH = GNUTLS_E_PUSH_ERROR; +const int seastar::tls::ERROR_PULL = GNUTLS_E_PULL_ERROR; +const int seastar::tls::ERROR_UNEXPECTED_PACKET = GNUTLS_E_UNEXPECTED_PACKET; +const int seastar::tls::ERROR_UNSUPPORTED_VERSION = GNUTLS_E_UNSUPPORTED_VERSION_PACKET; +const int seastar::tls::ERROR_NO_CIPHER_SUITES = GNUTLS_E_NO_CIPHER_SUITES; +const int seastar::tls::ERROR_DECRYPTION_FAILED = GNUTLS_E_DECRYPTION_FAILED; +const int seastar::tls::ERROR_MAC_VERIFY_FAILED = GNUTLS_E_MAC_VERIFY_FAILED;