//go:build signal_legacy package libsignal /* #include #include */ import "C" // Vanilla libsignal-protocol-c has no OMEMO (protocol v4) wire format // support at all, so these always fail with ErrInvalidVersion - callers // (SessionCipher.Decrypt) should never reach here with useOmemoFraming set // under this build, since ProtocolV4Supported is false and the caller is // expected to check it first. func deserializeSignalMessageOmemo(ctx *Context, data *C.uint8_t, length C.size_t) (*C.signal_message, C.int) { return nil, C.int(ErrInvalidVersion) } func deserializePreKeySignalMessageOmemo(ctx *Context, data *C.uint8_t, length C.size_t, registrationID uint32) (*C.pre_key_signal_message, C.int) { return nil, C.int(ErrInvalidVersion) }