From 533b9cb6fe0524c31a25d947f525c859b4c84ff9 Mon Sep 17 00:00:00 2001 From: jsing <> Date: Wed, 6 Aug 2014 01:54:01 +0000 Subject: Add support for loading the public/private key from memory, rather than directly from file. --- src/lib/libressl/ressl_internal.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/lib/libressl/ressl_internal.h') diff --git a/src/lib/libressl/ressl_internal.h b/src/lib/libressl/ressl_internal.h index b7158bce9a..3f667526ad 100644 --- a/src/lib/libressl/ressl_internal.h +++ b/src/lib/libressl/ressl_internal.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ressl_internal.h,v 1.8 2014/08/05 12:46:16 jsing Exp $ */ +/* $OpenBSD: ressl_internal.h,v 1.9 2014/08/06 01:54:01 jsing Exp $ */ /* * Copyright (c) 2014 Jeremie Courreges-Anglas * Copyright (c) 2014 Joel Sing @@ -29,8 +29,12 @@ struct ressl_config { const char *ca_file; const char *ca_path; const char *cert_file; + char *cert_mem; + size_t cert_len; const char *ciphers; const char *key_file; + char *key_mem; + size_t key_len; int verify; int verify_depth; }; -- cgit v1.2.3-55-g6feb