Use BIO_snprintf() instead of snprintf().

Update hashes.
This commit is contained in:
Dr. Stephen Henson 2003-09-10 00:44:53 +00:00
parent 25c578f3ca
commit ad6eec30a3
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
SHA1(fips.c)= 91fb8b7ed124c09b76faffd934523e4eef93edf1
SHA1(fips.c)= e41f98ed7cd7dbd3c45b91db526dafb7ebc3550c
SHA1(fips_err_wrapper.c)= 527047304bfaa75f6ace20b4f7ac3afb6d89d480
SHA1(fips.h)= 58386539af75f8f622b041a43bf1880fee8642f7
SHA1(fips_err.h)= 8d9fd3ab3e6ca5297c5714e7f6cd9834e22b4cba

View file

@ -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)
{