[openssl-dev] [PATCH] Add missing semi colon in crypto/o_str.c
Masanari Iida
standby24x7 at gmail.com
Fri Feb 26 17:20:40 UTC 2016
Missing semi colon cause following error.
Wa,--noexecstack -fPIC -c -o o_str.o o_str.c
o_str.c: In function 'CRYPTO_strndup':
o_str.c:144:5: error: expected ';' before 'ret'
ret = CRYPTO_malloc(maxlen + 1, file, line);
^
make[1]: *** [o_str.o] Error 1
make[1]: Leaving directory `/home/iida/Repo/openssl/crypto'
make: *** [build_crypto] Error 1
Signed-off-by: Masanari Iida <standby24x7 at gmail.com>
---
crypto/o_str.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/crypto/o_str.c b/crypto/o_str.c
index b01128c..84005e6 100644
--- a/crypto/o_str.c
+++ b/crypto/o_str.c
@@ -139,7 +139,7 @@ char *CRYPTO_strndup(const char *str, size_t s, const char* file, int line)
if (str == NULL)
return NULL;
- maxlen = OPENSSL_strnlen(str, s)
+ maxlen = OPENSSL_strnlen(str, s);
ret = CRYPTO_malloc(maxlen + 1, file, line);
if (ret) {
--
2.7.2.333.g70bd996
More information about the openssl-dev
mailing list