summaryrefslogtreecommitdiffstats
path: root/gl/gl_openssl.h
diff options
context:
space:
mode:
Diffstat (limited to 'gl/gl_openssl.h')
-rw-r--r--gl/gl_openssl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gl/gl_openssl.h b/gl/gl_openssl.h
index dea70c1c..06fd8f66 100644
--- a/gl/gl_openssl.h
+++ b/gl/gl_openssl.h
@@ -1,6 +1,6 @@
1/* Wrap openssl crypto hash routines in gnulib interface. -*- coding: utf-8 -*- 1/* Wrap openssl crypto hash routines in gnulib interface. -*- coding: utf-8 -*-
2 2
3 Copyright (C) 2013-2025 Free Software Foundation, Inc. 3 Copyright (C) 2013-2026 Free Software Foundation, Inc.
4 4
5 This file is free software: you can redistribute it and/or modify 5 This file is free software: you can redistribute it and/or modify
6 it under the terms of the GNU Lesser General Public License as 6 it under the terms of the GNU Lesser General Public License as
@@ -103,7 +103,7 @@ GL_OPENSSL_INLINE void *
103GL_CRYPTO_FN (_read_ctx) (const struct _gl_ctx *ctx, void *restrict res) 103GL_CRYPTO_FN (_read_ctx) (const struct _gl_ctx *ctx, void *restrict res)
104{ 104{
105 /* Assume any unprocessed bytes in ctx are not to be ignored. */ 105 /* Assume any unprocessed bytes in ctx are not to be ignored. */
106 _gl_CTX tmp_ctx = *(_gl_CTX *) ctx; 106 _gl_CTX tmp_ctx = *(_gl_CTX const *) ctx;
107 OPENSSL_FN (_Final) ((unsigned char *) res, &tmp_ctx); 107 OPENSSL_FN (_Final) ((unsigned char *) res, &tmp_ctx);
108 return res; 108 return res;
109} 109}