Skip to content
Snippets Groups Projects
Commit fbf9f5e2 authored by Guillaume Roguez's avatar Guillaume Roguez Committed by Gerrit Code Review
Browse files

contrib/gnutls: fix -Wformat-security build error

Refs #72274
Change-Id: Ib97d53f0134697a9c83b64c96c5dd2deb79bdf30
parent 4d0f52ae
No related branches found
No related tags found
No related merge requests found
diff -rU0 gnutls-old/lib/x509/output.c gnutls/lib/x509/output.c
--- gnutls-old/lib/x509/output.c
+++ gnutls/lib/x509/output.c
@@ -1140 +1140 @@
- addf(str, _("\t\tP: "));
+ adds(str, _("\t\tP: "));
@@ -1145 +1145 @@
- addf(str, _("\t\tQ: "));
+ adds(str, _("\t\tQ: "));
@@ -1150 +1150 @@
- addf(str, _("\t\tG: "));
+ adds(str, _("\t\tG: "));
diff -rU0 gnutls-old/lib/x509/ocsp_output.c gnutls/lib/x509/ocsp_output.c
--- gnutls-old/lib/x509/ocsp_output.c
+++ gnutls/lib/x509/ocsp_output.c
@@ -291 +291 @@
- addf(str, _("\tResponder Key ID: "));
+ adds(str, _("\tResponder Key ID: "));
......@@ -28,6 +28,7 @@ endif
$(APPLY) $(SRC)/gnutls/read-file-limits.h.patch
$(APPLY) $(SRC)/gnutls/downgrade-automake-requirement.patch
$(APPLY) $(SRC)/gnutls/mac-keychain-lookup.patch
$(APPLY) $(SRC)/gnutls/format-security.patch
$(call pkg_static,"lib/gnutls.pc.in")
$(UPDATE_AUTOCONFIG)
$(MOVE)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment