summaryrefslogtreecommitdiff
path: root/fips/fips.c
diff options
context:
space:
mode:
Diffstat (limited to 'fips/fips.c')
-rw-r--r--fips/fips.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fips/fips.c b/fips/fips.c
index da222b53e..980520e40 100644
--- a/fips/fips.c
+++ b/fips/fips.c
@@ -94,7 +94,7 @@ static int FIPS_check_exe(const char *path)
} while(n > 0);
BIO_gets(md,mdbuf,EVP_MAX_MD_SIZE);
BIO_free_all(bio);
- snprintf(p2,sizeof p2,"%s.sha1",path);
+ BIO_snprintf(p2,sizeof p2,"%s.sha1",path);
bio=BIO_new_file(p2,"rb");
if(!bio || BIO_read(bio,buf,20) != 20)
{