consistenly use snake case for wrapper symbols
This commit is contained in:
parent
d5c74f5ce2
commit
b65c4f4373
|
@ -150,10 +150,11 @@ proc handleMsg(ctx: QuicP2PContext, msg: string, peerAddr: ptr SockAddr,
|
||||||
proc initContext(sock: AsyncSocket, certChainPath: string, keyPath: string,
|
proc initContext(sock: AsyncSocket, certChainPath: string, keyPath: string,
|
||||||
streamOpenCb: typeof(quicly_stream_open_t.cb)):
|
streamOpenCb: typeof(quicly_stream_open_t.cb)):
|
||||||
QuicP2PContext =
|
QuicP2PContext =
|
||||||
var tlsCtx = ptls_context_t(randomBytes: ptlsOpensslRandomBytes,
|
|
||||||
getTime: addr ptlsGetTime,
|
var tlsCtx = ptls_context_t(randomBytes: ptls_openssl_random_bytes,
|
||||||
keyExchanges: ptlsOpensslKeyExchanges,
|
getTime: addr ptls_get_time,
|
||||||
cipherSuites: ptlsOpensslCipherSuites)
|
keyExchanges: ptls_openssl_key_exchanges,
|
||||||
|
cipherSuites: ptls_openssl_cipher_suites)
|
||||||
quicly_amend_ptls_context(addr tlsCtx)
|
quicly_amend_ptls_context(addr tlsCtx)
|
||||||
result = QuicP2PContext(sock: sock,
|
result = QuicP2PContext(sock: sock,
|
||||||
streamOpen: quicly_stream_open_t(cb: streamOpenCb),
|
streamOpen: quicly_stream_open_t(cb: streamOpenCb),
|
||||||
|
|
Loading…
Reference in New Issue