summaryrefslogtreecommitdiff
path: root/src/dh.c
diff options
context:
space:
mode:
authorAnderson Toshiyuki Sasaki <ansasaki@redhat.com>2019-10-03 18:49:59 +0200
committerAnderson Toshiyuki Sasaki <ansasaki@redhat.com>2019-10-07 11:41:30 +0200
commitfe18ef279881b65434e3e44fc4743e4b1c7cb891 (patch)
treeea099100544ad2be9c2cd948d33d4bf26c96b8ab /src/dh.c
parent689f1b0a6b8a40bf15917abed450b568c031285b (diff)
downloadlibssh-master.tar.gz
libssh-master.tar.xz
libssh-master.zip
pki_crypto: Use temporary pointer when using i2d_*HEADmaster
These functions modify the provided pointer by advancing to the end of if (point to the byte after the last written). This makes the pointer invalid, making necessary to use a temporary variable. Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'src/dh.c')
0 files changed, 0 insertions, 0 deletions