summaryrefslogtreecommitdiffstats
path: root/crypto/http
diff options
context:
space:
mode:
authorTomas Mraz <tomas@openssl.org>2021-04-21 08:11:04 +0200
committerTomas Mraz <tomas@openssl.org>2021-04-22 17:45:13 +0200
commitbf6aeeb481f97e2b7088f151546b9957eaaf44ef (patch)
tree77182a5400fb95cb3a6fded20033bb9849a334dd /crypto/http
parentb5644c2a09d6fd1f44321d2e16bea43729d73114 (diff)
http/http_lib.c: Include stdio.h for sscanf()
Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14953)
Diffstat (limited to 'crypto/http')
-rw-r--r--crypto/http/http_lib.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/http/http_lib.c b/crypto/http/http_lib.c
index f0fc770f22..a8697cca33 100644
--- a/crypto/http/http_lib.c
+++ b/crypto/http/http_lib.c
@@ -7,11 +7,12 @@
* https://www.openssl.org/source/license.html
*/
+#include <stdio.h> /* for sscanf() */
+#include <string.h>
#include <openssl/http.h>
#include <openssl/httperr.h>
#include <openssl/bio.h> /* for BIO_snprintf() */
#include <openssl/err.h>
-#include <string.h>
#include "internal/cryptlib.h" /* for ossl_assert() */
#include "http_local.h"