dh: Add missing include for fprintf()

src/dh.c:824:5: warning: incompatible implicit declaration of built-in
function 'fprintf' [enabled by default]
     fprintf(stderr, "%s\n", fingerprint);
     ^

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
(cherry picked from commit 9941e89f30)
This commit is contained in:
Andreas Schneider
2022-11-23 10:01:49 +01:00
parent 2c03f3bd0b
commit 905049d1e1

View File

@@ -25,6 +25,8 @@
#include "config.h"
#include <stdio.h>
#include "libssh/priv.h"
#include "libssh/crypto.h"
#include "libssh/buffer.h"