diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-06-19 07:06:04 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-06-19 07:06:04 +0000 |
commit | 8be025d256ee6bb72fd3f36daa2a1adc4b8011f1 (patch) | |
tree | 8bcecc1519fd74f4523392f1dc73acfcbac6a568 /lib/libdes | |
parent | 4899e471a6404f8c5bfc971f5f340a7dc190db51 (diff) |
kill sprintf
Diffstat (limited to 'lib/libdes')
-rw-r--r-- | lib/libdes/ecb_enc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libdes/ecb_enc.c b/lib/libdes/ecb_enc.c index 0d9e71b602e..93dad02ae68 100644 --- a/lib/libdes/ecb_enc.c +++ b/lib/libdes/ecb_enc.c @@ -96,7 +96,7 @@ char *des_options() size="int"; else size="long"; - sprintf(buf,"des(%s,%s,%s,%s)",ptr,risc,unroll,size); + snprintf(buf,sizeof buf,"des(%s,%s,%s,%s)",ptr,risc,unroll,size); } return(buf); } |