diff options
Diffstat (limited to 'src/microhttpd/digestauth.c')
-rw-r--r-- | src/microhttpd/digestauth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/microhttpd/digestauth.c b/src/microhttpd/digestauth.c index 04676f53..4bab177a 100644 --- a/src/microhttpd/digestauth.c +++ b/src/microhttpd/digestauth.c | |||
@@ -791,7 +791,7 @@ MHD_queue_auth_fail_response (struct MHD_Connection *connection, | |||
791 | return MHD_NO; | 791 | return MHD_NO; |
792 | } | 792 | } |
793 | /* Building the authentication header */ | 793 | /* Building the authentication header */ |
794 | hlen = snprintf (NULL, | 794 | hlen = MHD_snprintf_(NULL, |
795 | 0, | 795 | 0, |
796 | "Digest realm=\"%s\",qop=\"auth\",nonce=\"%s\",opaque=\"%s\"%s", | 796 | "Digest realm=\"%s\",qop=\"auth\",nonce=\"%s\",opaque=\"%s\"%s", |
797 | realm, | 797 | realm, |
@@ -803,7 +803,7 @@ MHD_queue_auth_fail_response (struct MHD_Connection *connection, | |||
803 | { | 803 | { |
804 | char header[hlen + 1]; | 804 | char header[hlen + 1]; |
805 | 805 | ||
806 | snprintf (header, | 806 | MHD_snprintf_(header, |
807 | sizeof(header), | 807 | sizeof(header), |
808 | "Digest realm=\"%s\",qop=\"auth\",nonce=\"%s\",opaque=\"%s\"%s", | 808 | "Digest realm=\"%s\",qop=\"auth\",nonce=\"%s\",opaque=\"%s\"%s", |
809 | realm, | 809 | realm, |