fix typo; add ptls_openssl_dispose_verify_certificate

This commit is contained in:
Christian Ulrich 2020-11-08 19:10:40 +01:00
parent c6a0127244
commit f7feb4283f
No known key found for this signature in database
GPG Key ID: 8241BE099775A097
1 changed files with 8 additions and 3 deletions

View File

@ -25,11 +25,16 @@ type
proc ptls_openssl_random_bytes*(buf: pointer, len: csize_t) {.importc, header: "picotls/openssl.h", cdecl.}
proc ptls_openssl_init_verifiy_certificate*(self: ptr ptls_openssl_verify_certificate_t,
store: PX509_STORE): cint {.importc, header: "picotls/openssl.h", cdecl.}
proc ptls_openssl_init_verify_certificate*(self: ptr ptls_openssl_verify_certificate_t,
store: PX509_STORE): cint
{.importc, header: "picotls/openssl.h", cdecl.}
proc ptls_openssl_dispose_verify_certificate*(self: ptr ptls_openssl_verify_certificate_t)
{.importc, header: "picotls/openssl.h", cdecl.}
proc ptls_openssl_init_sign_certificate*(self: ptr ptls_openssl_sign_certificate_t,
key: EVP_PKEY): cint {.importc, header: "picotls/openssl.h", cdecl.}
key: EVP_PKEY): cint
{.importc, header: "picotls/openssl.h", cdecl.}
var ptls_openssl_cipher_suites* {.importc, header: "picotls/openssl.h".}: ptr ptr ptls_cipher_suite_t