fix typo; add ptls_openssl_dispose_verify_certificate
This commit is contained in:
parent
c6a0127244
commit
f7feb4283f
|
@ -25,11 +25,16 @@ type
|
||||||
|
|
||||||
proc ptls_openssl_random_bytes*(buf: pointer, len: csize_t) {.importc, header: "picotls/openssl.h", cdecl.}
|
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,
|
proc ptls_openssl_init_verify_certificate*(self: ptr ptls_openssl_verify_certificate_t,
|
||||||
store: PX509_STORE): cint {.importc, header: "picotls/openssl.h", cdecl.}
|
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,
|
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
|
var ptls_openssl_cipher_suites* {.importc, header: "picotls/openssl.h".}: ptr ptr ptls_cipher_suite_t
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue