From c35b47228f5494f4d806e9166628110af6dd2469 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 20 May 2026 23:04:11 +0200 Subject: Add (so far untested and undocument) support for pepper MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- librecrypt_context_get_user_data.c | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 librecrypt_context_get_user_data.c (limited to 'librecrypt_context_get_user_data.c') diff --git a/librecrypt_context_get_user_data.c b/librecrypt_context_get_user_data.c new file mode 100644 index 0000000..b49b42d --- /dev/null +++ b/librecrypt_context_get_user_data.c @@ -0,0 +1,29 @@ +/* See LICENSE file for copyright and license details. */ +#include "common.h" +#ifndef TEST + + +void * +librecrypt_context_get_user_data(LIBRECRYPT_CONTEXT *ctx) +{ + return ctx->user_data; +} + + +#else + + +int +main(void) +{ + SET_UP_ALARM(); + INIT_RESOURCE_TEST(); + + /* TODO test */ + + STOP_RESOURCE_TEST(); + return 0; +} + + +#endif -- cgit v1.2.3-70-g09d2