ENGINE-478 - documented inout src arg for encrypt_message
authorKrista Bennett <krista@pep-project.org>
Tue, 11 Dec 2018 13:57:48 +0100
changeset 3181f63edcd70676
parent 3179 fd1631f34213
child 3182 32e3b6f20291
ENGINE-478 - documented inout src arg for encrypt_message
src/message_api.h
     1.1 --- a/src/message_api.h	Tue Dec 11 13:44:17 2018 +0100
     1.2 +++ b/src/message_api.h	Tue Dec 11 13:57:48 2018 +0100
     1.3 @@ -52,7 +52,9 @@
     1.4  //
     1.5  //  parameters:
     1.6  //      session (in)        session handle
     1.7 -//      src (in)            message to encrypt
     1.8 +//      src (inout)         message to encrypt - usually in-only, but can be 
     1.9 +//                          in-out for unencrypted messages; in that case, 
    1.10 +//                          we may attach the key and decorate the message
    1.11  //      extra (in)          extra keys for encryption
    1.12  //      dst (out)           pointer to new encrypted message or NULL if no
    1.13  //                          encryption could take place