Commit e3cc8136 authored by Guillaume Roguez's avatar Guillaume Roguez

contrib/gnutls: fix -Wformat-security build error

Refs #72274
(cherry picked from commit fbf9f5e2)
Change-Id: Ib97d53f0134697a9c83b64c96c5dd2deb79bdf30
parent 2f5f42f1
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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment