File: glibc-2.43.patch

package info (click to toggle)
libtpms 0.10.2-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 13,208 kB
  • sloc: ansic: 120,341; makefile: 829; sh: 336; cpp: 125
file content (15 lines) | stat: -rw-r--r-- 588 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Author: Stefan Berger <stefanb@linux.ibm.com>
Origin: https://github.com/stefanberger/libtpms/commit/fc8820cfaa8b5e17328f731df93911f6ab92443b
Forwarded: https://github.com/stefanberger/libtpms/pull/545
Description: fix a compilation error in TPMLIB_GetPlaintext
--- a/src/tpm_library.c
+++ b/src/tpm_library.c
@@ -435,7 +435,7 @@
                                           const char *endtag,
                                           size_t *length)
 {
-    char *start, *end;
+    const char *start, *end;
     unsigned char *plaintext = NULL;
 
     start = strstr(stream, starttag);