Use BIO_snprintf() instead of snprintf().
authorDr. Stephen Henson <steve@openssl.org>
Wed, 10 Sep 2003 00:44:53 +0000 (00:44 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 10 Sep 2003 00:44:53 +0000 (00:44 +0000)
Update hashes.

fips/fingerprint.sha1
fips/fips.c

index f5e87f7b08ee0c040f1062f60ea4d1004e5114a3..84374ff629c1ef36593130d2799235793de8f8c9 100644 (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
index da222b53e41f1902f11714b6c099f04fb01ba85d..980520e4087888913777b7058523ea6ce094639c 100644 (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)
        {