projects
/
bcm963xx.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
and added files
[bcm963xx.git]
/
userapps
/
opensource
/
openssl
/
crypto
/
bn
/
bn_lib.c
diff --git
a/userapps/opensource/openssl/crypto/bn/bn_lib.c
b/userapps/opensource/openssl/crypto/bn/bn_lib.c
index
fa0ff48
..
e166045
100755
(executable)
--- a/
userapps/opensource/openssl/crypto/bn/bn_lib.c
+++ b/
userapps/opensource/openssl/crypto/bn/bn_lib.c
@@
-145,11
+145,11
@@
char *BN_options(void)
{
init++;
#ifdef BN_LLONG
{
init++;
#ifdef BN_LLONG
-
sprintf(data,"bn(%d,%d)",(int)sizeof(BN_ULLONG)*8
,
- (int)sizeof(BN_ULONG)*8);
+
BIO_snprintf(data,sizeof data,"bn(%d,%d)"
,
+
(int)sizeof(BN_ULLONG)*8,
(int)sizeof(BN_ULONG)*8);
#else
#else
-
sprintf(data,"bn(%d,%d)",(int)sizeof(BN_ULONG)*8
,
- (int)sizeof(BN_ULONG)*8);
+
BIO_snprintf(data,sizeof data,"bn(%d,%d)"
,
+
(int)sizeof(BN_ULONG)*8,
(int)sizeof(BN_ULONG)*8);
#endif
}
return(data);
#endif
}
return(data);