summaryrefslogtreecommitdiff
path: root/sys/src/cmd/python/Objects/bufferobject.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2016-04-16 23:36:55 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2016-04-16 23:36:55 +0200
commit54c49284e03e46f6e3a5d41bfc9fbc98c6f0b214 (patch)
tree0c19464029c2a8c60cc01304c5676224de4419e7 /sys/src/cmd/python/Objects/bufferobject.c
parent294e08fa1e2481a3b01b815c34f458999d2e782c (diff)
libsec: fix memory leak of RSApub, avoid parsing certificate twice to extract rsa public key
instead of letting factotum_rsa_open() parse the certificate, we pass in the rsa public key which is then matched against the factotum keyring. this avoids parsing the x509 certificate twice. the sec->rsapub was not freed, so free it in tlsSecClose()
Diffstat (limited to 'sys/src/cmd/python/Objects/bufferobject.c')
0 files changed, 0 insertions, 0 deletions