diff options
author | Marvin W <git@larma.de> | 2019-09-16 23:47:38 +0200 |
---|---|---|
committer | Marvin W <git@larma.de> | 2019-09-16 23:57:48 +0200 |
commit | 9daf18f031058ae4c1f13edbf62624bc0345c96f (patch) | |
tree | 6dc4d43bc7c4a5681e3814aa95da2c9a24f3268c /xmpp-vala | |
parent | 392cb472abcdff9424197c8504175ee79c22dde5 (diff) | |
download | dino-9daf18f031058ae4c1f13edbf62624bc0345c96f.tar.gz dino-9daf18f031058ae4c1f13edbf62624bc0345c96f.zip |
Fix warnings and compilation with older valac
Diffstat (limited to 'xmpp-vala')
-rw-r--r-- | xmpp-vala/src/module/xep/0391_jingle_encrypted_transports.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmpp-vala/src/module/xep/0391_jingle_encrypted_transports.vala b/xmpp-vala/src/module/xep/0391_jingle_encrypted_transports.vala index e2b1326b..a6827bf3 100644 --- a/xmpp-vala/src/module/xep/0391_jingle_encrypted_transports.vala +++ b/xmpp-vala/src/module/xep/0391_jingle_encrypted_transports.vala @@ -39,7 +39,7 @@ public class Module : XmppStreamModule, SecurityPrecondition { string cipher = jet_options.cipher_uri; string type = jet_options.type_uri; if (!envelop_encodings.has_key(type) || !ciphers.has_key(cipher)) { - throw new IqError.NOT_IMPLEMENTED("JET cipher or type unknown"); + throw new Jingle.Error.UNSUPPORTED_SECURITY("JET cipher or type unknown"); } EnvelopEncoding encoding = envelop_encodings[type]; return new SecurityParameters(ciphers[cipher], encoding, ciphers[cipher].generate_random_secret(), jet_options); |