projects
/
umurmur.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
142aa5e
)
Add compile-time check for POLARSSL_VERSION_FEATURES before using version_get_string().
author
Martin Johansson
<martin@fatbob.nu>
Tue, 19 May 2015 16:49:31 +0000
(18:49 +0200)
committer
Martin Johansson
<martin@fatbob.nu>
Tue, 19 May 2015 16:49:31 +0000
(18:49 +0200)
src/ssli_polarssl.c
patch
|
blob
|
history
diff --git
a/src/ssli_polarssl.c
b/src/ssli_polarssl.c
index a36ccb6157aeb13a4d0624410abd932f79ae25e2..167637b9d71fed4ad83787bfba2622f5bd5d7c7f 100644
(file)
--- a/
src/ssli_polarssl.c
+++ b/
src/ssli_polarssl.c
@@
-225,8
+225,12
@@
void SSLi_init(void)
Log_fatal("Cannot open /dev/urandom");
#endif
+#ifdef POLARSSL_VERSION_FEATURES
version_get_string(verstring);
Log_info("PolarSSL library version %s initialized", verstring);
+#else
+ Log_info("PolarSSL library initialized");
+#endif
}
void SSLi_deinit(void)