summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuha Heinanen <jh@tutpro.com>2015-06-04 11:14:45 +0300
committerJuha Heinanen <jh@tutpro.com>2015-06-04 11:14:45 +0300
commitb3ae59adeaff703645afcc26f2d48d3aa7a77093 (patch)
tree605c4a960616ab00c511f7c3ba16043af3eb1c31
parent034ec8f47788ffeb7a6e869024e307ee1d71fdac (diff)
modules/dtls_srtp: fixed case of fingerprint sdp attribute value
-rw-r--r--modules/dtls_srtp/dtls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/dtls_srtp/dtls.c b/modules/dtls_srtp/dtls.c
index 6b517f2..1b78255 100644
--- a/modules/dtls_srtp/dtls.c
+++ b/modules/dtls_srtp/dtls.c
@@ -23,7 +23,7 @@ int dtls_print_sha1_fingerprint(struct re_printf *pf, const struct tls *tls)
return err;
for (i=0; i<sizeof(md); i++) {
- err |= re_hprintf(pf, "%s%02x", i==0 ? "" : ":", md[i]);
+ err |= re_hprintf(pf, "%s%02X", i==0 ? "" : ":", md[i]);
}
return err;
@@ -44,7 +44,7 @@ int dtls_print_sha256_fingerprint(struct re_printf *pf, const struct tls *tls)
return err;
for (i=0; i<sizeof(md); i++) {
- err |= re_hprintf(pf, "%s%02x", i==0 ? "" : ":", md[i]);
+ err |= re_hprintf(pf, "%s%02X", i==0 ? "" : ":", md[i]);
}
return err;