Fix string.h, strings.h and stdio.h include in crypto backend.

String.h and stdbool.h are already included in main backend header,
no need to include them again.

Stdio.h is missing for OpenSSL and NSS backed (for sprintf).

Strings.h is missing for cipher_generic, gcrypt and OpoenSSL (strcasecmp).

Fixes: #885
This commit is contained in:
Milan Broz
2024-05-16 00:23:39 +02:00
parent bd8cfe1efb
commit 6859993ea7
8 changed files with 5 additions and 11 deletions

View File

@@ -19,10 +19,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdbool.h>
#include <errno.h>
#include <unistd.h>
#include <sys/socket.h>