aboutsummaryrefslogtreecommitdiffstats
path: root/librecrypt_get_user_data.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--librecrypt_get_user_data.c (renamed from librecrypt_context_get_user_data.c)11
1 files changed, 3 insertions, 8 deletions
diff --git a/librecrypt_context_get_user_data.c b/librecrypt_get_user_data.c
index b49b42d..978794b 100644
--- a/librecrypt_context_get_user_data.c
+++ b/librecrypt_get_user_data.c
@@ -4,7 +4,7 @@
void *
-librecrypt_context_get_user_data(LIBRECRYPT_CONTEXT *ctx)
+librecrypt_get_user_data(const LIBRECRYPT_CONTEXT *ctx)
{
return ctx->user_data;
}
@@ -13,15 +13,10 @@ librecrypt_context_get_user_data(LIBRECRYPT_CONTEXT *ctx)
#else
-int
+CONST int
main(void)
{
- SET_UP_ALARM();
- INIT_RESOURCE_TEST();
-
- /* TODO test */
-
- STOP_RESOURCE_TEST();
+ /* Tested in librecrypt_set_user_data.c */
return 0;
}