Home GnuPG

Use offsetof instead of null ptr calculation.

Description

Use offsetof instead of null ptr calculation.

* src/secmem.c (_gcry_secmem_realloc_internal): Use offsetof.
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Apr 19 2022, 6:07 AM
Parents
rC51754fa2ed06: cipher: Fix rsa key generation.
Branches
Unknown
Tags
Unknown