Mercurial > hg > freeDiameter
comparison libfdcore/cnxctx.c @ 1356:b68fb21c2f72
Avoid calling a deprecated gnutls function just for debug logging.
author | Thomas Klausner <tk@giga.or.at> |
---|---|
date | Sat, 18 May 2019 14:43:01 +0200 |
parents | 7800e6f1919f |
children | 89cbb08d3189 |
comparison
equal
deleted
inserted
replaced
1355:70b6067f4552 | 1356:b68fb21c2f72 |
---|---|
1543 /* print the certificate type of the peer. | 1543 /* print the certificate type of the peer. |
1544 * ie X.509 | 1544 * ie X.509 |
1545 */ | 1545 */ |
1546 tmp = gnutls_certificate_type_get_name (gnutls_certificate_type_get (session)); | 1546 tmp = gnutls_certificate_type_get_name (gnutls_certificate_type_get (session)); |
1547 LOG_D("\t - Certificate Type: %s", tmp); | 1547 LOG_D("\t - Certificate Type: %s", tmp); |
1548 | |
1549 /* print the compression algorithm (if any) | |
1550 */ | |
1551 tmp = gnutls_compression_get_name (gnutls_compression_get (session)); | |
1552 LOG_D("\t - Compression: %s", tmp); | |
1553 | 1548 |
1554 /* print the name of the cipher used. | 1549 /* print the name of the cipher used. |
1555 * ie 3DES. | 1550 * ie 3DES. |
1556 */ | 1551 */ |
1557 tmp = gnutls_cipher_get_name (gnutls_cipher_get (session)); | 1552 tmp = gnutls_cipher_get_name (gnutls_cipher_get (session)); |