123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- #if !defined(POLARSSL_CONFIG_FILE)
- #include "polarssl/config.h"
- #else
- #include POLARSSL_CONFIG_FILE
- #endif
- #if defined(POLARSSL_VERSION_C)
- #include "polarssl/version.h"
- #include <string.h>
- const char version[] = POLARSSL_VERSION_STRING;
- unsigned int version_get_number()
- {
- return( POLARSSL_VERSION_NUMBER );
- }
- void version_get_string( char *string )
- {
- memcpy( string, POLARSSL_VERSION_STRING,
- sizeof( POLARSSL_VERSION_STRING ) );
- }
- void version_get_string_full( char *string )
- {
- memcpy( string, POLARSSL_VERSION_STRING_FULL,
- sizeof( POLARSSL_VERSION_STRING_FULL ) );
- }
- #endif
|