Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tag: 0.3
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (17 sloc) 0.474 kB
/*
* shctx.h
*
* Copyright (C) 2011 EXCELIANCE
*
* Author: Emeric Brun - emeric@exceliance.fr
*
*/
#ifndef SHCTX_H
#define SHCTX_H
#include <openssl/ssl.h>
/* Init shared memory context if not allocated and set SSL context callbacks
* size is the max number of stored session
* Returns: -1 on alloc failure, size if performs context alloc, and 0 if just
* perform callbacks registration */
int shared_context_init(SSL_CTX *ctx, int size);
#endif /* SHCTX_H */
Jump to Line
Something went wrong with that request. Please try again.