diff options
Diffstat (limited to 'src/daemon/https/tls/ext_cert_type.c')
-rw-r--r-- | src/daemon/https/tls/ext_cert_type.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/daemon/https/tls/ext_cert_type.c b/src/daemon/https/tls/ext_cert_type.c index 6f1c17bc..a1bec6a1 100644 --- a/src/daemon/https/tls/ext_cert_type.c +++ b/src/daemon/https/tls/ext_cert_type.c | |||
@@ -150,10 +150,10 @@ _gnutls_cert_type_send_params (gnutls_session_t session, opaque * data, | |||
150 | if (session->security_parameters.entity == GNUTLS_CLIENT) | 150 | if (session->security_parameters.entity == GNUTLS_CLIENT) |
151 | { | 151 | { |
152 | 152 | ||
153 | if (session->internals.priorities.cert_type.algorithms > 0) | 153 | if (session->internals.priorities.cert_type.num_algorithms > 0) |
154 | { | 154 | { |
155 | 155 | ||
156 | len = session->internals.priorities.cert_type.algorithms; | 156 | len = session->internals.priorities.cert_type.num_algorithms; |
157 | 157 | ||
158 | if (len == 1 && | 158 | if (len == 1 && |
159 | session->internals.priorities.cert_type.priority[0] == | 159 | session->internals.priorities.cert_type.priority[0] == |