diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libcrypto/cversion.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/lib/libcrypto/cversion.c b/src/lib/libcrypto/cversion.c index 8ecfba7b16..beeeb14013 100644 --- a/src/lib/libcrypto/cversion.c +++ b/src/lib/libcrypto/cversion.c | |||
| @@ -61,7 +61,9 @@ | |||
| 61 | #include "cryptlib.h" | 61 | #include "cryptlib.h" |
| 62 | #include <openssl/crypto.h> | 62 | #include <openssl/crypto.h> |
| 63 | 63 | ||
| 64 | #ifndef NO_WINDOWS_BRAINDEATH | ||
| 64 | #include "buildinf.h" | 65 | #include "buildinf.h" |
| 66 | #endif | ||
| 65 | 67 | ||
| 66 | const char *SSLeay_version(int t) | 68 | const char *SSLeay_version(int t) |
| 67 | { | 69 | { |
| @@ -72,7 +74,7 @@ const char *SSLeay_version(int t) | |||
| 72 | #ifdef DATE | 74 | #ifdef DATE |
| 73 | static char buf[sizeof(DATE)+11]; | 75 | static char buf[sizeof(DATE)+11]; |
| 74 | 76 | ||
| 75 | sprintf(buf,"built on: %s",DATE); | 77 | BIO_snprintf(buf,sizeof buf,"built on: %s",DATE); |
| 76 | return(buf); | 78 | return(buf); |
| 77 | #else | 79 | #else |
| 78 | return("built on: date not available"); | 80 | return("built on: date not available"); |
| @@ -83,7 +85,7 @@ const char *SSLeay_version(int t) | |||
| 83 | #ifdef CFLAGS | 85 | #ifdef CFLAGS |
| 84 | static char buf[sizeof(CFLAGS)+11]; | 86 | static char buf[sizeof(CFLAGS)+11]; |
| 85 | 87 | ||
| 86 | sprintf(buf,"compiler: %s",CFLAGS); | 88 | BIO_snprintf(buf,sizeof buf,"compiler: %s",CFLAGS); |
| 87 | return(buf); | 89 | return(buf); |
| 88 | #else | 90 | #else |
| 89 | return("compiler: information not available"); | 91 | return("compiler: information not available"); |
| @@ -94,7 +96,7 @@ const char *SSLeay_version(int t) | |||
| 94 | #ifdef PLATFORM | 96 | #ifdef PLATFORM |
| 95 | static char buf[sizeof(PLATFORM)+11]; | 97 | static char buf[sizeof(PLATFORM)+11]; |
| 96 | 98 | ||
| 97 | sprintf(buf,"platform: %s", PLATFORM); | 99 | BIO_snprintf(buf,sizeof buf,"platform: %s", PLATFORM); |
| 98 | return(buf); | 100 | return(buf); |
| 99 | #else | 101 | #else |
| 100 | return("platform: information not available"); | 102 | return("platform: information not available"); |
