mirror of
https://dev.narayana.im/narayana/telegabber.git
synced 2026-08-05 04:07:07 +00:00
17 lines
631 B
Go
17 lines
631 B
Go
//go:build signal_legacy
|
|
|
|
package libsignal
|
|
|
|
/*
|
|
#cgo pkg-config: libsignal-protocol-c
|
|
*/
|
|
import "C"
|
|
|
|
// This file (selected by the "signal_legacy" build tag) links against the
|
|
// pre-fork libsignal-protocol-c instead of libomemo-c - e.g. on Debian
|
|
// bullseye, which packages the former (libsignal-protocol-c-dev) but not
|
|
// the latter (libomemo-c-dev only arrived in bookworm). Vanilla
|
|
// libsignal-protocol-c only ever produces/consumes protocol v3 (legacy/
|
|
// siacs OMEMO) messages; see capability_legacy.go, version_legacy.go,
|
|
// deserialize_legacy.go, and signedprekey_legacy.go for the resulting
|
|
// reduced-capability shims.
|