Home GnuPG
Diffusion GnuPG a966c2ce9080

gpg: Revamp structure of PKT_symkey_enc.

Description

gpg: Revamp structure of PKT_symkey_enc.

* g10/packet.h (PKT_symkey_enc): Allocate the session key so that we
have a fixed length for this struct.
* g10/free-packet.c (free_symkey_enc): Adjust for this change
* g10/parse-packet.c (parse_symkeyenc): Ditto.
* g10/encrypt.c (encrypt_simple, write_symkey_enc): Ditto.

Details

Provenance
wernerAuthored on Fri, Sep 26, 4:27 PM
Parents
rG344353fbdd80: gpg: Rename a struct and some variables for clarity.
Branches
Unknown
Tags
Unknown
References
HEAD -> master