Skip to content

SMP causes crash #38

@atarasenko

Description

@atarasenko

Call to selector [OTRKit initiateSMPForUsername: accountName: protocol: question: secret:] causes a crash: 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: otrKit'

Test case is attached.
SMPTest.swift.txt

Reason: it looks like the third parameter passed to function otrl_message_initiate_smp_q must be not NULL, but [[OTROpData alloc] initWithOTRKit:self tag:nil].

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions