diff options
Diffstat (limited to 'src/lib/libcrypto/bn/bn_print.c')
-rw-r--r-- | src/lib/libcrypto/bn/bn_print.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/lib/libcrypto/bn/bn_print.c b/src/lib/libcrypto/bn/bn_print.c index bebb466d08..1743b6a7e2 100644 --- a/src/lib/libcrypto/bn/bn_print.c +++ b/src/lib/libcrypto/bn/bn_print.c | |||
@@ -357,3 +357,22 @@ end: | |||
357 | return(ret); | 357 | return(ret); |
358 | } | 358 | } |
359 | #endif | 359 | #endif |
360 | |||
361 | char *BN_options(void) | ||
362 | { | ||
363 | static int init=0; | ||
364 | static char data[16]; | ||
365 | |||
366 | if (!init) | ||
367 | { | ||
368 | init++; | ||
369 | #ifdef BN_LLONG | ||
370 | BIO_snprintf(data,sizeof data,"bn(%d,%d)", | ||
371 | (int)sizeof(BN_ULLONG)*8,(int)sizeof(BN_ULONG)*8); | ||
372 | #else | ||
373 | BIO_snprintf(data,sizeof data,"bn(%d,%d)", | ||
374 | (int)sizeof(BN_ULONG)*8,(int)sizeof(BN_ULONG)*8); | ||
375 | #endif | ||
376 | } | ||
377 | return(data); | ||
378 | } | ||