diff options
| author | cinap_lenrek <cinap_lenrek@felloff.net> | 2016-04-16 23:36:55 +0200 |
|---|---|---|
| committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2016-04-16 23:36:55 +0200 |
| commit | 54c49284e03e46f6e3a5d41bfc9fbc98c6f0b214 (patch) | |
| tree | 0c19464029c2a8c60cc01304c5676224de4419e7 /lib/unicode | |
| parent | 294e08fa1e2481a3b01b815c34f458999d2e782c (diff) | |
| download | plan9front-54c49284e03e46f6e3a5d41bfc9fbc98c6f0b214.tar.xz | |
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 'lib/unicode')
0 files changed, 0 insertions, 0 deletions
