diff options
author | Marvin W <git@larma.de> | 2022-02-05 23:55:18 +0100 |
---|---|---|
committer | Marvin W <git@larma.de> | 2022-02-06 00:19:26 +0100 |
commit | 51dc41463134a07a5768fcd46243f97f8da077bb (patch) | |
tree | 341581c13dc34eee7a2b2304b01471754f4b6c9a /plugins | |
parent | 460c520db7199561d143e35afd4fc60c90dd8629 (diff) | |
download | dino-51dc41463134a07a5768fcd46243f97f8da077bb.tar.gz dino-51dc41463134a07a5768fcd46243f97f8da077bb.zip |
Use uppercase hex for DTLS fingerprints
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/ice/src/dtls_srtp.vala | 2 |
1 files changed, 1 insertions, 1 deletions
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(":"); } |