diff options
| author | ho <> | 2003-04-03 15:12:45 +0000 |
|---|---|---|
| committer | ho <> | 2003-04-03 15:12:45 +0000 |
| commit | 6bb2106b98eb0674d6726bb6917cea8c27ed9d81 (patch) | |
| tree | 88a75b48f8926e146a6634e21b828e7345486c8c /src/lib/libcrypto/rand/randfile.c | |
| parent | 030af986882598665482e3f4c559bdfd01f78eca (diff) | |
| download | openbsd-6bb2106b98eb0674d6726bb6917cea8c27ed9d81.tar.gz openbsd-6bb2106b98eb0674d6726bb6917cea8c27ed9d81.tar.bz2 openbsd-6bb2106b98eb0674d6726bb6917cea8c27ed9d81.zip | |
str{cat,cpy}/sprintf cleanup. markus@, deraadt@ ok
Diffstat (limited to 'src/lib/libcrypto/rand/randfile.c')
| -rw-r--r-- | src/lib/libcrypto/rand/randfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/libcrypto/rand/randfile.c b/src/lib/libcrypto/rand/randfile.c index 215c2616eb..311dd27a7b 100644 --- a/src/lib/libcrypto/rand/randfile.c +++ b/src/lib/libcrypto/rand/randfile.c | |||
| @@ -242,7 +242,7 @@ const char *RAND_file_name(char *buf, size_t size) | |||
| 242 | { | 242 | { |
| 243 | strlcpy(buf,s,size); | 243 | strlcpy(buf,s,size); |
| 244 | #ifndef OPENSSL_SYS_VMS | 244 | #ifndef OPENSSL_SYS_VMS |
| 245 | strcat(buf,"/"); | 245 | strlcat(buf,"/",size); |
| 246 | #endif | 246 | #endif |
| 247 | strlcat(buf,RFILE,size); | 247 | strlcat(buf,RFILE,size); |
| 248 | ok = 1; | 248 | ok = 1; |
