summaryrefslogtreecommitdiff
path: root/sys/src/cmd/tlsclient.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2017-12-30 02:36:47 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2017-12-30 02:36:47 +0100
commit582d2e664f85819f56599c8b632a04b4bd4dddc7 (patch)
tree0a0f638b612ef58e66a0511610db881308f779fb /sys/src/cmd/tlsclient.c
parente3cad82680aaf115ff179637fa67f32ca606b6d1 (diff)
libsec: avoid unneccesary memory copies and redundant code in x509
getting rid of some functions that take Byte* and instead pass uchar* and length. keeping the signature and public key fields in CertX509 as Bits* allows ownership transfer by swapping pointers. use common code to copy CN from subject field.
Diffstat (limited to 'sys/src/cmd/tlsclient.c')
0 files changed, 0 insertions, 0 deletions