Closed FSMaxB closed 8 years ago
TODO:
conversation
header
master-keys
molch
packet
spiced-random
user-store
test/packet-test-lib
prekey-store
conversation-store
ratchet
key-derivation
diffie-hellman
endianness
header-and-message-keystore
test/common
buffer
??The ARMv7 failures are related to a problem in my build machine, it's fixed now.
This implements a datatype that can propagate errors and be used to return a status. Based on the idea of #7.
The idea is that every function returns a struct that contains the current status and optionally data via a data pointer and/or a stack of heap allocated error messages. This allows building a trace.
Helper macros are provided that work with the current concept of
goto cleanup;
andstatus
variables. Those arethrow
,on_error
andthrow_on_error
.