From 51dc41463134a07a5768fcd46243f97f8da077bb Mon Sep 17 00:00:00 2001 From: Marvin W Date: Sat, 5 Feb 2022 23:55:18 +0100 Subject: Use uppercase hex for DTLS fingerprints --- plugins/ice/src/dtls_srtp.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/ice/src/dtls_srtp.vala b/plugins/ice/src/dtls_srtp.vala index c5b2eb75..81ebfcbc 100644 --- a/plugins/ice/src/dtls_srtp.vala +++ b/plugins/ice/src/dtls_srtp.vala @@ -338,7 +338,7 @@ private uint8[] get_fingerprint(X509.Certificate certificate, DigestAlgorithm di private string format_fingerprint(uint8[] fingerprint) { var sb = new StringBuilder(); for (int i = 0; i < fingerprint.length; i++) { - sb.append("%02x".printf(fingerprint[i])); + sb.append("%02X".printf(fingerprint[i])); if (i < fingerprint.length - 1) { sb.append(":"); } -- cgit v1.2.3-70-g09d2