diff options
Diffstat (limited to 'src/daemon/https/tls/auth_cert.c')
-rw-r--r-- | src/daemon/https/tls/auth_cert.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/daemon/https/tls/auth_cert.c b/src/daemon/https/tls/auth_cert.c index ae6ef698..7f0369ca 100644 --- a/src/daemon/https/tls/auth_cert.c +++ b/src/daemon/https/tls/auth_cert.c | |||
@@ -870,7 +870,7 @@ mhd_gtls_proc_cert_cert_req (mhd_gtls_session_t session, opaque * data, | |||
870 | return GNUTLS_E_UNKNOWN_PK_ALGORITHM; | 870 | return GNUTLS_E_UNKNOWN_PK_ALGORITHM; |
871 | } | 871 | } |
872 | 872 | ||
873 | if (ver == MHD_GNUTLS_TLS1_2) | 873 | if (ver == MHD_GNUTLS_PROTOCOL_TLS1_2) |
874 | { | 874 | { |
875 | /* read supported hashes */ | 875 | /* read supported hashes */ |
876 | int hash_num; | 876 | int hash_num; |
@@ -1039,7 +1039,7 @@ mhd_gtls_gen_cert_server_cert_req (mhd_gtls_session_t session, opaque ** data) | |||
1039 | session->internals.ignore_rdn_sequence == 0) | 1039 | session->internals.ignore_rdn_sequence == 0) |
1040 | size += cred->x509_rdn_sequence.size; | 1040 | size += cred->x509_rdn_sequence.size; |
1041 | 1041 | ||
1042 | if (ver == MHD_GNUTLS_TLS1_2) | 1042 | if (ver == MHD_GNUTLS_PROTOCOL_TLS1_2) |
1043 | /* Need at least one byte to announce the number of supported hash | 1043 | /* Need at least one byte to announce the number of supported hash |
1044 | functions (see below). */ | 1044 | functions (see below). */ |
1045 | size += 1; | 1045 | size += 1; |
@@ -1059,7 +1059,7 @@ mhd_gtls_gen_cert_server_cert_req (mhd_gtls_session_t session, opaque ** data) | |||
1059 | pdata[2] = DSA_SIGN; /* only these for now */ | 1059 | pdata[2] = DSA_SIGN; /* only these for now */ |
1060 | pdata += CERTTYPE_SIZE; | 1060 | pdata += CERTTYPE_SIZE; |
1061 | 1061 | ||
1062 | if (ver == MHD_GNUTLS_TLS1_2) | 1062 | if (ver == MHD_GNUTLS_PROTOCOL_TLS1_2) |
1063 | { | 1063 | { |
1064 | /* Supported hashes (nothing for now -- FIXME). */ | 1064 | /* Supported hashes (nothing for now -- FIXME). */ |
1065 | *pdata = 0; | 1065 | *pdata = 0; |