diff options
Diffstat (limited to 'lib/libcrypto/bn')
-rw-r--r-- | lib/libcrypto/bn/bn_lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcrypto/bn/bn_lib.c b/lib/libcrypto/bn/bn_lib.c index 8abe095af28..ce2ae784195 100644 --- a/lib/libcrypto/bn/bn_lib.c +++ b/lib/libcrypto/bn/bn_lib.c @@ -145,10 +145,10 @@ char *BN_options(void) { init++; #ifdef BN_LLONG - sprintf(data,"bn(%d,%d)",(int)sizeof(BN_ULLONG)*8, + snprintf(data,sizeof data,"bn(%d,%d)",(int)sizeof(BN_ULLONG)*8, (int)sizeof(BN_ULONG)*8); #else - sprintf(data,"bn(%d,%d)",(int)sizeof(BN_ULONG)*8, + snprintf(data,sizeof data,"bn(%d,%d)",(int)sizeof(BN_ULONG)*8, (int)sizeof(BN_ULONG)*8); #endif } |