From ad6eec30a342b3fcaeb4caf6235949878228dd7f Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Wed, 10 Sep 2003 00:44:53 +0000 Subject: [PATCH] Use BIO_snprintf() instead of snprintf(). Update hashes. --- fips/fingerprint.sha1 | 2 +- fips/fips.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fips/fingerprint.sha1 b/fips/fingerprint.sha1 index f5e87f7b08..84374ff629 100644 --- a/fips/fingerprint.sha1 +++ b/fips/fingerprint.sha1 @@ -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 diff --git a/fips/fips.c b/fips/fips.c index da222b53e4..980520e408 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) { -- 2.25.1