res_pjsip: Add 'dtls_fingerprint' option to configure DTLS fingerprint hash.
authorJoshua Colp <jcolp@digium.com>
Wed, 1 Oct 2014 16:39:45 +0000 (16:39 +0000)
committerJoshua Colp <jcolp@digium.com>
Wed, 1 Oct 2014 16:39:45 +0000 (16:39 +0000)
commitadba2a8d7fdd70dbe466b50385609a55017fc2b1
treed42d965447b25c956aac7b8d944adb0538efe47e
parent9233b1cf44e0ec8dcf0895ed8ee15534d8d4f3a7
res_pjsip: Add 'dtls_fingerprint' option to configure DTLS fingerprint hash.

During the latest update to DTLS-SRTP support the ability to configure
the hash used for fingerprints was added. This gave us two supported ones:
SHA-1 and SHA-256. The default was accordingly updated to SHA-256.
Unfortunately this configuration ability was not exposed within res_pjsip.
This change adds a dtls_fingerprint option that controls it.

#SIPit31
........

Merged revisions 424290 from http://svn.asterisk.org/svn/asterisk/branches/12
........

Merged revisions 424291 from http://svn.asterisk.org/svn/asterisk/branches/13

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@424292 65c4cc65-6c06-0410-ace0-fbb531ad65f3
configs/samples/pjsip.conf.sample
res/res_pjsip.c
res/res_pjsip/pjsip_configuration.c