fix error messages

This commit is contained in:
Gregory 2018-10-23 21:15:14 +03:00
parent 814dd940b0
commit 63f507949d
3 changed files with 3 additions and 3 deletions

View file

@ -28,7 +28,7 @@ void ft_ssl_md5_file(const char *filename, t_ft_ssl *ft_ssl)
(void)ft_ssl;
if ((fd = open(filename, O_RDONLY)) == -1)
{
perror("Error: ");
perror("ft_ssl: ");
exit(1);
}
ft_md5_init(&ctx);

View file

@ -28,7 +28,7 @@ void ft_ssl_sha224_file(const char *filename, t_ft_ssl *ft_ssl)
(void)ft_ssl;
if ((fd = open(filename, O_RDONLY)) == -1)
{
perror("./ft_ssl: ");
perror("ft_ssl: ");
exit(1);
}
ft_sha224_init(&ctx);

View file

@ -28,7 +28,7 @@ void ft_ssl_sha256_file(const char *filename, t_ft_ssl *ft_ssl)
(void)ft_ssl;
if ((fd = open(filename, O_RDONLY)) == -1)
{
perror("./ft_ssl: ");
perror("ft_ssl: ");
exit(1);
}
ft_sha256_init(&ctx);