Move pk_encrypt into pkglue.c.
authorNIIBE Yutaka <gniibe@fsij.org>
Wed, 18 Jan 2017 02:11:19 +0000 (11:11 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Wed, 18 Jan 2017 02:11:19 +0000 (11:11 +0900)
commit58ce55fefaf450c534622fea63d073dac8f218de
treec8f8eb3a166320d4e752d296f900e9319759ed32
parent86d3ccebd64da692ef03a95da015ca68b8c2e938
Move pk_encrypt into pkglue.c.

* src/x509.c (_ntbtls_x509_pk_encrypt): Renaming and move to...
* src/pkglue.c (_ntbtls_pk_encrypt): Here.  Use _ntbtls_x509_get_pk.
* src/protocol-cli.c (write_encrypted_pms): Follow the rename.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
src/ntbtls-int.h
src/pkglue.c
src/protocol-cli.c
src/x509.c